joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003bb30
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x10123738]
test eax, eax
jne 0x1003bc16
push ebx
push esi
push edi
mov edi, dword [sym.imp.MSVCR90.dll_getenv]
push str.USERPROFILE
call edi
mov esi, eax
add esp, 4
mov dword [0x10123738], esi
test esi, esi
jne 0x1003bbd9
push str.HOME
call edi
mov esi, eax
add esp, 4
mov dword [0x10123738], esi
test esi, esi
jne 0x1003bbd9
push str.HOMEDRIVE
call edi
push str.HOMEPATH
mov esi, eax
call edi
add esp, 8
mov edi, eax
test esi, esi
je 0x1003bbd4
test edi, edi
je 0x1003bbd4
mov ecx, edi
call fcn.10036860
mov ecx, esi
mov edx, eax
call fcn.10036860
lea ebx, [edx + eax + 1]
push ebx
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
mov dword [0x10123738], eax
test eax, eax
jne 0x1003bbba
pop edi
pop esi
pop ebx
ret
push edi
push esi
push 0x10103820
push eax
push ebx
call fcn.10041580
mov eax, dword [0x10123738]
add esp, 0x14
pop edi
pop esi
pop ebx
ret
mov esi, 0x10104fa8
cmp byte [esi], 0
mov eax, esi
je 0x1003bbe6
inc eax
cmp byte [eax], 0
jne 0x1003bbe0
sub eax, esi
and eax, 0x3fffffff
inc eax
mov ebx, eax
push ebx
call dword [sym.imp.MSVCR90.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x1003bc0b
push ebx
push esi
push edi
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov dword [0x10123738], edi
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x1003bce0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x10123400]
push esi
mov esi, dword [sym.imp.MSVCR90.dll___iob_func]
push edi
push eax
push str.Usage:__s__OPTIONS__FILENAME__SQL__nFILENAME_is_the_name_of_an_SQLite_database._A_new_database_is_created_nif_the_file_does_not_previously_exist._n
call esi
mov edi, dword [sym.imp.MSVCR90.dll_fprintf]
add eax, 0x40
push eax
call edi
add esp, 0xc
push str.____bail________________stop_after_hitting_an_error_n____batch_______________force_batch_I_O_n____column______________set_output_mode_to_column_n____cmd_COMMAND_________run__COMMAND__before_reading_stdin_n____csv_________________set_output_mode_to_csv_n____echo________________print_commands_before_execution_n____init_FILENAME_______read_process_named_file_n_____no_header__________turn_headers_on_or_off_n____help________________show_this_message_n____html________________set_output_mode_to_HTML_n____interactive_________force_interactive_I_O_n____line________________set_output_mode_to_line_n____list________________set_output_mode_to_list_n____mmap_N______________default_mmap_size_set_to_N_n____nullvalue_TEXT______set_text_string_for_NULL_values._Default__n____separator_SEP_______set_output_field_separator._Default:__n____stats_______________print_memory_stats_before_each_finalize_n____version_____________show_SQLite_version_n____vfs_NAME____________use_NAME_as_the_default_VFS_n
push str.OPTIONS_include:_n_s
call esi
add eax, 0x40
push eax
call edi
add esp, 0xc
push 1
call dword [sym.imp.MSVCR90.dll_exit]
pop edi
pop esi
int3
Function at 0x1003bda0
Capabilities:
Terminate process

Disassembly:
mov edx, dword [eax + ecx*4 - 4]
mov eax, dword [eax]
push edx
push eax
push str._s:_Error:_missing_argument_to__s_n
call dword [sym.imp.MSVCR90.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
add esp, 0x10
push 1
call dword [sym.imp.MSVCR90.dll_exit]
int3

Function at 0x100430e0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test ecx, ecx
jle 0x1004310d
push esi
push edi
jmp 0x100430f0
movzx esi, byte [edx]
movzx esi, byte [esi + 0x100f9858]
lea edi, [eax*8]
xor esi, edi
dec ecx
xor eax, esi
inc edx
test ecx, ecx
jg 0x100430f0
pop edi
pop esi
ret

Function at 0x10043170
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
lea eax, [esi*8]
cmp eax, 0x400
jbe 0x1004318d
mov esi, 0x80
cmp esi, dword [edi]
jne 0x1004319a
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [0x10123790]
test eax, eax
je 0x100431a5
call eax
lea ecx, [esi*8]
push ecx
call fcn.1003fa50
mov ebp, eax
mov eax, dword [0x10123794]
add esp, 4
mov dword [esp + 0x10], ebp
test eax, eax
je 0x100431c6
call eax
test ebp, ebp
je 0x10043191
mov edx, dword [edi + 0xc]
push edx
call fcn.1003fd70
add esp, 4
push ebp
mov dword [edi + 0xc], ebp
call dword [0x1012020c]
mov ebx, eax
shr ebx, 3
add esp, 4
lea eax, [ebx*8]
push eax
push 0
push ebp
mov dword [esp + 0x28], ebx
mov dword [edi], ebx
call sub.MSVCR90.dll_memset
mov ecx, dword [edi + 8]
add esp, 0xc
mov dword [edi + 8], 0
test ecx, ecx
je 0x100432af
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
xor eax, eax
test edx, edx
jle 0x10043243
nop
movzx ebx, byte [esi]
movzx ebx, byte [ebx + 0x100f9858]
lea ebp, [eax*8]
xor ebx, ebp
dec edx
xor eax, ebx
inc esi
test edx, edx
jg 0x10043220
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
xor edx, edx
div ebx
lea eax, [ebp + edx*8]
test eax, eax
je 0x1004328a
mov esi, dword [eax]
test esi, esi
je 0x10043260
mov edx, dword [eax + 4]
jmp 0x10043262
xor edx, edx
inc esi
mov dword [eax], esi
mov dword [eax + 4], ecx
test edx, edx
je 0x1004328a
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x10043282
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x100432a3
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x100432a3
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x10043299
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x10043213
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
Function at 0x100554b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
mov esi, ecx
mov ebx, dword [esi + 0x34]
push edi
mov edi, eax
push esi
lea eax, [esp + 0x24]
mov ecx, edi
mov dword [esp + 0x14], ebx
call fcn.10050460
mov ax, word [esp + 0x3c]
add esp, 4
test ax, ax
je 0x10055555
movzx ecx, word [esi + 0x12]
add ecx, dword [esi + 0x38]
movzx eax, ax
add eax, edi
lea edx, [eax + 3]
cmp edx, ecx
jbe 0x10055518
push 0x10105140
push 0xd6e8
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.10041630
add esp, 0x10
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx esi, byte [eax]
movzx ecx, byte [eax + 1]
movzx edx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl esi, 8
or esi, ecx
mov ecx, dword [ebx + 0x24]
shl esi, 8
or esi, edx
movzx edx, word [esp + 0x36]
shl esi, 8
or esi, eax
mov eax, dword [esp + 0x30]
sub ecx, 4
sub eax, edx
lea eax, [eax + ecx - 1]
xor edx, edx
div ecx
xor ecx, ecx
cmp eax, ecx
jne 0x1005556a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
xor ecx, ecx
dec eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ecx
cmp esi, 2
jb 0x10055656
cmp esi, dword [ebx + 0x2c]
ja 0x10055656
cmp eax, ecx
je 0x100555ae
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push esi
mov edi, ebx
call fcn.10053880
add esp, 0xc
test eax, eax
jne 0x10055557
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x100555bd
call fcn.100510f0
mov ebx, dword [esp + 0x10]
mov edi, eax
test edi, edi
je 0x100555e7
mov eax, dword [edi + 0x44]
cmp word [eax + 0x1a], 1
je 0x100555e7
push 0x10105140
push 0xd70a
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.10041630
add esp, 0x10
mov ebx, 0xb
jmp 0x100555f5
push esi
push ebx
mov eax, edi
call fcn.10055170
add esp, 8
mov ebx, eax
test edi, edi
je 0x10055632
mov eax, dword [edi + 0x44]
test eax, eax
je 0x10055632
test byte [eax + 0x18], 0x40
mov esi, dword [eax + 0x10]
je 0x10055612
mov ecx, eax
call fcn.1004ab50
jmp 0x10055617
call fcn.10046f00
cmp dword [esi + 0x78], 0
jne 0x10055632
mov ecx, dword [esi + 0xcc]
cmp dword [ecx + 0xc], 0
jne 0x10055632
push esi
call fcn.100493d0
add esp, 4
test ebx, ebx
jne 0x1005564d
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x1c], ebx
jne 0x10055560
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10105140
push 0xd6f6
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.10041630
add esp, 0x10
pop edi
pop esi
mov eax, 0xb
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10067310
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push esi
push edi
mov edi, dword [eax + 8]
mov eax, dword [eax + 0x48]
mov esi, dword [eax + 0x34]
test ecx, ecx
je 0x10067330
push esi
push ecx
mov ecx, dword [esp + 0x24]
push ecx
push edi
call fcn.1005e3f0
add esp, 0x10
cmp dword [esp + 0x10], 0
je 0x10067365
movzx ecx, word [edi + 6]
xor edx, edx
xor eax, eax
mov word [esi + 4], cx
cmp dx, cx
jae 0x10067361
mov ecx, dword [esi + 0x10]
add ecx, 0x1c
mov edi, edi
test byte [ecx], 1
jne 0x1006737e
movzx edx, word [esi + 4]
inc eax
add ecx, 0x28
cmp eax, edx
jl 0x10067350
or byte [esi + 6], 2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push esi
push eax
push ecx
call fcn.1005e4e0
add esp, 0xc
mov dword [ebx], eax
pop edi
pop esi
pop ecx
ret
pop edi
mov dword [ebx], 0xffffffff
pop esi
pop ecx
ret
Function at 0x10073400
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
xor edi, edi
mov eax, ebp
test ebp, ebp
jne 0x10073417
xor ebx, ebx
jmp 0x1007342f
cmp byte [ebp], 0
je 0x10073426
lea ecx, [ecx]
inc eax
cmp byte [eax], 0
jne 0x10073420
sub eax, ebp
and eax, 0x3fffffff
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x14]
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
test eax, eax
jle 0x100734f0
jmp 0x10073454
mov esi, dword [esp + 0x10]
cmp esi, 2
jge 0x1007345c
xor esi, 1
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10073481
mov edx, dword [esp + 0x1c]
mov edx, dword [edx + 0x10]
mov ecx, esi
shl ecx, 4
mov ecx, dword [ecx + edx]
push ecx
push eax
call fcn.10042070
add esp, 8
test eax, eax
jne 0x100734dd
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x10]
shl esi, 4
mov ecx, dword [esi + eax + 0xc]
add ecx, 8
cmp dword [ecx + 0xc], 0
je 0x100734c7
xor eax, eax
mov edi, ebx
mov edx, ebp
test ebx, ebx
jle 0x100734c1
movzx esi, byte [edx]
movzx esi, byte [esi + 0x100f9858]
lea ebp, [eax*8]
xor esi, ebp
dec edi
xor eax, esi
inc edx
test edi, edi
jg 0x100734a2
mov ebp, dword [esp + 0x20]
xor edx, edx
div dword [ecx]
jmp 0x100734c9
xor edx, edx
push ebp
call fcn.100432c0
add esp, 4
test eax, eax
je 0x100734fa
mov edi, dword [eax + 8]
test edi, edi
jne 0x100734f0
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jl 0x10073450
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
xor edi, edi
jmp 0x100734dd

Function at 0x100735f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push edi
mov edi, dword [esp + 0x1c]
xor ebp, ebp
mov eax, edi
test edi, edi
jne 0x10073606
xor ebx, ebx
jmp 0x1007361f
cmp byte [edi], 0
je 0x10073616
jmp 0x10073610
inc eax
cmp byte [eax], 0
jne 0x10073610
sub eax, edi
and eax, 0x3fffffff
mov ebx, eax
mov edx, dword [ecx + 0x14]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edx
test edx, edx
jle 0x100736e0
mov ecx, dword [ecx + 0x10]
push esi
mov dword [esp + 0x14], ecx
jmp 0x10073644
mov eax, dword [esp + 0x10]
cmp eax, 2
jge 0x1007364c
xor eax, 1
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
shl eax, 4
mov esi, dword [eax + edx + 0xc]
add eax, edx
test ecx, ecx
je 0x10073671
mov eax, dword [eax]
push eax
push ecx
call fcn.10042070
add esp, 8
test eax, eax
jne 0x100736bf
cmp dword [esi + 0x24], 0
lea ecx, [esi + 0x18]
je 0x100736a9
xor eax, eax
mov esi, ebx
mov edx, edi
test ebx, ebx
jle 0x100736a3
movzx edi, byte [edx]
movzx edi, byte [edi + 0x100f9858]
lea ebp, [eax*8]
xor edi, ebp
dec esi
xor eax, edi
inc edx
test esi, esi
jg 0x10073684
mov edi, dword [esp + 0x20]
xor edx, edx
div dword [ecx]
jmp 0x100736ab
xor edx, edx
push edi
call fcn.100432c0
add esp, 4
test eax, eax
je 0x100736dc
mov ebp, dword [eax + 8]
test ebp, ebp
jne 0x100736d2
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
jl 0x10073640
pop esi
pop edi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
xor ebp, ebp
jmp 0x100736bf
pop edi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x10078310
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esi]
xor ebp, ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebp
jmp 0x10078330
mov al, byte [ebp + 0x100fa100]
mov byte [esp + 0x10], al
test edi, edi
je 0x100783b5
cmp byte [edi], 0
mov eax, edi
je 0x1007834b
inc eax
cmp byte [eax], 0
jne 0x10078345
mov ecx, dword [esp + 0x20]
sub eax, edi
and eax, 0x3fffffff
add ecx, 0x1ac
cmp dword [ecx + 0xc], 0
mov ebx, eax
je 0x1007839d
xor eax, eax
mov esi, ebx
mov edx, edi
test ebx, ebx
jle 0x10078393
mov edi, edi
movzx edi, byte [edx]
movzx edi, byte [edi + 0x100f9858]
lea ebp, [eax*8]
xor edi, ebp
dec esi
xor eax, edi
inc edx
test esi, esi
jg 0x10078370
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
xor edx, edx
div dword [ecx]
jmp 0x1007839f
xor edx, edx
push edi
call fcn.100432c0
add esp, 4
test eax, eax
je 0x100783b1
mov eax, dword [eax + 8]
jmp 0x100783bc
xor eax, eax
jmp 0x100783bc
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 8]
test eax, eax
je 0x100783cc
movzx ecx, byte [esp + 0x10]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4 - 0x14]
cmp dword [eax + 0xc], 0
jne 0x100783ed
inc ebp
cmp ebp, 3
mov dword [esp + 0x14], ebp
jl 0x10078330
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [eax + 0x10]
pop edi
mov dword [esi + 0x10], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x100a4410
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x100f28ca
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x1012007c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebx + 4]
mov edx, dword [eax + 0x14]
lea edi, [ebx + 4]
push 0xffffffffffffffff
mov ecx, edi
mov dword [esp + 0x18], edi
call edx
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a4467
push esi
call fcn.100a55d0
test eax, eax
jne 0x100a446d
push esi
call fcn.100a56c0
mov eax, dword [ebx]
test eax, eax
je 0x100a4483
push 0
call fcn.100a1bc0
add esp, 4
mov dword [ebx], 0
push esi
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
push 0xfde9
lea ecx, [esp + 0x10]
lea esi, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.10022230
push 0
push 6
mov byte [esp + 0x2c], 2
mov eax, dword [eax]
push ebx
push eax
call fcn.100a3620
add esp, 0x14
lea ecx, [esp + 0x10]
mov esi, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
test esi, esi
sete al
mov dword [esp + 0x20], 0xffffffff
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
mov eax, dword [edx + 0x1c]
call eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret
Function at 0x100a4e70
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100f2721
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x1012007c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 4]
mov edx, dword [eax + 0x14]
lea esi, [edi + 4]
push 0xffffffffffffffff
mov ecx, esi
mov dword [esp + 0x18], esi
call edx
xor ebx, ebx
push 0x40
lea eax, [esp + 0x30]
mov dword [esp + 0x7c], ebx
push ebx
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call sub.MSVCR90.dll_memset
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov dword [esp + 0x28], ecx
lea eax, [esp + 0x30]
add esp, 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
call dword [0x100f479c]
push ebx
push 0x64
lea ecx, [esp + 0x18]
push str.select__from_LogList_where_id__I64u_order_by_begin_time_desc
mov byte [esp + 0x84], 1
push ecx
mov dword [esp + 0x90], ebx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::Format]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x90]
push edx
mov edx, dword [edi]
lea eax, [esp + 0x2c]
push eax
push 0x100a4f70
push ecx
push edx
call fcn.10082810
xor ecx, ecx
add esp, 0x24
cmp eax, ebx
sete cl
mov edi, ecx
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
mov dword [esp + 0x78], 0xffffffff
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
mov eax, edi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x6c
ret 8
Function at 0x100a6950
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x100f2dc2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x1012007c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a698c
push esi
call fcn.100a7ec0
test eax, eax
jne 0x100a6992
push esi
call fcn.100a7fe0
push esi
lea ecx, [ebx + 0x44]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov eax, dword [ebx + 0x48]
lea edi, [ebx + 0x48]
test eax, eax
je 0x100a69b6
push 0
call fcn.100a1bc0
add esp, 4
mov dword [edi], 0
push esi
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
push 0xfde9
lea ecx, [esp + 0x10]
lea esi, [esp + 0x14]
mov dword [esp + 0x24], 0
call fcn.10022230
push 0
push 6
mov byte [esp + 0x2c], 1
mov eax, dword [eax]
push edi
push eax
call fcn.100a3620
add esp, 0x14
lea ecx, [esp + 0x10]
mov esi, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x14], 0
test esi, esi
jne 0x100a6a45
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x14]
push edx
push ebx
push 0x100a7800
mov dword [ebx + 0x4c], eax
mov eax, dword [edi]
push str.select__from_Trust_
push eax
mov dword [ebx + 0x50], ecx
call fcn.10082810
add esp, 0x14
mov esi, eax
xor eax, eax
test esi, esi
sete al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 8
Function at 0x100b1860
Capabilities:
Enumerate process modules

Disassembly:
push 0xffffffffffffffff
push 0x100ed99c
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x1012007c]
xor eax, esp
mov dword [esp + 0x434], eax
push ebp
push esi
push edi
mov eax, dword [0x1012007c]
xor eax, esp
push eax
lea eax, [esp + 0x44c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x45c]
push eax
push 8
mov dword [esp + 0x24], 0x428
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [esp + 0x1c]
mov esi, eax
push ecx
push esi
mov dword [esp + 0x1c], esi
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x100b1930
lea edx, [esp + 0x1c]
push edx
push esi
call sub.KERNEL32.dll_Module32NextW
mov ebp, eax
lea eax, [esp + 0x23c]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov dword [esp + 0x454], 0
mov esi, dword [ebx + 0x14]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x18]
push ecx
push edx
push esi
call fcn.100b4510
mov ecx, ebx
mov edi, eax
call fcn.100c0470
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
lea ecx, [esp + 0x18]
mov dword [eax], edi
mov dword [esp + 0x454], 0xffffffff
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov esi, dword [esp + 0x14]
test ebp, ebp
jne 0x100b18c6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x44c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x434]
xor ecx, esp
call fcn.100e7da2
add esp, 0x448
ret 4
Function at 0x100b1f50
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ed929
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1012007c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
xor edi, edi
push esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov dword [esp + 0x30], edi
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 4]
neg ecx
sbb ecx, ecx
lea eax, [esp + 0x1c]
push eax
and ecx, 0x100
or ecx, 0x20019
push ecx
push edi
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100b20a0
mov edx, dword [esp + 0x1c]
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
push ecx
push edi
push edi
push edi
push edx
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x100b2095
cmp dword [esp + 0x18], edi
je 0x100b2095
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x100b2095
inc eax
xor ecx, ecx
mov dword [esp + 0x14], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.mfc90u.dll_new__
mov edi, eax
mov eax, dword [esp + 0x1c]
add esp, 4
xor esi, esi
test eax, eax
jbe 0x100b208c
cmp dword [ebx + 0x3c], 0
jne 0x100b204a
push 0
push esi
push 0
push eax
lea ecx, [ebx - 8]
call fcn.100b0830
cmp eax, 0xfffffffc
je 0x100b208c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push eax
push edi
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x100b2083
mov edx, dword [ebp + 0xc]
push 0x3f
push 0x2a
push edx
push edi
call fcn.10010840
add esp, 0x10
test eax, eax
je 0x100b2083
mov eax, dword [esp + 0x20]
push edi
push eax
lea ecx, [ebx + 0x18]
call fcn.100b27a0
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
jb 0x100b2031
push edi
call sub.mfc90u.dll_delete__
add esp, 4
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8