joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409860
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e2cf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
mov eax, esi
mov ebp, ecx
push edi
xor edi, edi
mov ecx, dword [eax]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], 0x4ec6c4
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], edi
call fcn.00404420
test eax, eax
je 0x4098be
push 0xf
jmp 0x4098c0
push 4
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
call ebx
cmp dword [esp + 0x40], edi
jne 0x4098e1
push 0x3fe33333
push 0x33333333
push eax
call fcn.00405390
add esp, 0xc
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
call fcn.00404410
test eax, eax
je 0x409939
mov eax, dword [edi + 4]
push 0xf
lea edx, [esp + 0x1c]
push 2
push edx
push eax
call dword [sym.imp.USER32.dll_DrawEdge]
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x40995f
push 0
push 7
call ebx
mov ecx, dword [esi + 4]
mov edx, dword [esi]
add ecx, 4
push eax
add edx, 4
push ecx
push edx
push edi
mov ecx, ebp
call fcn.00408110
jmp 0x409979
push 7
call ebx
mov ecx, dword [esi]
push eax
mov eax, dword [esi + 4]
add ecx, 5
add eax, 4
push eax
push ecx
push edi
mov ecx, ebp
call fcn.00407fa0
mov dword [esp + 0x10], 0x4ec688
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0x10

Function at 0x40a010
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
and esi, 0xffff
push 2
push esi
call sub.MFC42.DLL_AfxFindResourceHandle
mov ebp, dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
push 2
push esi
push ebx
call ebp
mov edi, eax
test edi, edi
jne 0x40a04d
xor ebx, ebx
push 2
push esi
push ebx
call ebp
mov edi, eax
test edi, edi
jne 0x40a04d
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40a05e
pop edi
pop esi
pop ebp
pop ebx
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x40a06e
pop edi
pop esi
pop ebp
pop ebx
ret
push eax
call fcn.00409fd0
add esp, 4
cmp ax, 0x10
je 0x40a084
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push 0
push edi
push ebx
call sub.MFC42.DLL_AfxLoadSysColorBitmap
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x40a210
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x52e6c0]
sub esp, 0x134
test eax, eax
jne 0x40a2e5
lea eax, [esp]
mov dword [0x52e6c0], 1
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftPlus_ThemesCurrent
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40a2e5
push esi
lea ecx, [esp + 0xc]
push edi
lea edx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push ecx
mov dword [esp + 0x28], 0x104
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40a2d8
mov ecx, 5
mov esi, str.Windows_Classic.theme
lea edi, [esp + 0x14]
lea edx, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edx
call edi
mov esi, eax
lea eax, [esp + 0x14]
push eax
call edi
cmp esi, eax
jl 0x40a2d8
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
call edi
sub esi, eax
lea eax, [esp + esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40a2d8
mov dword [0x52e6bc], 1
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, dword [0x52e6bc]
add esp, 0x134
ret
Function at 0x40bce0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e2f68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov eax, dword [esi + 0x20]
push eax
call edi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
push eax
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CClientDC::CClientDC
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x50], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x20]
push edx
call edi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWnd::ScreenToClient
mov eax, dword [esi + 0x148]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x40be16
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x144]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub ecx, edi
push eax
push ecx
push edx
lea edi, [esi + 0x154]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::Attach
test edi, edi
je 0x40bdc2
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x148]
push edi
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x15c], eax
mov eax, dword [esp + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
sub edx, eax
lea eax, [esp + 0x2c]
push 0xcc0020
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x24]
push edi
push eax
push ecx
mov ecx, dword [esi + 0x148]
push edx
push 0
push 0
push ecx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x144]
sub ecx, edi
test edx, edx
je 0x40be37
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push 0
mov eax, dword [edx + 4]
push 0
push eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.0047d74a
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4

Function at 0x40d700
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
push 0
push 1
push 2
mov dword [esp + 0x10], 1
call sub.WSOCK32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
jne 0x40d721
or eax, eax
pop esi
pop ecx
ret
lea eax, [esp + 4]
push 4
push eax
push 1
push 6
push esi
call sub.WSOCK32.dll_setsockopt
mov eax, esi
pop esi
pop ecx
ret
Function at 0x40d740
Capabilities:
Connect socket
Set socket configuration

Disassembly:
sub esp, 0x10
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esp], eax
push esi
mov dword [esp + 8], eax
push ecx
mov dword [esp + 0x10], eax
mov word [esp + 8], 2
mov dword [esp + 0x14], eax
call sub.WSOCK32.dll_inet_addr
mov edx, dword [esp + 0x20]
mov dword [esp + 8], eax
push edx
call sub.WSOCK32.dll_htons
mov esi, dword [esp + 0x18]
mov word [esp + 6], ax
lea eax, [esp + 4]
push 0x10
push eax
push esi
call sub.WSOCK32.dll_connect
test eax, eax
je 0x40d79c
push esi
call sub.WSOCK32.dll_closesocket
xor eax, eax
pop esi
add esp, 0x10
ret
mov eax, 1
pop esi
add esp, 0x10
ret

Function at 0x40d7b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e3030
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
lea eax, [esp + 4]
push esi
mov esi, ecx
push eax
call fcn.0041d3c0
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
mov dword [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x18]
call fcn.0042a640
push esi
push ecx
mov ebx, 1
mov ecx, esp
mov dword [esp + 0x14], esp
push str.BackPicMode
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x30], 2
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Appearance
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], bl
call fcn.0042a920
lea eax, [esi + 4]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.BackPicId
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x30], 3
mov ecx, esp
mov dword [esp + 0x18], esp
push str.Appearance
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], bl
call fcn.0042a920
lea ecx, [esi + 8]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.BackColor
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x30], 4
mov ecx, esp
mov dword [esp + 0x18], esp
push str.Appearance
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], bl
call fcn.0042a920
add esi, 0xc
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.FrameColor
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x30], 5
mov ecx, esp
mov dword [esp + 0x18], esp
push str.Appearance
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], bl
call fcn.0042a920
lea ecx, [esp + 0x14]
mov dword [esi], 0xaeff
mov byte [esp + 0x24], 0
call fcn.0042a6d0
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.0047d354
mov ecx, dword [esp + 0x1c]
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret
Function at 0x40d93d
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e3070
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
lea eax, [esp + 4]
push esi
mov esi, ecx
push eax
call fcn.0041d3c0
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
mov dword [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x18]
call fcn.0042a640
mov eax, dword [esi]
mov ebx, 1
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.BackPicMode
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x30], 2
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Appearance
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], bl
call fcn.0042a760
mov ecx, dword [esi + 4]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.BackPicId
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x30], 3
mov ecx, esp
mov dword [esp + 0x18], esp
push str.Appearance
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], bl
call fcn.0042a760
mov edx, dword [esi + 8]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.BackColor
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x30], 4
mov ecx, esp
mov dword [esp + 0x18], esp
push str.Appearance
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], bl
call fcn.0042a760
mov eax, dword [esi + 0xc]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.FrameColor
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x30], 5
mov ecx, esp
mov dword [esp + 0x18], esp
push str.Appearance
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], bl
call fcn.0042a760
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 0
call fcn.0042a6d0
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.0047d354
mov ecx, dword [esp + 0x1c]
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret

Function at 0x40e940
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e3263
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi], 0x4ecbbc
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 8], edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], 0xa
lea ecx, [esi + 0x2c]
mov dword [esp + 0x14], edi
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x20], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x1c], 2
mov dword [esi + 0x24], 0xff00
mov dword [esi + 0x28], 0xffffff
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x411db0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e37b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi + 8], 0x4ecbd0
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 0xa
lea ecx, [esi + 0x2c]
mov dword [esp + 0x14], edi
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
mov dword [esi], eax
mov dword [esi + 0x28], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4129c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4e39b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
lea ecx, [esp]
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x18], 0
call fcn.0041d0a0
push eax
lea ecx, [esp + 4]
call fcn.0047d36c
push str.color.ini
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::operator_1
push ecx
lea eax, [esp + 4]
mov ecx, esp
mov dword [esp + 8], esp
push eax
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0xc]
call fcn.0042a640
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x28]
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.0042a760
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.0042a6d0
lea ecx, [esp]
mov dword [esp + 0x18], 0xffffffff
call fcn.0047d354
mov ecx, dword [esp + 0x10]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x412a90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e39f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x20], 0
call fcn.0041d0a0
push eax
lea ecx, [esp + 0xc]
call fcn.0047d36c
push str.color.ini
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_1
push ecx
lea eax, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x14]
call fcn.0042a640
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 8]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push esi
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString_2
mov edi, dword [esp + 0x30]
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edi
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 1
call fcn.0042a810
test eax, eax
je 0x412bae
mov edx, dword [esp + 8]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x34]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCRT.dll_atoi]
mov esi, eax
add esp, 4
cmp esi, 0x14
jle 0x412b72
mov esi, 0x14
jmp 0x412b7c
cmp esi, 0xffffffec
jge 0x412b7c
mov esi, 0xffffffec
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call fcn.0042a6d0
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.0047d354
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x1c
ret
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push esi
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x2c], 3
mov ecx, esp
mov dword [esp + 0x34], esp
push edi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 1
call fcn.0042a760
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call fcn.0042a6d0
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.0047d354
mov ecx, dword [esp + 0x18]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
add esp, 0x1c
ret
Function at 0x413a90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e3b88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
lea eax, [esp + 8]
mov dword [esp + 0x24], 0
push eax
call fcn.0041d3c0
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x18]
call fcn.0042a640
mov eax, dword [esi + 8]
mov bl, 2
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.ExpPassportWidth
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x34], 3
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], bl
call fcn.0042a760
mov eax, dword [esi + 0xc]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.ExpPassportHeight
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0x34], 4
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], bl
call fcn.0042a760
mov eax, dword [esi + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.ExpBackgroudColor
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0x34], 5
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], bl
call fcn.0042a760
mov eax, dword [esi + 0x20]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x5225e4
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0x34], 6
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], bl
call fcn.0042a760
mov eax, dword [esi + 0x24]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.ExpMinMagin
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0x34], 7
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], bl
call fcn.0042a760
mov eax, dword [esi + 0x28]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.UserMaker
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0x34], 8
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], bl
call fcn.0042a760
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.0042a6d0
lea ecx, [esp + 8]
mov byte [esp + 0x24], 0
call fcn.0047d354
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.0047d354
mov ecx, dword [esp + 0x1c]
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 4
Function at 0x415be0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e3ed0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x14]
mov byte [esp + 0x20], 1
push eax
call sub.MFC42.DLL_CTime::GetTickCount
mov ecx, dword [eax]
push 0
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CTime::GetLocalTm
mov esi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x14]
inc esi
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0x14]
push edi
mov edi, dword [esp + 0x30]
add eax, 0x76c
push esi
push eax
push str._4d__2d__2d
push edi
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x28]
push str.yyyy
call sub.MFC42.DLL_CString::Find_1
push 0x522668
lea ecx, [esp + 0x2c]
mov esi, eax
call sub.MFC42.DLL_CString::Find_1
push 0x522664
lea ecx, [esp + 0x2c]
mov ebp, eax
call sub.MFC42.DLL_CString::Find_1
cmp esi, 0xffffffff
je 0x415d8a
cmp ebp, 0xffffffff
je 0x415d8a
push 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0x14]
lea edx, [esp + 0xc]
add eax, 0x76c
push eax
push 0x522660
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x18]
add esp, 0xc
lea ecx, [esp + 0x28]
push eax
push str.yyyy
call sub.MFC42.DLL_CString::Replace
push 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0x10]
lea ecx, [esp + 0xc]
inc eax
push eax
push 0x522168
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x18]
add esp, 0xc
lea ecx, [esp + 0x28]
push edx
push 0x522668
call sub.MFC42.DLL_CString::Replace
push 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0xc]
push eax
lea eax, [esp + 0x10]
push 0x522168
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ecx
push 0x522664
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Replace
lea edx, [esp + 0x28]
mov ecx, edi
push edx
call fcn.0047d35a
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.0047d354
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.0047d354
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.0047d354
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.0047d354
mov ecx, dword [esp + 0x18]
pop edi
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x417d10
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4e4277
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], 0
lea ecx, [esp + 8]
mov dword [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString
mov esi, dword [esi + 0xc]
mov edi, dword [esp + 0x24]
push esi
push 0x3e8
push 0x3e8
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::GetBuffer
push eax
push str.Not_found
push edi
push str.ExpString
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0x52269c
push 0x522698
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Replace
mov esi, dword [esp + 0x20]
lea eax, [esp + 8]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
call fcn.0047d354
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 0
call fcn.0047d354
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8