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

Disassembly:
push 0xffffffffffffffff
push 0x4485d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebp
push esi
push edi
mov edi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [edi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esp + 0x4c]
lea eax, [edi + 0x6f4]
push eax
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x30]
push 1
mov ecx, esi
mov ebp, eax
call sub.MFC42.DLL_CDC::SetBkMode
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x38]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
sub eax, ecx
push 5
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
lea ecx, [edi + 0x134]
push eax
push ecx
push esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0x19
call fcn.00445294
mov eax, dword [edi + 0x130]
add esp, 0x10
test eax, eax
jle 0x403f60
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [edi + 0x130]
lea eax, [esp + 0x4c]
push edx
push 0x457088
push eax
mov dword [esp + 0x50], 0
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
sub eax, ecx
mov ecx, dword [esp + 0x24]
push 5
sub ecx, edi
lea edx, [eax - 0x28]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], edx
lea edi, [ecx - 0x1e]
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x5c]
push ecx
push edx
push esi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], eax
call fcn.00445294
add esp, 0x1c
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi]
push ebp
mov ecx, esi
call dword [eax + 0x30]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
Function at 0x413d90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x449518
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
lea ecx, [esp]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea edx, [esp + 8]
push str._s_s
push edx
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
add esp, 0x10
push eax
push ecx
push 0x103
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea ecx, [esp]
mov dword [esp + 0xc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x414fc0
Capabilities:
Set current directory

Disassembly:
sub esp, 0x110
mov eax, dword [esp + 0x114]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x40
lea edi, [esp + 0x1d]
lea ebp, [esi + 0x4720]
mov byte [esp + 0x1c], 0
mov dword [ebp], eax
xor eax, eax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x14]
push ecx
stosb byte es:[edi], al
call fcn.00444634
mov edx, dword [eax]
add esp, 4
lea eax, [esp + 0x1c]
push edx
push str._sdata
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, esi
call fcn.0041a210
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
mov dword [esi + 0x4784], eax
call ebx
push 1
mov edi, eax
call ebx
cmp edi, 0x2ee
jg 0x415057
mov edi, 0x2ee
cmp eax, 0x23a
jg 0x415063
mov eax, 0x23a
mov dword [esp + 0x14], eax
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x17]
push eax
push ecx
push 0
push ebp
mov dword [esp + 0x2c], edi
mov byte [esp + 0x27], 1
call dword [sym.imp.2DEngineDll.dll_public:_static_long_int___cdecl_IXHandler::IDisplay::InitializeEx2_struct_HWND____const_const___char_const___bool_const___unsigned_int_const___unsigned_int_const__]
add esp, 0x14
test eax, eax
jge 0x4150ac
push 0
push 0
push 0x457b24
call sub.MFC42.DLL_AfxMessageBox
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret 4
mov ecx, esi
call fcn.004167a0
lea ecx, [esi + 0x1dc]
call fcn.00439880
lea ecx, [esi + 0x29e8]
call fcn.00405110
lea ecx, [esi + 0xb4]
call fcn.00436090
mov ecx, esi
call fcn.00416a40
push 2
mov ecx, esi
mov dword [esi + 0x471c], 1
call fcn.00415890
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x110
ret 4
Function at 0x4158b0
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x471c]
test eax, eax
je 0x415ab5
call dword [sym.imp.2DEngineDll.dll_public:_static_bool___cdecl_IXHandler::IDisplay::IsLost_void_]
test al, al
je 0x4158d4
push 3
mov ecx, esi
call fcn.00415890
push ebx
push edi
mov edi, dword [esp + 0x10]
lea ecx, [esi + 0xb4]
push edi
call fcn.00436060
lea ebx, [esi + 0x4700]
push edi
mov ecx, ebx
call fcn.00401300
push edi
lea ecx, [esi + 0x473c]
call fcn.00414000
push edi
lea ecx, [esi + 0x19c]
call fcn.0043b9f0
mov ecx, esi
call fcn.0041b020
test al, al
je 0x41592c
push str.test_NeedKeepPrimary
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esi + 0x4718], 2
mov ecx, esi
call fcn.004167a0
mov eax, dword [esi + 0x4718]
test eax, eax
jne 0x415a63
mov eax, dword [esi + 0x4784]
test eax, eax
je 0x415a63
mov eax, dword [0x459fdc]
inc eax
cmp eax, 1
mov dword [0x459fdc], eax
jle 0x415a63
mov eax, dword [0x45a0dc]
or edi, 0xffffffff
cmp eax, 0xffffffff
mov dword [0x459fdc], 0
je 0x41598d
push eax
mov ecx, 0x45a160
call fcn.00428040
test eax, eax
je 0x41598d
movsx edi, byte [eax + 0x28]
cmp dword [0x45a0dc], 0xffffffff
je 0x4159c5
test edi, edi
jl 0x4159c5
cmp edi, 3
jg 0x4159c5
mov eax, 0x459fec
test eax, eax
je 0x4159c5
lea ecx, [edi*8]
sub ecx, edi
lea edx, [ecx*8 + 0x459ff0]
test edx, edx
je 0x4159c5
mov ecx, esi
call fcn.00415ac0
jmp 0x415a40
mov ecx, esi
call fcn.0041ae30
mov ecx, esi
call fcn.00419770
mov ecx, dword [0x46a51c]
test ecx, ecx
je 0x4159e2
call fcn.0043def0
mov ecx, esi
mov byte [esi + 0x1c], 1
call fcn.00417960
mov ecx, esi
call fcn.00417bb0
mov ecx, esi
call fcn.00417690
mov ecx, esi
call fcn.00417e40
lea edi, [esi + 0x24]
mov ecx, 0x459fe8
push edi
call fcn.0041b760
mov ecx, esi
call fcn.00419550
mov ecx, esi
call fcn.004174d0
push edi
mov ecx, ebx
call fcn.00401720
mov ecx, dword [0x46a51c]
test ecx, ecx
je 0x415a35
call fcn.0043df00
push edi
mov ecx, 0x468f8c
call fcn.00443070
mov eax, dword [esi + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x24]
test eax, eax
je 0x415a52
mov eax, dword [eax]
jmp 0x415a54
xor eax, eax
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.2DEngineDll.dll_public:_static_void___cdecl_IXHandler::IDisplay::BltImage_unsigned_char___unsigned_long_int_const__]
add esp, 8
mov eax, dword [esi + 0x4718]
pop edi
cmp eax, 2
pop ebx
jl 0x415aa4
mov ecx, esi
call fcn.00415ac0
mov eax, dword [esi + 0x4784]
test eax, eax
je 0x415aa4
mov eax, dword [esi + 0x24]
mov edx, dword [esi + 0x38]
test eax, eax
mov dword [esp + 8], edx
je 0x415a93
mov eax, dword [eax]
jmp 0x415a95
xor eax, eax
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.2DEngineDll.dll_public:_static_void___cdecl_IXHandler::IDisplay::BltImage_unsigned_char___unsigned_long_int_const__]
add esp, 8
mov ecx, esi
call fcn.00415be0
mov dword [esi + 0x4718], 0
pop esi
ret 4
Function at 0x41a3b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4498b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
xor eax, eax
push esi
mov dword [esp + 4], eax
mov dword [esp + 4], 0x1d
mov dword [esp + 8], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
call fcn.0043cfa0
lea eax, [esp + 4]
push 1
push eax
push 0x1d
push 7
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], 0
call fcn.0043d020
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x45a158
call fcn.0043ce50
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.0043cfe0
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 8

Function at 0x41cea0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x449a38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
xor eax, eax
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], eax
mov dword [esp + 8], ecx
lea ecx, [esp + 0xc]
mov dword [esp + 4], 0x17
call fcn.0043cfa0
lea edx, [esp + 4]
push 3
push edx
push 0x17
push 7
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0
call fcn.0043d020
mov ecx, dword [esi + 4]
lea edx, [esp + 0xc]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0043cfe0
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4

Function at 0x41cf30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x449a58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
xor eax, eax
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], eax
mov dword [esp + 8], ecx
lea ecx, [esp + 0xc]
mov dword [esp + 4], 0x18
call fcn.0043cfa0
lea edx, [esp + 4]
push 3
push edx
push 0x18
push 7
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0
call fcn.0043d020
mov ecx, dword [esi + 4]
lea edx, [esp + 0xc]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0043cfe0
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4

Function at 0x422340
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x449e08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
xor eax, eax
push esi
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x1c
call fcn.0043cfa0
lea edx, [esp + 4]
push 2
push edx
push 0x1c
push 7
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], 0
call fcn.0043d020
mov ecx, dword [esi + 8]
lea edx, [esp + 0x14]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.0043cfe0
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x4223e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x449e28
push eax
mov dword fs:[0], esp
sub esp, 0x24
xor edx, edx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [esp + 0x40]
movsx ecx, byte [0x45a408]
lea eax, [ecx + ecx*4]
shl eax, 5
add eax, ecx
lea eax, [eax + eax*2]
shl eax, 2
mov esi, dword [eax + 0x45adbc]
test esi, esi
jle 0x42244e
lea eax, [eax + 0x45adc0]
cmp dword [eax], ebx
je 0x422436
inc edx
add eax, 4
cmp edx, esi
jl 0x422428
jmp 0x42244e
lea eax, [ecx + ecx*4]
shl eax, 5
add eax, ecx
lea ecx, [edx + eax*2]
add eax, ecx
mov esi, dword [eax*4 + 0x45ae60]
test esi, esi
jne 0x422460
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.MSVCRT.dll_time]
mov esi, dword [esp + 0x44]
add esp, 4
xor eax, eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp + 0xc], 0x1c
mov dword [esp + 0x10], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call fcn.0043cfa0
lea ecx, [esp + 0xc]
push 2
push ecx
push 0x1c
push 7
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0
call fcn.0043d020
mov ecx, dword [edi + 8]
lea eax, [esp + 0x1c]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
add esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.0043cfe0
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x4264a0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x44a31b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x518
push ebx
push ebp
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x322]
mov word [esp + 0x320], 0
rep stosd dword es:[edi], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x103
stosw word es:[edi], ax
lea eax, [esp + 0x324]
push eax
push 0
call ebx
mov esi, dword [sym.imp.MSVCRT.dll_wcsrchr]
lea ecx, [esp + 0x320]
push 0x5c
push ecx
call esi
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x42651e
lea edx, [esp + 0x320]
push 0x2f
push edx
call esi
add esp, 8
mov ebp, eax
mov word [ebp], 0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x11a]
mov word [esp + 0x118], 0
push 0x103
rep stosd dword es:[edi], eax
mov ecx, dword [0x45a1cc]
stosw word es:[edi], ax
lea eax, [esp + 0x11c]
push eax
push ecx
call ebx
mov edi, 2
lea edx, [esp + 0x118]
push 0x5c
push edx
call esi
add esp, 8
test eax, eax
jne 0x42657d
lea eax, [esp + 0x118]
push 0x2f
push eax
call esi
add esp, 8
dec edi
mov word [eax], 0
jne 0x42655b
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push str..config.ini
push 0
push str.Version
push 0x458758
call ebx
mov ecx, eax
mov eax, 0x431bde83
mul ecx
mov esi, edx
mov eax, ecx
xor edx, edx
mov edi, 0xf4240
div edi
mov eax, 0xd1b71759
shr esi, 0x12
mul edx
mov edi, edx
mov eax, ecx
xor edx, edx
mov ecx, 0x2710
div ecx
lea ecx, [esp + 0x118]
lea eax, [ebp + 2]
push ecx
push 0xffffffffffffffff
push 0
push 0x804
push 1
push 1
shr edi, 0xd
push edx
push edi
push esi
lea edx, [esp + 0x344]
push eax
push edx
push eax
push 0x458748
call fcn.00446230
add esp, 0x34
lea eax, [esp + 0x118]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x534], 0
stosb byte es:[edi], al
call sub.MFC42.DLL_CString::GetBuffer
push eax
push str._sconfigDynamicInfo.ini
lea ecx, [esp + 0x1c]
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea edx, [esp + 0x14]
push edx
push 0x2710
push 0x458720
push 0x458758
call ebx
push 0
push eax
call fcn.00446920
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x530], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x518]
mov dword fs:[0], ecx
add esp, 0x524
ret
Function at 0x427e00
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44a690
push eax
mov dword fs:[0], esp
mov dword [esp + 8], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push eax
push 5
push ecx
push str.public
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [esp + 0x14]
cmp eax, 5
mov byte [esp + 8], 0
lea ecx, [esp + 0x10]
mov dword [edx], eax
jne 0x427e71
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 8], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp]
mov dword fs:[0], ecx
add esp, 0xc
ret 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 8], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0xc
ret 0xc

Function at 0x4283e0
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x44a6b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push 0x459fd8
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
mov dword [esp + 0x20], ebx
call fcn.00444634
add esp, 4
push str...GameListMenu1.dll
lea ecx, [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [esi + 0xdc], eax
je 0x428560
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateRMenuObject
push eax
call edi
mov dword [esi + 0xe0], eax
mov eax, dword [esi + 0xdc]
push str.ReleaseRMenuWnd
push eax
call edi
mov ecx, dword [esi + 0xdc]
push str.AddNewMenu
push ecx
mov dword [esi + 0xe4], eax
call edi
mov edx, dword [esi + 0xdc]
push str.CreateRMenu
push edx
mov dword [esi + 0xe8], eax
call edi
mov dword [esi + 0xec], eax
mov eax, dword [esi + 0xdc]
push str.SetLpIGameSite
push eax
call edi
mov dword [esi + 0xf0], eax
mov eax, dword [esi + 0xcc]
cmp eax, ebx
je 0x4284f8
mov ecx, dword [esi + 0xdc]
push str.MenuOnOtherMsg
push ecx
call edi
mov dword [esi + 0xc4], eax
mov eax, dword [esi + 0xe0]
pop edi
cmp eax, ebx
je 0x428523
cmp dword [esi + 0xe4], ebx
je 0x428523
cmp dword [esi + 0xe8], ebx
je 0x428523
cmp dword [esi + 0xec], ebx
je 0x428523
cmp dword [esi + 0xf0], ebx
jne 0x428560
push ebx
push ebx
push 0x458938
call sub.MFC42.DLL_AfxMessageBox
mov edx, dword [esi + 0xdc]
mov dword [esi + 0xe0], ebx
push edx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xf0], ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0xdc], ebx
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x428650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44a6e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
push edi
mov edi, ecx
push 0x459fd8
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x18]
mov dword [esp + 0x24], 0
push eax
call fcn.00444634
add esp, 4
push str.hcq.dll
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [edi + 0xee50], eax
je 0x4287a6
push str.DllGetClassObject
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x428705
mov eax, dword [edi + 0xee50]
push eax
jmp 0x4287a0
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
push ecx
push 0x44f238
push 0x44e0b8
call eax
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x428799
test eax, eax
jl 0x428799
mov edx, dword [ecx]
lea esi, [edi + 0x103b8]
push esi
push 0x44e098
push 0
push ecx
call dword [edx + 0xc]
mov ebp, eax
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esi]
test eax, eax
je 0x428784
test ebp, ebp
jl 0x428784
mov edx, dword [eax]
push 0x10
push eax
call dword [edx + 0xc]
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov eax, dword [edi + 0xee50]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi], 0
jmp 0x4287a6
mov ecx, dword [edi + 0xee50]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x42eb70
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x44a8d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp]
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0xc]
mov byte [esp + 0x18], 1
push eax
call fcn.00444634
add esp, 4
push str.datapet.exe
lea ecx, [esp + 0xc]
push eax
push ecx
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 8]
mov byte [esp + 0x18], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 8]
push edx
call fcn.00444634
add esp, 4
push str.data
push eax
lea eax, [esp + 0x14]
mov byte [esp + 0x20], 4
push eax
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 4]
mov byte [esp + 0x1c], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x45a180]
test eax, eax
je 0x42ec4d
mov eax, dword [eax + 0x20]
mov ecx, dword [esp]
mov edx, dword [esp + 4]
push 0
push ecx
push 0
push edx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp]
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x42f150
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push 1
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret 4