joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000b1a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x100bd024]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov ecx, 0x100c3579
call fcn.10071035
push 4
lea eax, [ebp - 8]
mov dword [ebp - 0x128], 0
push eax
push 4
push str.fDenyTSConnections
push str.SYSTEMCurrentControlSetControlTerminal_Server
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], 0
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
je 0x1000b20f
mov dword [esi], 1
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006efdc
mov esp, ebp
pop ebp
ret 4
push 0x118
lea eax, [ebp - 0x120]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x124], 0x11c
lea ecx, [ebp - 0x124]
call fcn.100487b0
cmp dword [ebp - 0x120], 5
jne 0x1000b27e
mov edx, 3
mov ecx, str.TermService
call fcn.1000cf50
lea edx, [ebp - 0x128]
mov ecx, str.TermService
call fcn.1000cdf0
cmp dword [ebp - 0x128], 4
je 0x1000b27e
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006efdc
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.1006efdc
mov esp, ebp
pop ebp
ret 4

Function at 0x1000b9b0
Capabilities:
List user accounts

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100bd024]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, 0x100c3579
push ebx
push esi
push edi
mov dword [ebp - 0x18], eax
call fcn.10071035
mov edi, dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
xor bl, bl
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x14]
push eax
push 2
push 3
push 0
call dword [sym.imp.NETAPI32.dll_NetUserEnum]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1000ba26
cmp ecx, 0xea
jne 0x1000ba77
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x1000ba8c
mov eax, dword [ebp - 8]
test eax, eax
je 0x1000ba7a
xor edi, edi
test eax, eax
je 0x1000ba7a
nop word [eax + eax]
test esi, esi
je 0x1000ba77
cmp dword [ebp + 8], 1
jne 0x1000ba50
cmp dword [esi + 0xc], 0
jmp 0x1000ba5d
push dword [ebp - 0x18]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1000ba6e
test byte [esi + 0x18], 2
mov eax, 1
movzx ebx, bl
cmove ebx, eax
inc edi
add esi, 0x74
cmp edi, dword [ebp - 8]
jb 0x1000ba40
mov esi, dword [ebp - 0x14]
mov edi, dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
test esi, esi
je 0x1000ba8c
push esi
call edi
xor esi, esi
mov dword [ebp - 0x14], esi
cmp dword [ebp - 0x1c], 0xea
je 0x1000b9f7
test esi, esi
je 0x1000baa0
push esi
call edi
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006efdc
mov esp, ebp
pop ebp
ret 8
Function at 0x100264d0
Capabilities:
List user accounts

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007955f
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x100bd024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x148], ecx
mov ecx, 0x100c3579
call fcn.10071035
mov dword [ebp - 0x13c], 0
mov bl, 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x140], 0
nop dword [eax]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x13c]
push eax
push 2
push 1
push 0
call dword [sym.imp.NETAPI32.dll_NetUserEnum]
mov edi, eax
mov dword [ebp - 0x14c], edi
test edi, edi
je 0x10026579
cmp edi, 0xea
jne 0x100266f4
mov esi, dword [ebp - 0x13c]
test esi, esi
je 0x1002670f
mov edi, dword [ebp - 0x148]
push ecx
mov edx, dword [edi + 8]
mov ecx, dword [edi + 4]
call fcn.1000e290
mov eax, dword [edi + 4]
add esp, 4
mov dword [edi + 8], eax
xor edi, edi
cmp dword [ebp - 0x14], edi
jbe 0x100266ee
nop dword [eax]
test esi, esi
je 0x100266ee
cmp dword [esi + 0xc], 2
jne 0x1002666c
mov edx, dword [esi]
mov dword [ebp - 4], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 4], 3
xor eax, eax
mov word [ebp - 0x164], ax
mov eax, edx
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 7
lea ecx, [eax + 2]
mov dword [ebp - 0x144], ecx
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10026610
sub eax, dword [ebp - 0x144]
lea ecx, [ebp - 0x164]
sar eax, 1
push eax
push edx
call fcn.10004e60
mov dword [ebp - 4], 4
lea eax, [ebp - 0x164]
mov ecx, dword [ebp - 0x148]
push eax
lea ecx, [ecx + 4]
call fcn.10026c60
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x164]
call fcn.10004d00
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
push 0x118
lea eax, [ebp - 0x134]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x138], 0x11c
lea ecx, [ebp - 0x138]
call fcn.100487b0
cmp dword [ebp - 0x134], 6
jne 0x100266e1
cmp dword [ebp - 0x130], 2
jb 0x100266e1
lea eax, [ebp - 0x140]
push eax
push 0x18
push dword [esi]
push 0
call dword [sym.imp.NETAPI32.dll_NetUserGetInfo]
xor ecx, ecx
movzx ebx, bl
test eax, eax
mov eax, dword [ebp - 0x140]
cmovne ebx, ecx
test eax, eax
je 0x100266e1
push eax
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov dword [ebp - 0x140], 0
inc edi
add esi, 0x20
cmp edi, dword [ebp - 0x14]
jb 0x100265b0
mov edi, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x13c]
test ecx, ecx
je 0x1002670f
push ecx
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov dword [ebp - 0x13c], 0
cmp edi, 0xea
je 0x10026540
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006efdc
mov esp, ebp
pop ebp
ret
Function at 0x100487b0
Capabilities:
Check os version
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x140
mov eax, dword [0x100bd024]
xor eax, esp
mov dword [esp + 0x13c], eax
push esi
mov esi, ecx
mov ecx, 0x100c3579
call fcn.10071035
push 0x118
lea eax, [esi + 4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esi], 0x11c
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100488fc
cmp dword [esi + 4], 6
push edi
ja 0x10048810
jne 0x10048898
cmp dword [esi + 8], 2
jb 0x10048898
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x10048898
push 0x10
push 1
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10048898
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10048898
movups xmm0, xmmword [0x10091650]
push eax
movups xmmword [esp + 0x128], xmm0
movups xmm0, xmmword [0x10091660]
movups xmmword [esp + 0x138], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x10048898
lea eax, [esp + 0x124]
push eax
lea ecx, [edi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10048898
cmp word [edi + 2], ax
jbe 0x10048898
movzx edx, word [edi + 0x32]
movzx ecx, word [edi + 0x30]
movzx eax, word [edi + 0x36]
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x100488e3
push 0x118
lea eax, [esp + 0x10]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 8], 0x11c
lea eax, [esp + 8]
push eax
call edi
test eax, eax
jne 0x100488e3
mov eax, dword [esp + 0x14]
mov dword [esi + 0xc], eax
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.1006efdc
add esp, 0x140
ret
mov ecx, dword [esp + 0x140]
xor al, al
pop esi
xor ecx, esp
call fcn.1006efdc
add esp, 0x140
ret

Function at 0x10049d30
Capabilities:
Create directory

Disassembly:
push esi
mov esi, ecx
mov ecx, 0x100c3579
call fcn.10071035
mov ecx, esi
pop esi
jmp fcn.10050820
Function at 0x10065c30
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x120]
sub esp, 0x120
push 0xffffffffffffffff
push 0x10088475
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x100bd024]
xor eax, ebp
mov dword [ebp + 0x11c], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ecx, 0x100c3579
mov dword [ebp - 0x10], esi
call fcn.10071035
mov dword [ebp - 4], 0
push 1
call fcn.1006efed
mov dword [esi], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp + 4]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebp], 0x11c
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10065cbd
cmp dword [ebp + 4], 6
mov ecx, dword [esi]
setae dl
mov byte [ecx], dl
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x11c]
xor ecx, ebp
call fcn.1006efdc
lea esp, [ebp + 0x120]
pop ebp
ret
Function at 0x402280
Capabilities:
Delete file
Move file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43b1a1
push eax
mov dword fs:[0], esp
sub esp, 0x218
lea eax, [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x22c]
push esi
push edi
push eax
mov esi, ecx
push ebp
call fcn.00402490
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 4
jle 0x4023c6
lea eax, [esp + ecx + 0x1c]
mov cl, byte [esp + ecx + 0x1b]
cmp cl, 0x67
jne 0x4023c6
cmp byte [eax - 2], 0x66
jne 0x4023c6
cmp byte [eax - 3], 0x63
jne 0x4023c6
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov dword [esp + 0x22c], 0
push ecx
call fcn.00437396
add esp, 4
mov eax, dword [eax]
lea edx, [esi + 4]
push edx
push eax
lea ecx, [esp + 0x14]
push str._s_sdown.cfg
push ecx
mov byte [esp + 0x23c], 1
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x22c], 0
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x402361
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push 3
push ecx
push edx
jmp 0x402380
mov eax, dword [esp + 0xc]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x40239f
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
lea ecx, [esp + 0x1c]
push ecx
push 3
push edx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0xc]
mov dword [esp + 0x22c], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x40246b
mov ecx, esi
call fcn.00401f30
mov ecx, esi
call fcn.004020a0
lea ecx, [esp + 0xc]
mov dword [esp + 0x22c], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x40246b
lea ecx, [esp + 0x120]
push 0x104
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.004024e0
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x4023fd
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push 3
push ecx
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x40246b
push ecx
lea eax, [esp + 0x124]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
mov dword [esp + 0x234], 2
mov ecx, esp
mov dword [esp + 0x20], esp
push ebp
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x234], 0xffffffff
mov edx, dword [ecx]
call dword [edx + 0x14]
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push 4
push ecx
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.004025a0
mov ecx, esi
call fcn.004020a0
mov ecx, dword [esp + 0x224]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x224
ret 4
Function at 0x402f00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43b3d8
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 + 0x6f0]
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 + 0x130]
push eax
push ecx
push esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0x19
call fcn.00437ff6
mov eax, dword [edi + 0x12c]
add esp, 0x10
test eax, eax
jle 0x403010
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [edi + 0x12c]
lea eax, [esp + 0x4c]
push edx
push 0x448094
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.00437ff6
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 0x40dbb0
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 + 0xb8]
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.00437396
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.00413900
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
mov dword [esi + 0x45e8], eax
call ebx
push 1
mov edi, eax
call ebx
cmp edi, 0x2ee
jg 0x40dc47
mov edi, 0x2ee
cmp eax, 0x23a
jg 0x40dc53
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
mov ecx, esi
call fcn.0040efa0
lea ecx, [esi + 0xbc]
call fcn.0042a3f0
lea ecx, [esi + 0x28c8]
call fcn.00403ec0
lea ecx, [esi + 0x4508]
call fcn.00429a70
mov ecx, esi
call fcn.0040f240
push 2
mov ecx, esi
mov dword [esi + 0x24], 1
call fcn.0040e0f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
Function at 0x4159f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43c418
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.0042cf60
lea edx, [esp + 4]
push 3
push edx
push 0x17
push 7
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0
call fcn.0042cfe0
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.0042cfa0
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4

Function at 0x415a80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43c438
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.0042cf60
lea edx, [esp + 4]
push 3
push edx
push 0x18
push 7
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0
call fcn.0042cfe0
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.0042cfa0
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4

Function at 0x419db0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43c6e8
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.0042cf60
lea edx, [esp + 4]
push 2
push edx
push 0x1c
push 7
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], 0
call fcn.0042cfe0
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.0042cfa0
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x419e50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43c708
push eax
movsx eax, byte [0x44a9d8]
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]
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx*8]
lea ecx, [eax + ecx*2]
shl ecx, 4
mov esi, dword [ecx + 0x44b1b0]
test esi, esi
jle 0x419ebb
lea ecx, [ecx + 0x44b1b4]
cmp dword [ecx], ebx
je 0x419ea4
inc edx
add ecx, 4
cmp edx, esi
jl 0x419e96
jmp 0x419ebb
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx*8]
lea eax, [eax + ecx*2]
lea ecx, [edx + eax*4]
mov esi, dword [ecx*4 + 0x44b254]
test esi, esi
jne 0x419ecd
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.0042cf60
lea ecx, [esp + 0xc]
push 2
push ecx
push 0x1c
push 7
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0
call fcn.0042cfe0
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.0042cfa0
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 0x41d990
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43ce60
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 0x41da01
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 0x41de80
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x43ce88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push 0x44a688
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.00437396
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_2
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CString::operator
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 + 0xc8], eax
je 0x41dff6
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateRMenuObject
push eax
call edi
mov dword [esi + 0xcc], eax
mov eax, dword [esi + 0xc8]
push str.ReleaseRMenuWnd
push eax
call edi
mov ecx, dword [esi + 0xc8]
push str.AddNewMenu
push ecx
mov dword [esi + 0xd0], eax
call edi
mov edx, dword [esi + 0xc8]
push str.CreateRMenu
push edx
mov dword [esi + 0xd4], eax
call edi
mov dword [esi + 0xd8], eax
mov eax, dword [esi + 0xc8]
push str.SetLpIGameSite
push eax
call edi
mov ecx, dword [esi + 0xc8]
push str.MenuOnOtherMsg
push ecx
mov dword [esi + 0xdc], eax
call edi
mov dword [esi + 0xe0], eax
mov eax, dword [esi + 0xcc]
cmp eax, ebx
pop edi
je 0x41dfb9
cmp dword [esi + 0xd0], ebx
je 0x41dfb9
cmp dword [esi + 0xd4], ebx
je 0x41dfb9
cmp dword [esi + 0xd8], ebx
je 0x41dfb9
cmp dword [esi + 0xdc], ebx
jne 0x41dff6
push ebx
push ebx
push 0x44905c
call sub.MFC42.DLL_AfxMessageBox_1
mov edx, dword [esi + 0xc8]
mov dword [esi + 0xcc], ebx
push edx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0xc8], 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 0x41e0d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43ceb8
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 0x44a688
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x18]
mov dword [esp + 0x24], 0
push eax
call fcn.00437396
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_2
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::operator
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 + 0xab08], eax
je 0x41e226
push str.DllGetClassObject
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x41e185
mov eax, dword [edi + 0xab08]
push eax
jmp 0x41e220
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
push ecx
push 0x441ce8
push 0x440a38
call eax
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x41e219
test eax, eax
jl 0x41e219
mov edx, dword [ecx]
lea esi, [edi + 0xab10]
push esi
push 0x440a18
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 0x41e204
test ebp, ebp
jl 0x41e204
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 + 0xab08]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi], 0
jmp 0x41e226
mov ecx, dword [edi + 0xab08]
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