joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404470
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41f4c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x4044f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41f4c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x405830
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x41f6a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
xor ebx, ebx
push esi
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x3c], 1
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::IsEmpty]
test al, al
jne 0x405885
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x1c], ebx
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
jne 0x4058bd
mov esi, dword [esp + 0x44]
push 0x422ee0
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x4c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
push edi
lea ecx, [esp + 0xf]
push ecx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x17], bl
call fcn.004057d0
mov edi, dword [esp + 0x2c]
push edi
push esi
push ebx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x4c], 2
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x405918
mov esi, dword [esp + 0x48]
push 0x422ee0
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
cmp edi, ebx
je 0x4059d9
push edi
call sub.MFC71.DLL_operator_delete_1
add esp, 4
jmp 0x4059d9
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x18]
push eax
push str.VarFileInfoTranslation
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x40594f
mov esi, dword [esp + 0x48]
push 0x422ee0
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
jmp 0x4059d0
mov eax, dword [esp + 0x14]
movzx ecx, word [eax]
movzx esi, word [eax + 2]
shl ecx, 0x10
or esi, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov edx, dword [esp + 0x4c]
push edx
push esi
lea eax, [esp + 0x18]
push str.StringFileInfo_08X_s
push eax
mov byte [esp + 0x50], 3
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format_1]
add esp, 0x10
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
mov esi, dword [esp + 0x48]
mov ecx, esi
jne 0x4059bb
push 0x422ee0
jmp 0x4059c0
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x28]
call fcn.004057a0
lea ecx, [esp + 0x4c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x50]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x38]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x405ec0
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x41f81b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov ebp, ecx
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], ebp
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_3]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::MakeUpper]
push 0
push str.NOTRAYICON
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find_1]
cmp eax, 0xffffffff
je 0x405f2c
mov byte [ebp + 0x530], 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str._ID:
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x34], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
mov byte [esp + 0x30], 0
call fcn.00405dc0
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
je 0x405fa6
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x423c10
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x34], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
mov byte [esp + 0x30], 0
call fcn.00405dc0
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
jne 0x405fc5
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push 3
push 0
push 1
push esi
call fcn.00401150
add esp, 4
push eax
call fcn.00402e40
add esp, 0x10
test eax, eax
jne 0x406055
push esi
call fcn.004017b0
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x514]
mov ebx, eax
add ebp, 0x520
cmp ebx, 2
sete al
push eax
push edx
push ebp
push esi
call fcn.004037c0
add esp, 0x14
test al, al
je 0x40603b
cmp ebx, 2
jne 0x406027
mov eax, dword [ebp]
imul edi, edi, 0x569
push eax
push edi
push esi
call fcn.004026f0
jmp 0x406038
mov ecx, dword [ebp]
imul edi, edi, 0xb1
push ecx
push edi
push esi
call fcn.00401f80
add esp, 0xc
push 3
push 0
push 0
push esi
call fcn.00401150
add esp, 4
push eax
call fcn.00402e40
add esp, 0x10
jmp 0x40606a
cmp eax, 0xa
je 0x40606a
cmp eax, 0x1392
je 0x40606a
push eax
call fcn.00402af0
add esp, 4
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret
Function at 0x40b91b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push ebp
mov ebx, eax
push esi
mov dword [esp + 0xc], ebx
call sub.MFC71.DLL_AfxGetModuleState
mov esi, dword [eax + 8]
mov ebp, dword [sym.imp.KERNEL32.dll_FindResourceA]
movzx eax, bx
push 0xe
push eax
push esi
call ebp
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
je 0x40b966
push eax
push esi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0
push edi
push edi
push 1
push eax
call dword [sym.imp.USER32.dll_LookupIconIdFromDirectoryEx]
test eax, eax
je 0x40b966
mov dword [esp + 0xc], eax
movzx eax, word [esp + 0xc]
push 3
push eax
push esi
call ebp
mov ebp, eax
test ebp, ebp
je 0x40b998
push ebp
push esi
call ebx
push 0
push edi
push edi
push 0x30000
push 1
push ebp
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push ebx
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x40ccbf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
push dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40cd42
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [ebp - 4]
mov edi, eax
lea eax, [ebp + 8]
push eax
push esi
call fcn.0040cc1f
test eax, eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
je 0x40cd20
push 0
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectPalette]
push edi
call dword [sym.imp.GDI32.dll_RealizePalette]
mov eax, dword [ebp + 8]
push 0
push esi
lea eax, [esi + eax*4]
add eax, dword [esi]
push eax
push 4
push esi
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
push edi
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
mov eax, esi
pop esi
leave
ret 0xc
Function at 0x40dc1f
Capabilities:
Get file version info

Disassembly:
mov eax, 0x420282
call fcn.0041ee80
sub esp, 0x43c
mov eax, dword [0x42fd70]
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, ebp
push edi
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x438], ebx
xor eax, eax
mov byte [ebp - 0x424], bl
mov ecx, 0x104
lea edi, [ebp - 0x423]
rep stosd dword es:[edi], eax
push 0x410
lea eax, [ebp - 0x424]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x424]
push eax
mov dword [ebp - 0x434], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
cmp edi, ebx
jne 0x40dcb9
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x424]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
cmp edi, ebx
jne 0x40dcb9
push 0x422ee0
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
jmp 0x40dd8f
lea eax, [ebp - 0x425]
push eax
push edi
lea ecx, [ebp - 0x448]
mov byte [ebp - 0x425], bl
call fcn.004057d0
push dword [ebp - 0x444]
lea eax, [ebp - 0x424]
push edi
push ebx
push eax
mov dword [ebp - 4], ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x40dd1b
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x430]
push eax
push 0x424c6c
push dword [ebp - 0x444]
mov dword [ebp - 0x438], ebx
mov dword [ebp - 0x430], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x40dd2a
push 0x422ee0
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
jmp 0x40dd84
lea ecx, [ebp - 0x42c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov eax, dword [ebp - 0x430]
movzx ecx, word [eax + 0x14]
push ecx
movzx ecx, word [eax + 0x16]
push ecx
movzx ecx, word [eax + 0x10]
movzx eax, word [eax + 0x12]
push ecx
push eax
lea eax, [ebp - 0x42c]
push str._d._d._d._d
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format_1]
add esp, 0x18
lea eax, [ebp - 0x42c]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
lea ecx, [ebp - 0x42c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [ebp - 0x448]
call fcn.004057a0
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ee69
leave
ret 4
Function at 0x411e40
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x430024]
sub esp, 0xc
test eax, eax
mov dword [0x430020], 0
je 0x411e5c
xor eax, eax
add esp, 0xc
ret
mov eax, 0x430030
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411e64
sub eax, edx
push esi
mov dword [esp + 0xc], eax
jne 0x411f01
lea eax, [esp + 4]
push eax
push 1
xor esi, esi
push esi
push str.CLSID0280750F_22B0_46fd_BCCA_99B3BF28765EInprocServer32
push SysReAllocStringLen
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x411ee5
lea ecx, [esp + 0xc]
push ecx
push 0x430030
lea edx, [esp + 0x10]
push edx
push eax
push eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x411ed6
cmp dword [esp + 8], 1
jne 0x411ed6
mov esi, 1
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x411f01
mov eax, dword [0x430020]
test eax, eax
jle 0x411ef7
mov word [0x430022], 0x8007
mov eax, 0x80004005
pop esi
add esp, 0xc
ret
push 0x430030
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x430024], eax
je 0x411ee5
xor eax, eax
pop esi
add esp, 0xc
ret
Function at 0x411fc0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42074b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1114
call fcn.0041ebb0
mov eax, dword [0x42fd70]
push ebx
push esi
push edi
xor eax, ebp
push 0x430008
mov dword [esp + 0x1120], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, 1
mov dword [esp + 0x14], edi
mov eax, dword [0x430024]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x112c], esi
je 0x412029
cmp dword [0x430028], esi
jne 0x412184
mov byte [esp + 0x118], 0
call fcn.00411e40
test eax, eax
jge 0x41205a
push 0x1000
lea eax, [esp + 0x11c]
push str.This_program_requires_the_file_advrcntr2.dll__which_was_not_found_on_this_system.
push eax
call dword [sym.imp.MSVCR71.dll__mbsnbcpy]
add esp, 0xc
jmp 0x4120ff
mov ebx, dword [ebp + 8]
push ebx
call fcn.00411f20
add esp, 4
test eax, eax
jge 0x412184
test bl, bl
mov dword [esp + 0x10], esi
je 0x4120c6
mov eax, dword [0x430028]
cmp eax, esi
jne 0x4120ab
mov eax, dword [0x430024]
cmp eax, esi
je 0x4120c6
push 6
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x4120a2
push esi
call eax
add esp, 4
mov dword [0x430028], eax
jmp 0x4120a7
mov eax, dword [0x430028]
cmp eax, esi
je 0x4120c6
lea esi, [eax + 0x28]
push esi
mov edi, 2
call fcn.00411f70
add esp, 4
test eax, eax
je 0x4120c6
call dword [esi]
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
push 0x1f40
push 0x2a94
push edi
push str.Fatal_Error:_r_nInstallation_corrupted___please_reinstall_NERO__r_n_r_nError_Code:__i____i____i____i_r_nParameters:__i____i____i_r_nSee_Doc4536
lea edx, [esp + 0x138]
push 0x1000
push edx
call dword [sym.imp.MSVCR71.dll__snprintf]
add esp, 0x28
xor esi, esi
push 0x430008
mov dword [0x430028], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ax, word [0x4258a8]
mov cl, byte [0x4258aa]
mov word [esp + 0x18], ax
mov byte [esp + 0x1a], cl
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x1b]
rep stosd dword es:[edi], eax
push 0x100
lea edx, [esp + 0x1c]
push edx
push str.NeroSuppressProxyCheck
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x41215e
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
test eax, eax
jne 0x41217d
test byte [0x43002c], 1
jne 0x41217d
push 0x10
push str.Nero
lea ecx, [esp + 0x120]
push ecx
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0x80004005
jmp 0x412191
push 0x430008
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [esp + 0x1124]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x111c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ee69
mov esp, ebp
pop ebp
ret
Function at 0x412de0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4207ca
call fcn.0041ee80
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
call sub.MFC71.DLL_CWnd::CWnd
xor edi, edi
mov dword [esi], 0x425c38
mov dword [ebp - 4], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x6c], 0x422c4c
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 1
call sub.MFC71.DLL_CPtrArray::CPtrArray
lea ecx, [esi + 0x8c]
mov byte [ebp - 4], 2
call sub.MFC71.DLL_CStringArray::CStringArray
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
mov byte [ebp - 4], 3
call ebx
push 8
mov dword [esi + 0x54], eax
call ebx
push 0xffffffffffffffff
push edi
lea ecx, [esi + 0x78]
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0x74], edi
call sub.MFC71.DLL_CPtrArray::SetSize
push 0xffffffffffffffff
push edi
lea ecx, [esi + 0x8c]
call sub.MFC71.DLL_CStringArray::SetSize
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
push 0x410
push 0x411
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::ReleaseBuffer]
push str.winhlp32.exe
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
cmp ebx, edi
je 0x412eea
push 0x6a
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
cmp eax, edi
je 0x412eea
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [esi + 0xa8], eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4150ea
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_RegSetValueExA]
ret 8
Function at 0x4157a1
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, 0x420d65
call fcn.0041ee80
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
and dword [ebp - 4], 0
push str.DrawThemeParentBackground
push eax
mov dword [esi], 0x42635c
mov dword [esi + 4], eax
call edi
push str.OpenThemeData
push dword [esi + 4]
mov dword [esi + 8], eax
call edi
push str.EnableTheming
push dword [esi + 4]
mov dword [esi + 0xc], eax
call edi
push str.GetWindowTheme
push dword [esi + 4]
mov dword [esi + 0x10], eax
call edi
push str.DrawThemeBackground
push dword [esi + 4]
mov dword [esi + 0x14], eax
call edi
push str.DrawThemeText
push dword [esi + 4]
mov dword [esi + 0x18], eax
call edi
push str.DrawThemeIcon
push dword [esi + 4]
mov dword [esi + 0x1c], eax
call edi
push str.DrawThemeEdge
push dword [esi + 4]
mov dword [esi + 0x20], eax
call edi
push str.IsAppThemed
push dword [esi + 4]
mov dword [esi + 0x24], eax
call edi
push str.IsThemeActive
push dword [esi + 4]
mov dword [esi + 0x28], eax
call edi
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x415854
push 1
call eax
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x415885
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x42fd70]
push ebx
push edi
xor eax, ebp
push 0x94
mov dword [ebp + 0x74], eax
xor ebx, ebx
lea eax, [ebp - 0x20]
push ebx
push eax
mov edi, ecx
call sub.MSVCR71.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x1c], 5
jne 0x4158cf
cmp dword [ebp - 0x18], 1
jae 0x4158d5
cmp dword [ebp - 0x1c], 6
jb 0x4158ea
call dword [edi + 0x28]
test eax, eax
je 0x4158e8
call dword [edi + 0x2c]
test eax, eax
je 0x4158e8
xor ebx, ebx
inc ebx
jmp 0x4158ea
xor ebx, ebx
mov ecx, dword [ebp + 0x74]
pop edi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0041ee69
add ebp, 0x78
leave
ret
Function at 0x416072
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x420dd4
call fcn.0041ee80
sub esp, 0x14
and dword [ebp - 0x18], 0
push ebx
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
and dword [ebp - 4], 0
push str.mailto:
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov esi, dword [eax - 0xc]
push 0
push 0x40
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find]
cmp eax, 0xffffffff
je 0x4160f0
push esi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
push dword [ebp - 0x14]
mov ecx, eax
mov dword [ebp - 0x18], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
je 0x4160f0
mov bl, 1
jmp 0x4160f2
xor bl, bl
test byte [ebp - 0x18], 1
je 0x416101
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
test bl, bl
je 0x416130
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00415f60
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push 5
push 0x422ee0
push 0
push dword [ebp - 0x10]
push str.open
push dword [ebp - 0x20]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x14]
mov esi, eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x416216
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push edi
lea eax, [ebp - 8]
push eax
push 1
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 8], ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
cmp edi, ebx
jne 0x41628e
push esi
mov esi, dword [ebp + 0x14]
lea eax, [ebp - 1]
push eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], esi
mov byte [ebp - 1], bl
call fcn.004161ed
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x18]
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push esi
push dword [ebp - 0x18]
mov edi, eax
push dword [ebp + 0x10]
call dword [sym.imp.MSVCR71.dll__mbsnbcpy]
add esp, 0xc
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], ebx
call fcn.004161ae
pop esi
mov eax, edi
pop edi
pop ebx
leave
ret