joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b4e5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004041e5
xor ebx, ebx
cmp dword [0x434898], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40b5ba
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x40b525
sub eax, eax
jmp 0x40b67e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40b51e
push eax
call fcn.00404182
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x434898], eax
call esi
push eax
call fcn.00404182
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43489c], eax
call esi
push eax
call fcn.00404182
mov dword [0x4348a0], eax
lea eax, [ebp - 8]
push eax
call fcn.004067af
test eax, eax
pop ecx
pop ecx
je 0x40b588
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40b5ba
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00404182
cmp eax, ebx
pop ecx
mov dword [0x4348a8], eax
je 0x40b5ba
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404182
pop ecx
mov dword [0x4348a4], eax
mov eax, dword [0x4348a4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40b633
cmp dword [0x4348a8], esi
je 0x40b633
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
je 0x40b600
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4348a8]
call fcn.004041ee
pop ecx
call eax
test eax, eax
je 0x40b600
test byte [ebp - 0x18], 1
jne 0x40b633
lea eax, [ebp - 0xc]
push eax
call fcn.004067e6
test eax, eax
pop ecx
je 0x40b61b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40b62a
or dword [ebp + 0x10], 0x200000
jmp 0x40b664
or dword [ebp + 0x10], 0x40000
jmp 0x40b664
mov eax, dword [0x43489c]
cmp eax, esi
je 0x40b664
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40b664
mov eax, dword [0x4348a0]
cmp eax, esi
je 0x40b664
push dword [ebp - 4]
push eax
call fcn.004041ee
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x434898]
call fcn.004041ee
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40127b
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 0x84, 0
jmp 0x40131c
mov edx, edi
call fcn.004011e2
mov edx, 0x1c000
mov eax, 0x404054
mov ebx, esi
call fcn.0040267d
lea edx, [ebp - 2]
mov eax, esi
mov dword [ebp - 2], 0
jmp 0x40135a
or bl, 1
idiv ebx
mov edx, dword [0x404050]
mov ebx, esi
add edx, eax
mov eax, 0x404054
call fcn.004011e2
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, esi
or al, 0x40
mov edi, 0x40338d
push eax
sub edi, fcn.00402b27
push edi
push fcn.00402b27
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x4012be
mov eax, fcn.00402b27
mov ebx, esi
jmp 0x4012a6
sub ebp, 0x82
mov esi, eax
mov ebx, dword [0x404050]
cdq
jmp 0x4012cf
call fcn.00401fff
lea eax, [esi + 0x1c000]
lea ebx, [ebp - 2]
test esi, esi
je 0x40136e
add eax, eax
dec esi
and esi, 0x404054
mov edx, eax
mov eax, esi
call fcn.00402b27
lea esp, [ebp + 0x82]
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x4025c0
Capabilities:
Print debug messages

Disassembly:
push ecx
push esi
mov esi, ecx
mov byte [esi + 0xd1], 0
call dword [sym.imp.MSVCRT.dll___p___argc]
cmp dword [eax], 2
jle 0x402612
call dword [sym.imp.MSVCRT.dll___p___argv]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
push ecx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esp + 4]
push str._PIPE
push edx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x402609
mov byte [esi + 0xd1], 1
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString
mov al, byte [esi + 0xd1]
pop esi
test al, al
je 0x402628
push str._cc__pipe
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop ecx
ret
Function at 0x406ff0
Capabilities:
Create directory

Disassembly:
sub esp, 0x100
mov edx, ecx
mov al, byte [edx + 0x10]
push ebx
push ebp
push esi
lea esi, [edx + 0x10]
push edi
test al, al
jne 0x40701f
push str.CreateLogPath_Error__n
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [edx + 4]
lea ecx, [esp + 0x10]
push eax
push esi
push str._s__d
push 0xff
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + ecx + 0xf]
mov cl, byte [esp + ecx + 0xf]
cmp cl, 0x2f
jne 0x40706f
mov byte [eax], 0
mov ebp, dword [sym.imp.MSVCRT.dll_strchr]
lea eax, [esp + 0x10]
push 0x2f
push eax
call ebp
add esp, 8
test eax, eax
je 0x40711d
mov bl, byte [eax + 1]
lea edi, [eax + 1]
test bl, bl
je 0x40712b
mov byte [edi], 0
lea esi, [esp + 0x10]
mov eax, 0x439680
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4070c7
test cl, cl
je 0x4070c3
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4070c7
add eax, 2
add esi, 2
test cl, cl
jne 0x4070a3
xor eax, eax
jmp 0x4070cc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x407114
lea esi, [esp + 0x10]
mov eax, 0x43967c
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4070fd
test cl, cl
je 0x4070f9
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4070fd
add eax, 2
add esi, 2
test cl, cl
jne 0x4070d9
xor eax, eax
jmp 0x407102
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x407114
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll__mkdir]
add esp, 4
mov byte [edi], bl
mov eax, edi
jmp 0x407079
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.MSVCRT.dll__mkdir]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret
Function at 0x408460
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x42eb68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push str.SoftwareTENCENTQQGamecc
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 4]
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push ecx
push 0x80000001
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4084bd
mov esi, dword [esp + 8]
jmp 0x4084f4
mov ecx, dword [esp + 4]
lea edx, [esp + 0xc]
lea eax, [esp + 8]
push edx
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push ecx
push 0x80000001
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40851e
mov esi, dword [esp + 8]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x24]
push 4
push eax
push 4
push 0
push ecx
push esi
mov dword [esp + 0x3c], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test esi, esi
je 0x40851e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 8

Function at 0x408550
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x42eb98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
xor ebx, ebx
push str.SoftwareTENCENTQQGamecc
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], ebx
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push 0xf003f
push ebx
push ecx
push 0x80000001
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x40861d
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0xc]
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
push ebx
push edx
push esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x408612
cmp esi, ebx
je 0x4085dc
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 8]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
cmp esi, ebx
je 0x40861d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 8]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x410dd0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push edi
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
dec eax
pop edi
je 0x410e0f
dec eax
je 0x410e32
xor eax, eax
add esp, 0x94
ret
cmp ecx, 4
jne 0x410e32
mov eax, dword [esp + 8]
test eax, eax
je 0x410e92
cmp eax, 0xa
je 0x410e86
cmp eax, 0x5a
je 0x410e7a
mov eax, 9
add esp, 0x94
ret
cmp ecx, 3
je 0x410e6e
cmp ecx, 4
je 0x410e26
cmp ecx, 5
jne 0x410e4d
mov eax, dword [esp + 8]
sub eax, 0
je 0x410e62
dec eax
je 0x410e56
xor eax, eax
add esp, 0x94
ret
mov eax, 0xb
add esp, 0x94
ret
mov eax, 0xa
add esp, 0x94
ret
mov eax, 8
add esp, 0x94
ret
mov eax, 5
add esp, 0x94
ret
mov eax, 4
add esp, 0x94
ret
mov eax, 3
add esp, 0x94
ret
Function at 0x411870
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x42f298
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
push 0x43b598
lea ecx, [esp + 0x14]
mov dword [esi + 0x729c], ebx
mov dword [esi + 0x72a0], ebx
mov dword [esi + 0x72a4], ebx
mov dword [esi + 0x72a8], ebx
mov dword [esi + 0x72ac], ebx
mov dword [esi + 0x72b0], ebx
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x18]
mov dword [esp + 0x24], ebx
push eax
call fcn.0042b1c0
add esp, 4
push str...GameListMenu1.dll
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [esi + 0x72b0], eax
je 0x4119f6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateRMenuObject
push eax
call edi
mov dword [esi + 0x729c], eax
mov eax, dword [esi + 0x72b0]
push str.ReleaseRMenuWnd
push eax
call edi
mov ecx, dword [esi + 0x72b0]
push str.AddNewMenu
push ecx
mov dword [esi + 0x72a0], eax
call edi
mov edx, dword [esi + 0x72b0]
push str.CreateRMenu
push edx
mov dword [esi + 0x72a4], eax
call edi
mov dword [esi + 0x72a8], eax
mov eax, dword [esi + 0x72b0]
push str.SetLpIGameSite
push eax
call edi
mov dword [esi + 0x72ac], eax
mov al, byte [0x43b671]
cmp al, bl
mov ebp, 1
je 0x4119b6
mov ecx, dword [esi + 0x72b0]
push str.MenuOnOtherMsg
push ecx
call edi
cmp eax, ebx
mov dword [0x43b66c], eax
jne 0x4119b6
xor ebp, ebp
cmp dword [esi + 0x729c], ebx
je 0x4119e9
cmp dword [esi + 0x72a0], ebx
je 0x4119e9
cmp dword [esi + 0x72a4], ebx
je 0x4119e9
cmp dword [esi + 0x72a8], ebx
je 0x4119e9
cmp dword [esi + 0x72ac], ebx
je 0x4119e9
cmp ebp, ebx
je 0x4119e9
mov edi, 1
jmp 0x411a1c
mov edx, dword [esi + 0x72b0]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
mov dword [esi + 0x72b0], ebx
mov dword [esi + 0x729c], ebx
mov dword [esi + 0x72a0], ebx
mov dword [esi + 0x72a4], ebx
mov dword [esi + 0x72a8], ebx
mov dword [esi + 0x72ac], ebx
mov eax, dword [esi + 0x729c]
cmp eax, ebx
je 0x411a31
push esi
call eax
add esp, 4
mov dword [0x43b668], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x415d90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42f6b2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x178
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00401000
lea ecx, [esp + 0xc]
mov dword [esp + 0x184], 0
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0xc]
push 0x439fc0
push eax
mov byte [esp + 0x18c], 1
call sub.MFC42.DLL_CString::Format
add esi, 0x960
add esp, 8
mov ecx, esi
call fcn.00409740
push eax
lea ecx, [esp + 0x80]
call fcn.00408d30
mov ecx, esi
call fcn.0040e780
push eax
lea ecx, [esp + 0x80]
call fcn.00408dd0
push 0
mov ecx, esi
call fcn.0040e790
push eax
lea ecx, [esp + 0x84]
call fcn.00408ef0
push 6
lea ecx, [esp + 0x20]
call fcn.00401c90
mov ecx, esi
call fcn.0040e7d0
push eax
lea ecx, [esp + 0x80]
call fcn.00408e30
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x43b598
call sub.MFC42.DLL_CString::CString_1
push 0
push 0
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x198], 2
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 3
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x43b598
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x198], 1
call fcn.00401ae0
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CDialog::DoModal
lea ecx, [esp + 0xc]
mov byte [esp + 0x184], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x168]
mov dword [esp + 0x184], 0xa
mov dword [esp + 0x164], 0x4318cc
test eax, eax
je 0x415ee6
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x158]
mov dword [esp + 0x164], 0x4319a0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x154]
mov byte [esp + 0x184], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x150]
mov byte [esp + 0x184], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x134]
mov byte [esp + 0x184], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xf4]
mov byte [esp + 0x184], 6
call sub.MFC42.DLL_CEdit::CEdit
lea ecx, [esp + 0x1c]
lea eax, [esp + 0xbc]
neg ecx
sbb ecx, ecx
mov byte [esp + 0x184], 5
and ecx, eax
call fcn.004246e0
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x7c]
neg ecx
sbb ecx, ecx
mov byte [esp + 0x184], 4
and ecx, edx
call fcn.00408c10
lea ecx, [esp + 0x1c]
mov dword [esp + 0x184], 0xffffffff
call sub.MFC42.DLL_CDialog::CDialog
mov ecx, dword [esp + 0x17c]
pop esi
mov dword fs:[0], ecx
add esp, 0x184
ret
Function at 0x4201b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x9c
push ebx
push ebp
mov dword [esp + 0x10], ecx
push esi
mov edx, 0x51
mov ebx, 1
mov eax, 0x63
xor ebp, ebp
mov esi, 0x11a
mov ecx, 0x75
mov dword [esp + 0x78], edx
mov dword [esp + 0x90], edx
push edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 2
mov dword [esp + 0x24], 4
mov dword [esp + 0x28], 7
mov dword [esp + 0x2c], 0xb
mov dword [esp + 0x30], 0x18
mov dword [esp + 0x34], 0x24
mov dword [esp + 0x38], 0x2f
mov dword [esp + 0x3c], 0x39
mov dword [esp + 0x40], 0x42
mov dword [esp + 0x44], 0x4c
mov dword [esp + 0x48], 0x57
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0x70
mov dword [esp + 0x54], 0x74
mov dword [esp + 0x58], 0x77
mov dword [esp + 0x5c], 0x79
mov dword [esp + 0x60], 0x7a
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], 0x109
mov dword [esp + 0x70], 0xf5
mov dword [esp + 0x74], 0xe3
mov dword [esp + 0x78], 0x3e
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], 0x88
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
mov dword [esp + 0x98], 0x3d
mov dword [esp + 0x9c], 0xe4
mov dword [esp + 0xa0], 0xf6
mov dword [esp + 0xa4], 0x108
mov dword [esp + 0xa8], esi
mov edx, 0x21
mov dword [esp + 0x10], ebx
mov eax, dword [esp + ebp + 0x68]
mov ecx, ebx
mov ebx, dword [esp + ebp + 0x20]
add eax, 3
mov dword [esp + 0x14], eax
cmp ecx, ebx
fild dword [esp + 0x14]
jge 0x420349
mov esi, dword [esp + 0x18]
add edx, 0xffffffec
mov dword [esp + 0x14], edx
mov edx, ecx
shl edx, 4
add edx, ecx
mov edi, ebx
sub edi, ecx
lea esi, [esi + edx*4 + 0x48]
fadd dword [0x432a98]
add eax, 0xffffffd3
mov dword [esi - 4], eax
mov eax, dword [esp + 0x14]
fld st(0)
mov dword [esi], eax
call sub.MSVCRT.dll__ftol
add esi, 0x44
dec edi
jne 0x42032a
fstp st(0)
fild dword [esp + 0x10]
fmul qword [str.fffff_]
call sub.MSVCRT.dll__ftol
mov esi, dword [esp + 0x10]
mov edx, 0x24
sub edx, eax
add ebp, 4
inc esi
cmp ebp, 0x44
mov dword [esp + 0x10], esi
jl 0x4202f7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret
Function at 0x4222d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xf8
push ebx
push ebp
push esi
mov eax, 0xa
lea esi, [ecx + 0x2074]
push edi
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 2
mov dword [esp + 0x20], 3
mov dword [esp + 0x24], 4
mov dword [esp + 0x28], 5
mov dword [esp + 0x2c], 6
mov dword [esp + 0x30], 7
mov dword [esp + 0x34], 8
mov dword [esp + 0x38], 9
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0xb
mov dword [esp + 0x44], 0xc
mov dword [esp + 0x48], 0xd
mov dword [esp + 0x4c], 0xe
mov dword [esp + 0x50], 0x18
mov dword [esp + 0x54], 0x19
mov dword [esp + 0x58], 0x1a
mov dword [esp + 0x5c], 0x24
mov dword [esp + 0x60], 0x25
mov dword [esp + 0x64], 0x2f
mov dword [esp + 0x68], 0x42
mov dword [esp + 0x6c], 0x4c
mov dword [esp + 0x70], 0x4d
mov dword [esp + 0x74], 0x57
mov dword [esp + 0x78], 0x58
mov dword [esp + 0x7c], 0x59
mov dword [esp + 0x80], 0x63
mov dword [esp + 0x84], 0x64
mov dword [esp + 0x88], 0x65
mov dword [esp + 0x8c], 0x66
mov dword [esp + 0x90], 0x70
mov dword [esp + 0x94], 0x71
mov dword [esp + 0x98], 0x72
mov dword [esp + 0x9c], 0x73
mov dword [esp + 0xa0], 0x74
mov dword [esp + 0xa4], 0x75
mov dword [esp + 0xa8], 0x76
mov dword [esp + 0xac], 0x77
mov dword [esp + 0xb0], 0x78
mov dword [esp + 0xb4], 0x79
mov dword [esp + 0xb8], 0x4b
mov dword [esp + 0xbc], 0x55
mov dword [esp + 0xc0], 0x56
mov dword [esp + 0xc4], 0x60
mov dword [esp + 0xc8], 0x61
mov dword [esp + 0xcc], 0x62
mov dword [esp + 0xd0], 0x6c
mov dword [esp + 0xd4], 0x6d
mov dword [esp + 0xd8], 0x6e
mov dword [esp + 0xdc], 0x6f
mov dword [esp + 0xe0], 0x14
mov dword [esp + 0xe4], 0x15
mov dword [esp + 0xe8], 0x16
mov dword [esp + 0xec], 0x17
mov dword [esp + 0xf0], 0x21
mov dword [esp + 0xf4], 0x22
mov dword [esp + 0xf8], 0x23
mov dword [esp + 0xfc], 0x2d
mov dword [esp + 0x100], 0x2e
mov dword [esp + 0x104], 0x38
lea ebx, [esp + 0x18]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov edx, ebx
mov edi, 6
mov eax, dword [edx]
add edx, 0x28
mov ebp, eax
add esi, 0xf0
shl ebp, 4
add ebp, eax
dec edi
lea eax, [ecx + ebp*4 + 0xc]
mov dword [esi - 0xf0], eax
jne 0x42253a
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add ebx, 4
add esi, 0x18
dec eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
jne 0x422533
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf8
ret
Function at 0x424640
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4300d1
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
push edi
lea ecx, [esi + 4]
call fcn.00408870
xor edi, edi
mov dword [esi + 0xc], 0x432fd0
mov dword [esi + 0x10], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x20], 0x432fbc
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esi], 0x432fb0
mov dword [esi + 0x34], edi
mov eax, dword [esi + 0x10]
cmp eax, edi
je 0x4246a5
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 0x10], edi
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret

Function at 0x426900
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43016f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
xor esi, esi
mov dword [esp + 0x1c], esi
lea ecx, [esp + 8]
mov dword [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString_3
push 0x43b598
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString_1
mov bl, 3
push 0x43b598
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], bl
call fcn.00426038
mov eax, dword [esp + 0x34]
cmp dword [eax - 8], esi
jle 0x4269eb
mov al, byte [esi + eax]
cmp al, 0x5c
mov byte [esp + 0x10], al
je 0x4269a2
mov eax, dword [esp + 0x10]
lea ecx, [esp + 8]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 4
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
jmp 0x4269dd
lea eax, [esp + 8]
push 0x5c
lea ecx, [esp + 0x1c]
push eax
push ecx
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 5
call fcn.004261be
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
push 0x43b598
lea ecx, [esp + 0xc]
call fcn.00426038
mov eax, dword [esp + 0x34]
inc esi
cmp esi, dword [eax - 8]
jl 0x426965
mov esi, dword [esp + 0x30]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x426a40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4301af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov dword [esp + 0x10], 0
mov ebx, 1
push 0x43b598
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], ebx
call sub.MFC42.DLL_CString::CString_1
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0xc]
push ecx
call fcn.00426900
add esp, 8
mov edx, dword [esp + 8]
push 0
push edx
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 3
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jge 0x426acb
mov esi, dword [esp + 0x28]
push 0x43b598
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x10], ebx
jmp 0x426b14
mov ecx, dword [esp + 8]
mov esi, dword [ecx - 8]
mov ecx, dword [esp + 0x2c]
add eax, esi
mov edx, dword [ecx - 8]
mov esi, eax
cmp eax, edx
jge 0x426b00
mov dl, byte [esi + ecx]
lea ecx, [esp + 0xc]
mov byte [esp + 0x14], dl
mov eax, dword [esp + 0x14]
push eax
call fcn.0042e066
mov ecx, dword [esp + 0x2c]
inc esi
cmp esi, dword [ecx - 8]
jl 0x426ae1
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x10], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret