joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427050
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x10c
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x11c]
mov ecx, dword [eax]
mov eax, dword [esp + 0x118]
push ecx
push 0x104
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x120]
push 0x5b2c3c
push ecx
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esp + 4]
pop edi
mov eax, dword [edx - 8]
test eax, eax
jne 0x4270c6
mov eax, dword [esp + 0x11c]
mov dword [esp + 4], eax
jmp 0x4270de
lea ecx, [esp + 4]
lea edx, [esp + 8]
push ecx
push 0x591c70
push edx
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
push esi
mov esi, dword [esp + 8]
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString
mov eax, esi
pop esi
add esp, 0x10c
ret 0x10

Function at 0x427620
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f9c28
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0xc
test eax, eax
push esi
push edi
je 0x4276cc
push str.qmacrone.ini
lea eax, [esp + 0x10]
push 0x5da458
push eax
call sub.MFC42.DLL_operator_1
mov esi, dword [eax]
push str.qmacrone.ini
lea ecx, [esp + 0xc]
push 0x5da458
push ecx
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_operator_1
mov edi, dword [eax]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0
push str.EndHotkeyMod
push str.General
mov byte [esp + 0x2c], 1
call esi
push eax
push edi
push 0
push str.EndHotkey
push str.General
call esi
push eax
call fcn.0044f980
add esp, 8
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 0xc]
jmp 0x427798
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_3
xor esi, esi
xor edx, edx
mov si, word [0x5dbdac]
mov dx, word [0x593b74]
shl esi, 0x10
or esi, edx
lea ecx, [esp + 0x24]
mov eax, esi
mov dword [esp + 0x1c], 2
and eax, 0xffff
push eax
push 0x5913b8
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0xc]
push str.qmacrone.ini
push 0x5da458
push edx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push eax
mov eax, dword [esp + 0x28]
push eax
push str.EndHotkey
push str.General
call edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
shr esi, 0x10
push esi
lea ecx, [esp + 0x28]
push 0x5913b8
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x10]
push str.qmacrone.ini
push 0x5da458
push edx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x28]
push eax
push str.EndHotkeyMod
push str.General
call edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x42866a
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4f9da8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_3
xor ebx, ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x54], ebx
call sub.MFC42.DLL_CString::CString_3
mov al, byte [esp + 0x13]
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x28], al
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
push str.skins_adinfo.ini
lea ecx, [esp + 0x1c]
push 0x5da458
push ecx
mov byte [esp + 0x60], 2
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push eax
push ebx
push str.AdNum
push 0x5920e4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [esp + 0x18]
mov edi, eax
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esi + 0xa84]
cmp ecx, ebx
jne 0x4286e0
xor eax, eax
jmp 0x4286eb
mov eax, dword [esi + 0xa88]
sub eax, ecx
sar eax, 2
lea ebp, [eax + edi + 6]
cmp ebp, ebx
mov dword [esp + 0x18], ebp
jle 0x428719
mov edi, ebp
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x14]
push edx
push 1
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x20], 0x508520
call fcn.0042b600
dec edi
jne 0x4286f9
push 0xffffffffffffffff
push ebp
lea ecx, [esi + 0x117c]
call sub.MFC42.DLL_CPtrArray::SetSize
cmp ebp, ebx
mov dword [esp + 0x14], ebx
jle 0x428808
mov eax, dword [esi + 0x1198]
lea ecx, [esi + 0x1190]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push edx
push 1
push eax
call fcn.0042b600
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x1180]
lea edi, [eax*4]
mov eax, dword [ecx + eax*4]
cmp eax, ebx
jne 0x4287f7
xor edx, edx
mov eax, dword [esi]
mov dword [esp + 0x38], edx
mov ecx, esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edx
call dword [eax + 0xc4]
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esi + 0x1180]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
mov edx, dword [edi + ecx]
push 0xe900
push eax
mov ecx, esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x50], esi
add ebp, edi
call sub.MFC42.DLL_CFrameWnd::CreateView
mov dword [ebp], eax
mov ecx, dword [esi + 0x1180]
mov eax, dword [ecx + edi]
cmp eax, ebx
je 0x4287f3
mov edx, dword [eax + 0x20]
push 0xe9ff
push 0xfffffffffffffff4
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [esi + 0x1180]
push ebx
push ebx
push 0x364
mov edi, dword [eax + edi]
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
inc eax
cmp eax, ebp
mov dword [esp + 0x14], eax
jl 0x428733
mov ecx, dword [esi + 0x11c0]
push 1
push ebx
call fcn.00416760
mov edx, dword [esp + 0x2c]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x54], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x54], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret
Function at 0x42aec0
Capabilities:
Find taskbar

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
cmp eax, 3
push edi
mov edi, ecx
jne 0x42af65
push ebx
push ebp
push esi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
sub esi, edx
call ebx
push 1
mov ebp, eax
call ebx
xor ebx, ebx
sub eax, esi
push 3
mov ecx, edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
call sub.MFC42.DLL_CWnd::ShowWindow
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
sub edx, eax
mov eax, dword [esp + 0x18]
add edx, 8
sub eax, ecx
push 4
add eax, 4
push edx
push eax
push 0xfffffffffffffff8
push 0xfffffffffffffffe
push ebx
mov ecx, edi
call sub.MFC42.DLL_CWnd::SetWindowPos
mov eax, 1
pop esi
pop ebp
mov dword [edi + 0x1324], eax
pop ebx
pop edi
add esp, 0x10
ret 4
cmp eax, 2
je 0x42af79
cmp eax, 6
je 0x42af79
mov dword [edi + 0x1324], 0
push eax
mov ecx, edi
call sub.MFC42.DLL_CWnd::ShowWindow
pop edi
add esp, 0x10
ret 4

Function at 0x42cc90
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1004
call fcn.00445f30
mov cl, byte [0x5da524]
mov al, 1
test al, cl
mov dword [esp], 0
jne 0x42cccf
mov dl, cl
mov ecx, 0x5da520
or dl, al
mov byte [0x5da524], dl
call sub.MFC42.DLL_CString::CString_3
push 0x42cd30
call fcn.00445f1c
add esp, 4
mov eax, dword [0x5da520]
push 0x5b2c3c
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x42cd06
lea ecx, [esp + 4]
push ecx
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 4]
mov ecx, 0x5da520
push edx
call sub.MFC42.DLL_CString::operator_2
push esi
mov esi, dword [esp + 0x100c]
push 0x5da520
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov eax, esi
pop esi
add esp, 0x1004
ret

Function at 0x42cd40
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1004
call fcn.00445f30
mov cl, byte [0x5da51c]
mov al, 1
test al, cl
mov dword [esp], 0
jne 0x42cd7f
mov dl, cl
mov ecx, 0x5da518
or dl, al
mov byte [0x5da51c], dl
call sub.MFC42.DLL_CString::CString_3
push 0x42ce10
call fcn.00445f1c
add esp, 4
mov eax, dword [0x5da518]
push esi
push 0x5b2c3c
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x42cde9
push ebx
push edi
lea ecx, [esp + 0x10]
push 0x1000
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, 0x59188c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x5da518
call sub.MFC42.DLL_CString::operator_2
pop edi
pop ebx
mov esi, dword [esp + 0x100c]
push 0x5da518
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov eax, esi
pop esi
add esp, 0x1004
ret
Function at 0x42ce20
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1004
call fcn.00445f30
mov cl, byte [0x5da514]
mov al, 1
test al, cl
mov dword [esp], 0
jne 0x42ce5f
mov dl, cl
mov ecx, 0x5da510
or dl, al
mov byte [0x5da514], dl
call sub.MFC42.DLL_CString::CString_3
push 0x42cef0
call fcn.00445f1c
add esp, 4
mov eax, dword [0x5da510]
push esi
push 0x5b2c3c
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x42cec9
push ebx
push edi
lea ecx, [esp + 0x10]
push 0x1000
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, 0x59188c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x5da510
call sub.MFC42.DLL_CString::operator_2
pop edi
pop ebx
mov esi, dword [esp + 0x100c]
push 0x5da510
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov eax, esi
pop esi
add esp, 0x1004
ret

Function at 0x42cf00
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1004
call fcn.00445f30
mov al, byte [0x5da504]
push ebx
mov ebx, 1
push esi
test bl, al
mov dword [esp + 8], 0
jne 0x42cf43
mov dl, al
mov ecx, 0x5da500
or dl, bl
mov byte [0x5da504], dl
call sub.MFC42.DLL_CString::CString_3
push 0x42cfd0
call fcn.00445f1c
add esp, 4
mov eax, dword [0x5da500]
push 0x5b2c3c
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x42cfa9
push edi
push ebx
lea ecx, [esp + 0x14]
push 0x1a
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edi, 0x59188c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x5da500
call sub.MFC42.DLL_CString::operator_2
pop edi
mov esi, dword [esp + 0x1010]
push 0x5da500
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov eax, esi
pop esi
pop ebx
add esp, 0x1004
ret
Function at 0x42e910
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fa918
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
mov esi, ecx
lea eax, [esp + 0x28]
push edi
push eax
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x828]
xor edi, edi
push edi
push 0x4d5
lea edx, [esp + 0x24]
push esi
push edx
push 0x50000000
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], 0x78
mov dword [esp + 0x38], 0x6e
mov dword [esp + 0x3c], 0xdc
call fcn.004b1800
push 0x5b2c3c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esi + 0x828]
mov ebx, 1
push ebx
lea eax, [esp + 0x10]
push 0x15a
push eax
mov dword [esp + 0x50], edi
call fcn.004b1350
or edi, 0xffffffff
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], edi
call sub.MFC42.DLL_CString::CString
push 0x5b2c3c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
push 0x5b2c3c
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], ebx
call sub.MFC42.DLL_CString::CString_1
push 4
push 4
lea ecx, [esp + 0x18]
push 0x158
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x828]
push edx
mov byte [esp + 0x58], 2
call fcn.004b13a0
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], edi
call sub.MFC42.DLL_CString::CString
push 0x5b2c3c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov ebx, 3
push 0x5b2c3c
lea ecx, [esp + 0x14]
mov dword [esp + 0x48], ebx
call sub.MFC42.DLL_CString::CString_1
push 4
push 4
lea eax, [esp + 0x14]
push 0x15b
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x54], 4
push ecx
mov ecx, dword [esi + 0x828]
call fcn.004b13a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], edi
call sub.MFC42.DLL_CString::CString
push 0x5b2c3c
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_1
mov ebx, 5
push 0x5b2c3c
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], ebx
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esi + 0x828]
push 4
push 4
lea edx, [esp + 0x20]
push 0x157
lea eax, [esp + 0x20]
push edx
push eax
mov byte [esp + 0x58], 6
call fcn.004b13a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], edi
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret
Function at 0x42eb06
Capabilities:
Set global application hook

Disassembly:
push 0xffffffffffffffff
push 0x4fa943
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [esi], 0x5082d8
lea ecx, [esi + 0x40]
mov dword [esp + 0x10], 0
call sub.MFC42.DLL_CWnd::CWnd
mov dword [esi], 0x532688
mov eax, dword [0x5da540]
test eax, eax
mov byte [esp + 0x10], 1
jne 0x42eb72
push edi
call sub.MFC42.DLL_AfxGetModuleState
mov edi, dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push edi
push 0x42ec50
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x5da540], eax
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42fde0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x42fe42
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret

Function at 0x430780
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x78]
test eax, eax
je 0x4307c1
call fcn.00431410
test eax, eax
je 0x4307c8
lea eax, [esp + 8]
push eax
push 4
push esi
push 0x430d30
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x94], eax
test eax, eax
je 0x4307c1
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x4307c1
mov ecx, dword [eax]
lea edx, [esp + 8]
push edi
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0x9c]
lea edx, [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ecx, dword [esp + 8]
push 0
mov edi, ecx
mov eax, dword [esi + 0x9c]
neg edi
push edi
mov edi, dword [esp + 0x14]
push edi
push ecx
mov ecx, dword [esi + 0x54]
mov edx, dword [eax]
push 0
push ecx
mov ecx, dword [esi + 0x50]
push ecx
mov ecx, dword [esi + 0x7c]
push 0
push 0
push ecx
push eax
call dword [edx + 0x20]
test eax, eax
pop edi
jne 0x4307c1
mov edx, dword [esi + 0x20]
push eax
push eax
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
pop esi
add esp, 8
ret

Function at 0x4333f0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4faff0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 0x10]
push edi
xor ebx, ebx
mov esi, ecx
push eax
mov dword [ebp - 0x14], ebx
call fcn.00433630
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ebx
push ecx
push 0x400
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xc8], eax
call edi
cmp eax, 0xb7
jne 0x43346b
mov edx, dword [ebp - 0x10]
push edx
push ebx
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [esi + 0xc8], eax
mov dword [ebp - 0x14], 1
mov eax, dword [esi + 0xc8]
push 0x400
push ebx
push ebx
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0xcc], eax
call fcn.00482830
add ebx, 6
call ebx
jmp 0xf3d91cf4
Function at 0x433740
Capabilities:
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x4fb04b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x904
lea eax, [esp + 0x104]
lea edx, [esp + 0x104]
push eax
lea eax, [esp + 0x508]
push edx
push eax
mov eax, dword [ecx + 0x90]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__splitpath]
add esp, 0x14
lea ecx, [esp + 4]
push ecx
mov ecx, 0x5da458
call sub.MFC42.DLL_CString::operator_2
lea edx, [esp + 0x504]
mov ecx, 0x5da458
push edx
call sub.MFC42.DLL_CString::operator
push 0x5da458
mov ecx, 0x5da454
call sub.MFC42.DLL_CString::operator_1
push 0x5c
mov ecx, 0x5da454
call sub.MFC42.DLL_CString::TrimRight_1
push 0x5c
mov ecx, 0x5da454
call sub.MFC42.DLL_CString::ReverseFind
inc eax
mov ecx, 0x5da454
push eax
lea eax, [esp + 4]
push eax
call sub.MFC42.DLL_CString::Left
push eax
mov ecx, 0x5da454
mov dword [esp + 0x910], 0
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp]
mov dword [esp + 0x90c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [0x5da458]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [esp + 0x904]
mov dword fs:[0], ecx
add esp, 0x910
ret
Function at 0x433830
Capabilities:
Accept command line arguments
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fb0ba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push SysReAllocString
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x5b2c3c
call sub.MFC42.DLL_CString::CString_1
push ecx
mov dword [esp + 0xc4], 0
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x592be4
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x9c]
mov dword [esp + 0xc4], 0xffffffff
call fcn.00482400
mov dword [esp + 0xb4], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_1
push 0x592be0
lea ecx, [esp + 8]
mov byte [esp + 0xb8], 2
call sub.MFC42.DLL_CString::operator
push ecx
lea eax, [esp + 8]
mov ecx, esp
mov dword [esp + 4], esp
push eax
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x90]
call fcn.004827b0
push SysReAllocString
push 0
push ecx
mov ecx, esp
mov dword [esp + 0xc], esp
push 0x5b2c3c
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0xc4], 3
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x592bd8
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc4], 2
call fcn.00482400
push ecx
mov byte [esp + 0xb8], 4
mov ecx, esp
mov dword [esp + 4], esp
push 0x592bc8
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x50]
call fcn.004827b0
push SysReAllocString
push 0
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x592bb4
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x3c]
call fcn.00482160
push 2
lea ecx, [esp + 0x30]
mov byte [esp + 0xb8], 5
call fcn.004823d0
push SysReAllocString
push 0
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x592ba0
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x7c]
call fcn.00482160
push 8
lea ecx, [esp + 0x70]
mov byte [esp + 0xb8], 6
call fcn.004823d0
push SysReAllocString
push 0
push ecx
mov ecx, esp
mov dword [esp + 0xc], esp
push 0x5b2c3c
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0xc4], 7
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x592b8c
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc4], 6
call fcn.00482400
push ecx
mov byte [esp + 0xb8], 8
mov ecx, esp
mov dword [esp + 4], esp
push 0x591144
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x10]
call fcn.004827b0
lea ecx, [esp + 0xc]
mov byte [esp + 0xb4], 6
call fcn.00482580
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb4], 5
call fcn.004822a0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb4], 4
call fcn.004822a0
lea ecx, [esp + 0x4c]
mov byte [esp + 0xb4], 2
call fcn.00482580
lea ecx, [esp + 4]
mov byte [esp + 0xb4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x8c]
mov dword [esp + 0xb4], 0xffffffff
call fcn.00482580
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
add esp, 0xb8
ret
Function at 0x433b60
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4fb0d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov cl, byte [0x5da554]
push esi
mov al, 1
xor esi, esi
test al, cl
mov dword [esp + 8], esi
jne 0x433baf
or cl, al
push 0x5b2c3c
mov byte [0x5da554], cl
mov ecx, 0x5da550
call sub.MFC42.DLL_CString::CString_1
push 0x433c80
call fcn.00445f1c
add esp, 4
mov eax, dword [0x5da550]
push 0x5b2c3c
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x433c56
mov cl, byte [0x5b2c3c]
push edi
mov byte [esp + 0x10], cl
mov ecx, 0x18
lea edi, [esp + 0x11]
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x592c08
push edx
stosb byte es:[edi], al
call fcn.0040f640
add esp, 8
push eax
lea eax, [esp + 0xc]
push 0x5da454
push eax
mov dword [esp + 0x88], esi
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push eax
push 0x64
push ecx
push 0x5b2c3c
push 0x592c04
push 0x592c00
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x7c], 0xffffffff
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x10]
mov ecx, 0x5da550
push edx
call sub.MFC42.DLL_CString::operator_2
pop edi
mov esi, dword [esp + 0x80]
push 0x5da550
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x70]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x78
ret