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

Disassembly:
mov eax, 0x4dd3bf
call fcn.004d1d50
sub esp, 0x824
mov eax, dword [0x52e400]
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 0x4267e8
lea eax, [ebp - 0x830]
push eax
lea ecx, [esi + 0xc4]
call fcn.004251b8
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.0044fa33
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 0x42688c
lea eax, [esi + 0xc0]
cmp dword [eax], ecx
je 0x42688c
mov dword [eax], 1
mov eax, dword [esi + 0xc0]
cmp eax, 3
jne 0x4268a9
mov eax, dword [esi]
push ecx
lea ecx, [ebp - 0x810]
push ecx
push 1
mov ecx, esi
call dword [eax]
jmp 0x4268d3
cmp eax, 1
jne 0x4268d3
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.00423c52
mov ecx, eax
call fcn.004260fd
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.004d1da7
leave
ret 4
Function at 0x4268fe
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4dd403
call fcn.004d1d50
sub esp, 0x34
push dword [ebp + 8]
mov dword [ebp - 0x10], ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x426922
xor al, al
jmp 0x426a1d
push ebx
lea ecx, [ebp - 0x40]
call fcn.0040f3ff
xor ebx, ebx
push ebx
push ebx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
call fcn.0040f969
push dword [ebp + 8]
lea ecx, [ebp - 0x40]
call fcn.0040f9bf
test al, al
lea ecx, [ebp - 0x3c]
jne 0x426958
call fcn.0040e35c
xor bl, bl
jmp 0x426a0e
push edi
call fcn.0040e35c
lea ecx, [ebp - 0x40]
call fcn.00446f58
mov edi, eax
mov dword [ebp - 0x14], edi
cmp edi, ebx
mov byte [ebp - 4], 1
jne 0x42697a
xor bl, bl
jmp 0x426a0d
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 0x426a00
push str.net_test_list
push eax
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x426a00
lea ecx, [edi + 0x80]
call fcn.0048f0fe
cmp eax, ebx
mov dword [ebp + 8], eax
jbe 0x4269f5
push esi
push ebx
mov ecx, edi
call fcn.00449647
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 0x4269df
mov ecx, dword [ebp - 0x10]
push esi
call fcn.00425cd6
test esi, esi
mov byte [ebp - 4], 1
je 0x4269ee
mov ecx, esi
call fcn.0040de1d
inc ebx
cmp ebx, dword [ebp + 8]
jb 0x4269ab
pop esi
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x44], 1
mov bl, 1
jmp 0x426a02
xor bl, bl
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.0040de1d
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040ee8c
mov al, bl
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4
Function at 0x426b94
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4dd43b
call fcn.004d1d50
sub esp, 0x38
push dword [ebp + 8]
mov dword [ebp - 0x10], ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x426bb8
xor al, al
jmp 0x426d2c
push esi
lea ecx, [ebp - 0x44]
call fcn.0040f3ff
xor esi, esi
push esi
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], esi
call fcn.0040f969
push dword [ebp + 8]
lea ecx, [ebp - 0x44]
call fcn.0040f9bf
test al, al
lea ecx, [ebp - 0x40]
jne 0x426bf0
call fcn.0040e35c
mov byte [ebp + 0xb], 0
jmp 0x426d1c
push ebx
call fcn.0040e35c
lea ecx, [ebp - 0x44]
call fcn.00446f58
mov ebx, eax
mov dword [ebp - 0x18], ebx
cmp ebx, esi
mov byte [ebp - 4], 1
jne 0x426c14
mov byte [ebp + 0xb], 0
jmp 0x426d1b
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 0x426d0c
push str.wizard
push eax
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x426d0c
lea ecx, [ebx + 0x80]
call fcn.0048f0fe
cmp eax, esi
mov dword [ebp - 0x14], eax
mov dword [ebp + 8], esi
jbe 0x426cff
push edi
push dword [ebp + 8]
mov ecx, ebx
call fcn.00449647
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 0x426c8e
mov ecx, dword [ebp - 0x10]
push esi
call fcn.00425786
jmp 0x426ce0
push str.skin_list
push edi
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x426caa
mov ecx, dword [ebp - 0x10]
push esi
call fcn.004258ff
jmp 0x426ce0
push str.site_list
push edi
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x426cc6
mov ecx, dword [ebp - 0x10]
push esi
call fcn.00425a35
jmp 0x426ce0
push str.net_test_url
push edi
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x426ce0
mov ecx, dword [ebp - 0x10]
push esi
call fcn.00425b6b
test esi, esi
mov byte [ebp - 4], 1
je 0x426cef
mov ecx, esi
call fcn.0040de1d
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x14]
jb 0x426c54
pop edi
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x44], 1
mov byte [ebp + 0xb], 1
jmp 0x426d10
mov byte [ebp + 0xb], 0
mov ecx, ebx
mov byte [ebp - 4], 0
call fcn.0040de1d
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0040ee8c
mov al, byte [ebp + 0xb]
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4
Function at 0x427627
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 closesocket
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x42768b
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.004d1949
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 0x428bde
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
je 0x428c1e
mov esi, dword [esp + 0x10]
cmp dword [esi + 4], 0
je 0x428c1e
mov ebx, dword [sym.imp.ADVAPI32.dll_IsValidSid]
push eax
call ebx
test eax, eax
je 0x428c1e
push dword [esi + 4]
call ebx
test eax, eax
je 0x428c1e
push dword [esi + 4]
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
jmp 0x428c20
xor al, al
pop edi
pop esi
pop ebx
ret 4
Function at 0x42cf37
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.00479fcb
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 + 0x388]
je 0x42cf6b
push 1
jmp 0x42cf6d
push 0
push edi
call fcn.004077ba
test eax, eax
je 0x42cf93
mov eax, esi
neg eax
sbb eax, eax
lea ecx, [esi + 0x2c]
and eax, ecx
push eax
lea ecx, [esi + 0xe8]
push 0x1388
call fcn.0042846d
lea eax, [esi + 0x3d0]
push 0x4f3564
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 0x42cfb2
mov ecx, esi
call fcn.0042c12a
pop edi
pop esi
ret 4
Function at 0x42d596
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4dde10
call fcn.004d1d50
sub esp, 0x38
push esi
mov esi, ecx
cmp byte [esi + 0x208], 0
je 0x42d605
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.0045569b
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 0x42d615
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 0x42d6e7
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4dddf4
call fcn.004d1d50
sub esp, 0x70
push esi
mov esi, ecx
cmp byte [esi + 0x208], 0
je 0x42d7a3
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.00455218
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, 0x5329a8
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 0x42d7be
push esi
push 0x800
mov esi, 0x5329a8
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 0x42db81
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 0x42dc32
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 0x42dc40
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 0x42dc2d
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 0x42dc40
push esi
call ebx
jmp 0x42dc39
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 0x42dc46
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 0x42dd71
mov esi, dword [sym.imp.XLUE.dll__XLUE_GetHostWndWindowHandle_4]
push eax
call esi
mov ebp, eax
test ebp, ebp
je 0x42dd71
push ebp
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42dcca
push 1
push str.ConfigFloatPanel_Visiable
push str.ConfigFloatPanel
call fcn.00410340
mov ecx, eax
call fcn.0042d8b0
cmp eax, 1
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
jne 0x42dcaf
push str.window.floatpanel
call ebx
push 0
push eax
call esi
push eax
call edi
call fcn.004273f2
mov ecx, eax
call fcn.0042df48
push 2
push ebp
call edi
push 0
push ebp
call edi
jmp 0x42dd71
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, ebp
je 0x42dd71
push 1
push str.ConfigFloatPanel_Visiable
push str.ConfigFloatPanel
call fcn.00410340
mov ecx, eax
call fcn.0042d8b0
cmp eax, 1
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
jne 0x42dd27
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 0x42dd17
push 9
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x42dd27
push 5
push esi
call edi
call fcn.004273f2
mov ecx, eax
call fcn.0042df2e
push ebp
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x42dd43
push 9
push ebp
call edi
push ebp
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x42dd53
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.0042db81
pop ecx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10

Function at 0x42f503
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x4ddf67
call fcn.004d1d50
sub esp, 0x20
mov ecx, dword [ebp + 0xc]
call fcn.00402903
cmp dword [ebp + 8], 0
je 0x42f584
push dword [ebp + 8]
call dword [sym.imp.MSVCR71.dll_wcslen]
test eax, eax
pop ecx
je 0x42f584
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 0x42f577
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.00402bae
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 0x42f548
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
xor eax, eax
pop esi
jmp 0x42f587
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 8
Function at 0x4303b8
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4de08b
call fcn.004d1d50
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], 0x4f3f54
call fcn.0042f05d
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.0042f05d
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
call fcn.0042eef3
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 0x434fac
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x52e400]
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 0x434ff4
push 0x4510
jmp 0x434ff9
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 0x435014
inc eax
jmp 0x43501e
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.004d1da7
leave
ret 0xc

Function at 0x441f6b
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 0x441fc9
cmp dword [ebp + 0x10], 1
je 0x441fa7
cmp dword [ebp + 0x10], 2
jne 0x441fbe
test edi, edi
mov eax, dword [ebp - 4]
je 0x441fc3
test al, 1
jne 0x441fbe
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x441fc3
push 0xd
pop eax
jmp 0x441fc9
shr eax, 1
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc

Function at 0x441fcf
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 0x441fe9
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 0x442015
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x52e400]
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 0x442067
cmp dword [ebp - 0x7c], 5
jae 0x442063
cmp dword [ebp - 0x7c], 4
jne 0x442067
cmp dword [ebp - 0x78], 0x5a
jb 0x442067
xor eax, eax
jmp 0x44206a
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.004d1da7
add ebp, 0x98
leave
ret