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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x471648
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x42d199
inc eax
mov dword [esi + 0x10], eax
jmp 0x42d2ac
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x42d1ad
mov eax, 0xffffffc7
jmp 0x42d2ae
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x42d1be
cmp dword [esi + 8], eax
jne 0x42d1ad
cmp dword [esi + 8], eax
jne 0x42d1d7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x42d1d7
mov eax, 0xffffffc7
jmp 0x42d2ae
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x42d1eb
push eax
mov ecx, ebx
call fcn.0042c990
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00401a20
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x42d21c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00401a40
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0042c100
test eax, eax
mov dword [esp + 0x38], eax
je 0x42d24f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x475e58
call fcn.00401c20
mov eax, dword [esp + 0x38]
jmp 0x42d2ae
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0042cfc0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x42d293
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0042cfe0
mov esi, eax
test esi, esi
jne 0x42d2c3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0042cfc0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x42d265
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x475e58
call fcn.00401c20
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x475e58
call fcn.00401c20
mov eax, esi
jmp 0x42d2ae

Function at 0x430380
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4303e0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4303e0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4303e0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4303e0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x430420
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x436320
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x471c78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004671ac
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00435cc0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004670da
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004636d1
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004636d1
push 1
push 0
push 0
mov ecx, esi
call fcn.00463679
push 1
push 0
push 1
mov ecx, esi
call fcn.00463679
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046721e
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4364a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x471c98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004671ac
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00435cc0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004670da
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x436564
cmp dword [esp + 0x40], 1
jne 0x436562
cmp ecx, eax
jge 0x436564
mov eax, ecx
cmp eax, 0xc8
jge 0x436570
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00436320
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046721e
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x436ce0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x471d03
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00461abb
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00467454
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00469e20
test eax, eax
je 0x436dfc
mov ecx, dword [esp + 0x3c]
call fcn.00467481
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x436dc0
push edi
mov ecx, esi
call fcn.00464a19
mov ecx, esi
call fcn.00436f60
cmp dword [esp + 0x38], 1
jne 0x436df5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00464bac
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x439830
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x439863
push esi
call fcn.0043c930
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43985c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4398e9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4398d2
mov eax, dword [esi + 8]
test eax, eax
je 0x439887
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4398ce
cmp eax, 2
je 0x4398d2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43987a
cmp eax, 3
je 0x4398ad
cmp eax, 1
jne 0x43987a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43987a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43987a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00439910
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4398f8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00439910
add esp, 4
pop esi
ret

Function at 0x461298
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.0046b407
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4612c9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.004612dc
pop edi
pop esi
pop ebx
ret 8

Function at 0x4628b0
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4628e8
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00460923
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004608fb
jmp 0x4628f4
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46419f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4641e1
call fcn.0046b407
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4641e1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4641d8
xor eax, eax
jmp 0x4641e9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004641ef
pop edi
pop esi
pop ebx
ret 4
Function at 0x46b937
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46b965
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46b983
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046b89d
jmp 0x46b983
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46b983
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046b89d
test edi, edi
mov eax, edi
jne 0x46b96d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402fb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40c127
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CStringArray::CStringArray
mov eax, dword [esp + 0x18]
push str.dama3.yzmbuy.com
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 1
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 8
call dword [sym.imp.MSVCRT.dll_rand]
cdq
idiv esi
lea ecx, [esp + 0x10]
push edx
lea edx, [esp + 8]
push edx
call fcn.00403080
mov esi, dword [esp + 0x34]
lea eax, [esp + 4]
push eax
mov ecx, esi
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call fcn.0040b672
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4

Function at 0x4030f0
Capabilities:
Get hostname

Disassembly:
push 0xffffffffffffffff
push 0x40c165
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
lea eax, [esp + 4]
push esi
lea ecx, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x80
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea ecx, [esp + 4]
call fcn.0040b540
lea edx, [esp + 0x10]
lea eax, [esp + 4]
push edx
push 0x41236c
push eax
mov dword [esp + 0xa4], 1
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0xac]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x98], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x90]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x98
ret 4
Function at 0x4071e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40ccf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x28], 0
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.MFC42.DLL_CDC::FromHandle
mov eax, dword [eax + 4]
lea ecx, [esp + 4]
push ecx
push eax
mov dword [esp + 0xc], 0
call sub.gdiplus.dll_GdipCreateFromHDC
mov esi, dword [esp + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::AllocSysString
lea edx, [esp + 0x14]
mov dword [esp + 0x10], 0x40f0d8
push edx
push eax
mov dword [esp + 0x1c], 0
call sub.gdiplus.dll_GdipLoadImageFromFile
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push 0xbe
neg eax
sbb eax, eax
push 0x190
and eax, edx
push 0x46
push 0x14
push eax
push esi
call sub.gdiplus.dll_GdipDrawImageRectI
mov dword [esp + 8], eax
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x14], 0x40f0d8
call sub.gdiplus.dll_GdipDisposeImage
push esi
call sub.gdiplus.dll_GdipDeleteGraphics
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x407c10
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x40ce09
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
push ebx
push esi
xor esi, esi
mov dword [esp + 0x18], esi
lea eax, [esp + 0x1c]
push 0xc8
push eax
push esi
mov dword [esp + 0x1c0], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 8]
call fcn.0040b540
lea ecx, [esp + 0x1c]
lea edx, [esp + 8]
push ecx
push 0x41236c
push edx
mov byte [esp + 0x1c0], 2
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.0040b540
mov bl, 3
push str.Release
lea ecx, [esp + 0xc]
mov byte [esp + 0x1b8], bl
call sub.MFC42.DLL_CString::Find
cmp eax, 0xffffffff
jne 0x407cf6
push str.Debug
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Find
cmp eax, 0xffffffff
jne 0x407cf6
push esi
push 0x412384
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
je 0x407cc8
lea esi, [eax + 1]
jmp 0x407caf
lea eax, [esp + 0x10]
push esi
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x1b8], 5
call fcn.0040b57c
mov byte [esp + 0x1b4], bl
lea ecx, [esp + 0x10]
jmp 0x407d22
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x1b8], 4
call fcn.0040b57c
mov byte [esp + 0x1b4], bl
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
push 0x412384
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator
push 0x412378
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0xc]
lea edx, [esp + 0xe4]
push eax
push 0xc8
push edx
push eax
mov eax, dword [esp + 0x1d0]
push eax
push str.section
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x14]
call fcn.0040b540
lea ecx, [esp + 0xe4]
lea edx, [esp + 0x14]
push ecx
push 0x41236c
push edx
mov byte [esp + 0x1c0], 6
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0x1c8]
add esp, 0xc
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x18], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x1b4], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x1b4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x1b4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c0]
mov byte [esp + 0x1b4], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1ac]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1b0
ret 8
Function at 0x408290
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40cee8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
call fcn.0040b540
mov bl, 1
push 0x4129a0
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::Find
push str.____
lea ecx, [esp + 0x28]
mov esi, eax
call sub.MFC42.DLL_CString::Find
mov edi, eax
sub eax, esi
dec eax
inc esi
push eax
lea ecx, [esp + 0x14]
push esi
push ecx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Mid
mov ecx, dword [esp + 0x28]
push eax
mov byte [esp + 0x20], 2
call fcn.0040b57c
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CString::CString
push edi
push 0x4129a0
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Find_1
mov esi, eax
lea ecx, [esp + 0x24]
push esi
push str.____
call sub.MFC42.DLL_CString::Find_1
mov edi, eax
lea eax, [esp + 0x28]
mov edx, edi
lea ecx, [esp + 0x24]
sub edx, esi
dec edx
inc esi
push edx
push esi
push eax
call sub.MFC42.DLL_CString::Mid
mov ecx, dword [esp + 0x2c]
push eax
mov byte [esp + 0x20], 3
call fcn.0040b57c
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CString::CString
push edi
push 0x4129a0
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Find_1
mov edi, eax
lea ecx, [esp + 0x24]
push edi
push str.____
call sub.MFC42.DLL_CString::Find_1
mov esi, eax
lea edx, [esp + 0x28]
mov ecx, esi
sub ecx, edi
dec ecx
inc edi
push ecx
push edi
push edx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Mid
mov ecx, dword [esp + 0x30]
push eax
mov byte [esp + 0x20], 4
call fcn.0040b57c
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esi + 4]
lea ecx, [esp + 0x24]
push eax
push 0x4129a0
call sub.MFC42.DLL_CString::Find_1
mov edi, eax
lea edx, [esp + 0x28]
mov ecx, edi
sub ecx, esi
dec ecx
inc esi
push ecx
push esi
push edx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 5
call fcn.0040b57c
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CString::CString
add edi, 4
lea ecx, [esp + 0x24]
push edi
push 0x4129a0
call sub.MFC42.DLL_CString::Find_1
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x28]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
push ecx
push edx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Right
mov ecx, dword [esp + 0x38]
push eax
mov byte [esp + 0x20], 6
call fcn.0040b57c
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0x18
Function at 0x408e20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40d030
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0
call fcn.0040b540
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CFile::CFile
mov eax, dword [esp + 0x30]
push 0
push 0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CFile::Open
lea ecx, [esp + 0xc]
call fcn.0040b540
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 3
call sub.MFC42.DLL_CFile::GetLength
mov edi, eax
lea ecx, [edi + 1]
push ecx
call sub.MFC42.DLL_operatornew
add esp, 4
mov esi, eax
lea ecx, [esp + 0x10]
push edi
push esi
call sub.MFC42.DLL_CFile::Read
push esi
lea edx, [esp + 0xc]
push 0x41236c
push edx
mov byte [esi + edi], 0
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CFile::GetLength
lea ecx, [esp + 0x10]
mov edi, eax
call sub.MFC42.DLL_CFile::Close
push str.html
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Find
cmp eax, 0xffffffff
je 0x408ee2
xor edi, edi
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.0040b7e0
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x40b050
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40d4fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
push edi
mov edi, ecx
mov ebp, dword [edi + 8]
sub esp, 0x18
mov esi, esp
lea eax, [esp + 0x38]
mov dword [esp + 0x24], esp
push eax
mov ecx, esi
mov dword [esp + 0x34], 0
mov dword [esp + 0x28], esi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 1
push ecx
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0x40]
lea ecx, [esi + 8]
push edx
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x4c]
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 0x48]
mov dword [esi + 0x10], ecx
push edx
lea ecx, [esi + 0x14]
mov byte [esp + 0x34], 3
call sub.MFC42.DLL_CString::CString_1
push ebp
mov ecx, edi
mov byte [esp + 0x34], 0
call fcn.0040b140
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x18], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 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 edi
mov eax, ebp
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x10
ret 0x18