Functions | |
void | get_notify (dword p_ev) |
void | srv_handler (dword ioctl) |
void | get_service (dword sz_name) |
void | reg_service_ex (dword name, dword handler, dword srvsize) |
void | get_proc (dword exp, dword sz_name) |
void | get_coff_sym (dword pSym, dword count, dword sz_sym) |
void | get_fileinfo (dword file_name, dword info) |
void | read_file (dword file_name, dword buffer, dword off, dword bytes) |
void | load_file (dword file_name) |
Allocate kernel memory and loads the specified file. More... | |
void | load_file_umode (dword file_name) |
void | get_proc_ex (dword proc_name, dword imports) |
void | fix_coff_symbols (dword sec, dword symbols, dword sym_count, dword strings, dword imports) |
void | fix_coff_relocs (dword coff, dword sym, dword delta) |
void | rebase_coff (dword coff, dword sym, dword delta) |
void | load_library (dword file_name, dword encoding) |
Variables | |
label | srv_handlerEx |
handle | restore |
label | reg_service |
label | reg_usb_driver |
label | stop_all_services |
used in shutdown system More... | |
dd | cmd |
dd | offset |
dd | count |
dd | buff |
dd | name |
dd | attr |
dd | flags |
dd | cr_time |
dd | cr_date |
dd | acc_time |
dd | acc_date |
dd | mod_time |
dd | mod_date |
dd | file_size |
dd | file |
dd | file2 |
dd | km_file |
dd | um_file |
MUTEX | unpack_mutex |
dd | retval |
dd | n_sec |
label | coff_get_align |
in: edx -> COFF_SECTION struct out: eax = alignment as mask for bits to drop More... | |
dd | fullname |
rb | fileinfo |
dd | coff |
dd | img_base |
label | init_dlls_in_thread |
initialize [APPDATA.dlls_list_ptr] for given thread DLL is per-process object, so APPDATA.dlls_list_ptr must be kept in sync for all threads of one process. out: eax = APPDATA.dlls_list_ptr if all is OK, NULL if memory allocation failed More... | |
label | dereference_dll |
in: eax = number of references to delete, esi -> DLLDESCR struc More... | |
label | destroy_hdll |
label | destroy_all_hdlls |
ecx -> APPDATA for slot, esi = dlls_list_ptr More... | |
label | create_kernel_object |
label | destroy_kernel_object |
label | create_object |
label | destroy_object |
void fix_coff_relocs | ( | dword | coff, |
dword | sym, | ||
dword | delta | ||
) |
void fix_coff_symbols | ( | dword | sec, |
dword | symbols, | ||
dword | sym_count, | ||
dword | strings, | ||
dword | imports | ||
) |
void get_coff_sym | ( | dword | pSym, |
dword | count, | ||
dword | sz_sym | ||
) |
void get_fileinfo | ( | dword | file_name, |
dword | info | ||
) |
void get_notify | ( | dword | p_ev | ) |
void get_proc | ( | dword | exp, |
dword | sz_name | ||
) |
void get_proc_ex | ( | dword | proc_name, |
dword | imports | ||
) |
void get_service | ( | dword | sz_name | ) |
void load_file | ( | dword | file_name | ) |
Allocate kernel memory and loads the specified file.
file_name | Path to file |
eax
and size of file in ebx
void load_file_umode | ( | dword | file_name | ) |
void load_library | ( | dword | file_name, |
dword | encoding | ||
) |
void read_file | ( | dword | file_name, |
dword | buffer, | ||
dword | off, | ||
dword | bytes | ||
) |
void rebase_coff | ( | dword | coff, |
dword | sym, | ||
dword | delta | ||
) |
void reg_service_ex | ( | dword | name, |
dword | handler, | ||
dword | srvsize | ||
) |
void srv_handler | ( | dword | ioctl | ) |
dd acc_date |
dd acc_time |
dd attr |
dd buff |
dd cmd |
dd coff |
label coff_get_align |
in: edx -> COFF_SECTION struct out: eax = alignment as mask for bits to drop
dd count |
dd cr_date |
dd cr_time |
label create_kernel_object |
label create_object |
label dereference_dll |
in: eax = number of references to delete, esi -> DLLDESCR struc
label destroy_all_hdlls |
ecx -> APPDATA for slot, esi = dlls_list_ptr
label destroy_hdll |
label destroy_kernel_object |
label destroy_object |
dd file |
dd file2 |
dd file_size |
rb fileinfo |
dd flags |
dd fullname |
dd img_base |
label init_dlls_in_thread |
initialize [APPDATA.dlls_list_ptr] for given thread DLL is per-process object, so APPDATA.dlls_list_ptr must be kept in sync for all threads of one process. out: eax = APPDATA.dlls_list_ptr if all is OK, NULL if memory allocation failed
dd km_file |
dd mod_date |
dd mod_time |
dd n_sec |
dd name |
dd offset |
label reg_service |
label reg_usb_driver |
_process restore |
dd retval |
label srv_handlerEx |
label stop_all_services |
used in shutdown system
dd um_file |
MUTEX unpack_mutex |