joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429d10
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4de9ff
call fcn.004d1ec0
sub esp, 0x824
mov eax, dword [0x52f220]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
test eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x830], eax
je 0x429d4c
lea eax, [ebp - 0x830]
push eax
lea ecx, [esi + 0xc4]
call fcn.00428738
push edi
lea ecx, [ebp - 0x82c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov eax, dword [esi + 0x18]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x82c]
push ecx
push eax
lea ecx, [esi + 4]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call fcn.00451a68
add esp, 0xc
push str._demo.png
lea ecx, [ebp - 0x82c]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
and word [ebp - 0x810], 0
xor eax, eax
mov ecx, 0x1ff
lea edi, [ebp - 0x80e]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x82c]
stosw word es:[edi], ax
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea ecx, [esi + 0x90]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
push 2
pop ecx
pop edi
jne 0x429df0
lea eax, [esi + 0xc0]
cmp dword [eax], ecx
je 0x429df0
mov dword [eax], 1
mov eax, dword [esi + 0xc0]
cmp eax, 3
jne 0x429e0d
mov eax, dword [esi]
push ecx
lea ecx, [ebp - 0x810]
push ecx
push 1
mov ecx, esi
call dword [eax]
jmp 0x429e37
cmp eax, 1
jne 0x429e37
push ecx
push esi
lea eax, [ebp - 0x810]
mov dword [esi + 0xc0], ecx
push eax
lea ecx, [esi + 0x74]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call fcn.004271d2
mov ecx, eax
call fcn.00429661
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x82c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
mov al, 1
pop esi
call fcn.004d1f17
leave
ret 4
Function at 0x429e62
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4dea21
call fcn.004d1ec0
sub esp, 0x34
push dword [ebp + 8]
mov dword [ebp - 0x10], ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x429e86
xor al, al
jmp 0x429f81
push ebx
lea ecx, [ebp - 0x40]
call fcn.0040f63e
xor ebx, ebx
push ebx
push ebx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
call fcn.00410250
push dword [ebp + 8]
lea ecx, [ebp - 0x40]
call fcn.004102a6
test al, al
lea ecx, [ebp - 0x3c]
jne 0x429ebc
call fcn.0040e109
xor bl, bl
jmp 0x429f72
push edi
call fcn.0040e109
lea ecx, [ebp - 0x40]
call fcn.0040df1b
mov edi, eax
mov dword [ebp - 0x14], edi
cmp edi, ebx
mov byte [ebp - 4], 1
jne 0x429ede
xor bl, bl
jmp 0x429f71
lea ecx, [edi + 0x30]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
cmp eax, ebx
je 0x429f64
push str.net_test_list
push eax
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x429f64
lea ecx, [edi + 0x80]
call fcn.004a39d5
cmp eax, ebx
mov dword [ebp + 8], eax
jbe 0x429f59
push esi
push ebx
mov ecx, edi
call fcn.0040eb25
mov esi, eax
mov dword [ebp - 0x18], esi
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push str.netrankpush
push eax
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x429f43
mov ecx, dword [ebp - 0x10]
push esi
call fcn.00429256
test esi, esi
mov byte [ebp - 4], 1
je 0x429f52
mov ecx, esi
call fcn.0040db94
inc ebx
cmp ebx, dword [ebp + 8]
jb 0x429f0f
pop esi
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x44], 1
mov bl, 1
jmp 0x429f66
xor bl, bl
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.0040db94
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040eebd
mov al, bl
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4
Function at 0x42a0f8
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4dea43
call fcn.004d1ec0
sub esp, 0x38
push dword [ebp + 8]
mov dword [ebp - 0x10], ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42a11c
xor al, al
jmp 0x42a290
push esi
lea ecx, [ebp - 0x44]
call fcn.0040f63e
xor esi, esi
push esi
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], esi
call fcn.00410250
push dword [ebp + 8]
lea ecx, [ebp - 0x44]
call fcn.004102a6
test al, al
lea ecx, [ebp - 0x40]
jne 0x42a154
call fcn.0040e109
mov byte [ebp + 0xb], 0
jmp 0x42a280
push ebx
call fcn.0040e109
lea ecx, [ebp - 0x44]
call fcn.0040df1b
mov ebx, eax
mov dword [ebp - 0x18], ebx
cmp ebx, esi
mov byte [ebp - 4], 1
jne 0x42a178
mov byte [ebp + 0xb], 0
jmp 0x42a27f
lea ecx, [ebx + 0x30]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
cmp eax, esi
je 0x42a270
push str.wizard
push eax
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x42a270
lea ecx, [ebx + 0x80]
call fcn.004a39d5
cmp eax, esi
mov dword [ebp - 0x14], eax
mov dword [ebp + 8], esi
jbe 0x42a263
push edi
push dword [ebp + 8]
mov ecx, ebx
call fcn.0040eb25
mov esi, eax
mov dword [ebp - 0x1c], esi
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov edi, eax
push str.app_list
push edi
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x42a1f2
mov ecx, dword [ebp - 0x10]
push esi
call fcn.00428d06
jmp 0x42a244
push str.skin_list
push edi
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x42a20e
mov ecx, dword [ebp - 0x10]
push esi
call fcn.00428e7f
jmp 0x42a244
push str.site_list
push edi
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x42a22a
mov ecx, dword [ebp - 0x10]
push esi
call fcn.00428fb5
jmp 0x42a244
push str.net_test_url
push edi
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x42a244
mov ecx, dword [ebp - 0x10]
push esi
call fcn.004290eb
test esi, esi
mov byte [ebp - 4], 1
je 0x42a253
mov ecx, esi
call fcn.0040db94
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x14]
jb 0x42a1b8
pop edi
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x44], 1
mov byte [ebp + 0xb], 1
jmp 0x42a274
mov byte [ebp + 0xb], 0
mov ecx, ebx
mov byte [ebp - 4], 0
call fcn.0040db94
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0040eebd
mov al, byte [ebp + 0xb]
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4
Function at 0x42abce
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
push Ordinal_1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x42ac32
push esi
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.004d1ab7
pop ecx
mov edi, eax
push ebx
lea eax, [ebp - 4]
push eax
push esi
push edi
push dword [ebp + 8]
mov byte [edi + esi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42c05c
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
je 0x42c09c
mov esi, dword [esp + 0x10]
cmp dword [esi + 4], 0
je 0x42c09c
mov ebx, dword [sym.imp.ADVAPI32.dll_IsValidSid]
push eax
call ebx
test eax, eax
je 0x42c09c
push dword [esi + 4]
call ebx
test eax, eax
je 0x42c09c
push dword [esi + 4]
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
jmp 0x42c09e
xor al, al
pop edi
pop esi
pop ebx
ret 4
Function at 0x430230
Capabilities:
Accept command line arguments

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
push edi
lea ecx, [esi + 0x2fc]
call fcn.0047a91e
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push str._crashrevert
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
lea ecx, [esi + 0x440]
je 0x430264
push 1
jmp 0x430266
push 0
push edi
call fcn.00407361
test eax, eax
je 0x43028c
mov eax, esi
neg eax
sbb eax, eax
lea ecx, [esi + 0x2c]
and eax, ecx
push eax
lea ecx, [esi + 0xe8]
push 0xbb8
call fcn.0042b8aa
lea eax, [esi + 0x484]
push 0x4f47a8
push eax
call dword [sym.imp.MSVCP71.dll_bool___cdecl_std::operator__wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
test al, al
pop ecx
pop ecx
je 0x4302ab
mov ecx, esi
call fcn.0042f402
pop edi
pop esi
ret 4
Function at 0x43088f
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4df43d
call fcn.004d1ec0
sub esp, 0x38
push esi
mov esi, ecx
cmp byte [esi + 0x208], 0
je 0x4308fe
push dword [ebp + 0xc]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push dword [ebp + 8]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push dword [ebp + 0x10]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [esi + 0x20c]
mov byte [ebp - 4], 1
call fcn.004567d2
lea ecx, [ebp - 0x28]
mov esi, eax
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
jmp 0x43090e
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x4309e0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4df421
call fcn.004d1ec0
sub esp, 0x70
push esi
mov esi, ecx
cmp byte [esi + 0x208], 0
je 0x430a9c
push dword [ebp + 0x10]
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push dword [ebp + 0xc]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [esi + 0x20c]
mov byte [ebp - 4], 2
call fcn.0045634f
push 0x800
mov ecx, eax
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
mov esi, 0x5338d0
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x430ab7
push esi
push 0x800
mov esi, 0x5338d0
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x430e91
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetForegroundWindow]
push esi
push edi
call ebp
mov esi, dword [esp + 0x18]
cmp eax, esi
je 0x430f42
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push esi
call edi
mov ebx, eax
push 0
mov dword [esp + 0x14], ebx
call ebp
push eax
call edi
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x430f50
mov edi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push ebx
call edi
mov ebx, dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
call ebx
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push dword [esp + 0x1c]
push dword [esp + 0x18]
call edi
call ebp
cmp eax, esi
je 0x430f3d
mov edi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
xor ebp, ebp
push ebp
lea eax, [esp + 0x1c]
push eax
push ebp
push 0x2000
call edi
push 2
push ebp
push ebp
mov ebp, 0x2001
push ebp
call edi
push esi
call ebx
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
push 2
lea eax, [esp + 0x1c]
push eax
push 0
push ebp
call edi
jmp 0x430f50
push esi
call ebx
jmp 0x430f49
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x430f56
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [sym.imp.XLUE.dll__XLUE_GetHostWndByID_4]
push ebp
push esi
push edi
push str.Thunder.MainFrame
call ebx
test eax, eax
je 0x431081
mov esi, dword [sym.imp.XLUE.dll__XLUE_GetHostWndWindowHandle_4]
push eax
call esi
mov ebp, eax
test ebp, ebp
je 0x431081
push ebp
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x430fda
push 1
push str.ConfigFloatPanel_Visiable
push str.ConfigFloatPanel
call fcn.00413bee
mov ecx, eax
call fcn.00430ba9
cmp eax, 1
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
jne 0x430fbf
push str.window.floatpanel
call ebx
push 0
push eax
call esi
push eax
call edi
call fcn.0042a956
mov ecx, eax
call fcn.00431258
push 2
push ebp
call edi
push 0
push ebp
call edi
jmp 0x431081
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, ebp
je 0x431081
push 1
push str.ConfigFloatPanel_Visiable
push str.ConfigFloatPanel
call fcn.00413bee
mov ecx, eax
call fcn.00430ba9
cmp eax, 1
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
jne 0x431037
push str.window.floatpanel
call ebx
push eax
call esi
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x431027
push 9
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x431037
push 5
push esi
call edi
call fcn.0042a956
mov ecx, eax
call fcn.0043123e
push ebp
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x431053
push 9
push ebp
call edi
push ebp
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x431063
push 5
push ebp
call edi
push ebp
call dword [sym.imp.USER32.dll_GetLastActivePopup]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call fcn.00430e91
pop ecx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10

Function at 0x43273f
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x4df594
call fcn.004d1ec0
sub esp, 0x20
mov ecx, dword [ebp + 0xc]
call fcn.0040284a
cmp dword [ebp + 8], 0
je 0x4327c0
push dword [ebp + 8]
call dword [sym.imp.MSVCR71.dll_wcslen]
test eax, eax
pop ecx
je 0x4327c0
and dword [ebp - 0x10], 0
push esi
push edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor esi, esi
cmp dword [ebp - 0x10], esi
mov edi, eax
jle 0x4327b3
push dword [edi + esi*4]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov ecx, dword [ebp + 0xc]
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
call fcn.00402af5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
inc esi
cmp esi, dword [ebp - 0x10]
jl 0x432784
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
xor eax, eax
pop esi
jmp 0x4327c3
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 8
Function at 0x4335ec
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4df6b8
call fcn.004d1ec0
push ecx
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
lea ecx, [esi + 0x24]
mov dword [ebp - 4], edi
mov dword [esi], 0x4f519c
call fcn.004adbfe
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.004adbfe
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
call fcn.00432142
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x68], edi
lea ecx, [esi + 0x84]
mov byte [ebp - 4], 5
mov dword [esi + 0x80], edi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea eax, [esi + 0xa0]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
lea ecx, [esi + 0xb0]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x438e02
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x52f220]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, ebp
mov esi, 0x2b4
push esi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2b8]
push 0
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
cmp dword [ebp + 0xc], 0
mov ecx, edi
lea eax, [ebp - 0x2b8]
je 0x438e4a
push 0x4510
jmp 0x438e4f
push 0x4511
push esi
push eax
push 0x80
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
jne 0x438e6a
inc eax
jmp 0x438e74
mov eax, dword [ebp - 0x2b8]
mov dword [ebx], eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d1f17
leave
ret 0xc

Function at 0x444ef9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
shl eax, 1
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x444f57
cmp dword [ebp + 0x10], 1
je 0x444f35
cmp dword [ebp + 0x10], 2
jne 0x444f4c
test edi, edi
mov eax, dword [ebp - 4]
je 0x444f51
test al, 1
jne 0x444f4c
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x444f51
push 0xd
pop eax
jmp 0x444f57
shr eax, 1
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc

Function at 0x444f5d
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x444f77
Capabilities:
Set registry value

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0x10]
push dword [esp + 0x18]
push 0
push dword [esp + 0x18]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
ret 0xc

Function at 0x444fa3
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x52f220]
push edi
xor eax, ebp
push 0x44
mov dword [ebp + 0x94], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
pop edi
je 0x444ff5
cmp dword [ebp - 0x7c], 5
jae 0x444ff1
cmp dword [ebp - 0x7c], 4
jne 0x444ff5
cmp dword [ebp - 0x78], 0x5a
jb 0x444ff5
xor eax, eax
jmp 0x444ff8
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.004d1f17
add ebp, 0x98
leave
ret