joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401870
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4177b8
push eax
mov dword fs:[0], esp
sub esp, 0x71c
push esi
push edi
lea eax, [esp + 0xc]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
push 0
lea ecx, [esp + 0x220]
push 0
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__splitpath]
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
lea ecx, [esp + 0x230]
lea edx, [esp + 0x1c]
push ecx
push edx
lea eax, [esp + 0x130]
push str._s_sini_foxline.txt
push eax
call edi
lea ecx, [esp + 0x138]
push 0x4200bc
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 0x2c
test esi, esi
je 0x40193d
mov edx, dword [esp + 0x734]
lea eax, [esp + 0x320]
push edx
push 0x4200b8
push eax
call edi
lea edi, [esp + 0x32c]
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x334]
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x20
lea ecx, [esp + 0x734]
mov dword [esp + 0x72c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x724]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x728
ret 4

Function at 0x401f40
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4178b8
push eax
mov dword fs:[0], esp
sub esp, 0x71c
push esi
push edi
lea eax, [esp + 0xc]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
push 0
lea ecx, [esp + 0x220]
push 0
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__splitpath]
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
lea ecx, [esp + 0x230]
lea edx, [esp + 0x1c]
push ecx
push edx
lea eax, [esp + 0x130]
push str._s_sini_foxmpos.txt
push eax
call edi
lea ecx, [esp + 0x138]
push 0x4200bc
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 0x2c
test esi, esi
je 0x40200d
mov edx, dword [esp + 0x734]
lea eax, [esp + 0x320]
push edx
push 0x4200b8
push eax
call edi
lea edi, [esp + 0x32c]
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x334]
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x20
lea ecx, [esp + 0x734]
mov dword [esp + 0x72c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x724]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x728
ret 4
Function at 0x402a00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x417a18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x14]
push eax
xor esi, esi
push str._s
push ecx
mov dword [esp + 0x2c], esi
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [edi + 0xc8]
push esi
push esi
push 0x18b
push edx
mov byte [esp + 0x30], 2
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, eax
test ebp, ebp
jle 0x402ad8
add edi, 0xa8
lea eax, [esp + 0x10]
mov ecx, edi
push eax
push esi
call sub.MFC42.DLL_CListBox::GetText
push 0x4201e0
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_1
push 0x4201e0
lea ecx, [esp + 0x10]
call fcn.00416e38
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CString::Find
cmp eax, 0xffffffff
je 0x402ad3
push 1
push esi
mov ecx, edi
call sub.MFC42.DLL_CCheckListBox::SetCheck
inc esi
cmp esi, ebp
jl 0x402a7f
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x402b20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x417a48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x14]
push eax
xor esi, esi
push str._s
push ecx
mov dword [esp + 0x2c], esi
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [edi + 0x80]
push esi
push esi
push 0x18b
push edx
mov byte [esp + 0x30], 2
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, eax
test ebp, ebp
jle 0x402bf5
add edi, 0x60
lea eax, [esp + 0x10]
mov ecx, edi
push eax
push esi
call sub.MFC42.DLL_CListBox::GetText
push 0x4201e0
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_1
push 0x4201e0
lea ecx, [esp + 0x10]
call fcn.00416e38
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CString::Find
cmp eax, 0xffffffff
je 0x402bf0
push 1
push esi
mov ecx, edi
call sub.MFC42.DLL_CCheckListBox::SetCheck
inc esi
cmp esi, ebp
jl 0x402b9c
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x403cc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x417ba8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0xc]
mov ecx, esi
push eax
push 0x427
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.MSVCRT.dll_atol]
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
add esp, 4
mov ebp, eax
call edi
sub eax, dword [esi + 0x18c]
cmp eax, ebp
jae 0x403d47
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
call edi
mov edi, dword [esp + 0x24]
mov dword [esi + 0x18c], eax
mov eax, 0x2aaaaaab
imul edi
mov ecx, edx
mov eax, dword [esp + 0x20]
shr ecx, 0x1f
add edx, ecx
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
fld qword [esi + 0x178]
fcos
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x24], eax
fmul st(1)
fild dword [esp + 0x24]
faddp st(1)
call sub.MSVCRT.dll__ftol
mov edx, dword [esp + 0x28]
mov dword [edx], eax
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
fld qword [esi + 0x178]
fsin
fmul st(2)
fsubp st(1)
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x2c]
fstp st(0)
mov dword [ecx], eax
fld qword [esi + 0x178]
fadd qword [0x41ac90]
fst qword [esi + 0x178]
fcomp qword [0x41ac88]
fnstsw ax
test ah, 0x41
jne 0x403df3
mov dword [esi + 0x178], 0
mov dword [esi + 0x17c], 0
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
pop edi
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x403e20
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x417bc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0xc]
mov ecx, esi
push eax
push 0x427
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.MSVCRT.dll_atol]
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
add esp, 4
mov ebx, eax
call edi
sub eax, dword [esi + 0x18c]
cmp eax, ebx
jae 0x403ea7
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
push ebp
call edi
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov dword [esi + 0x18c], eax
cmp dword [esi + 0x180], 1
jne 0x403ed4
mov ecx, dword [esp + 0x24]
push edi
push ebx
push ebp
push ecx
mov ecx, esi
call fcn.00403f60
cmp dword [esi + 0x180], 2
jne 0x403eec
mov edx, dword [esp + 0x24]
push edi
push ebx
push ebp
push edx
mov ecx, esi
call fcn.00404050
cmp dword [esi + 0x180], 3
jne 0x403f04
mov eax, dword [esp + 0x24]
push edi
push ebx
push ebp
push eax
mov ecx, esi
call fcn.004040b0
cmp dword [esi + 0x180], 4
jne 0x403f1c
mov ecx, dword [esp + 0x24]
push edi
push ebx
push ebp
push ecx
mov ecx, esi
call fcn.00404100
cmp dword [esi + 0x180], 5
jne 0x403f34
mov edx, dword [esp + 0x24]
push edi
push ebx
push ebp
push edx
mov ecx, esi
call fcn.00404190
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10

Function at 0x4048b0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
add ecx, 4
push ecx
mov ecx, dword [esp + 0xc]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntA]
ret 0xc

Function at 0x4048d0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x417cd2
push eax
mov eax, 0x1008
mov dword fs:[0], esp
call fcn.00417260
push esi
mov dword [esp + 4], 0
mov edx, dword [esp + 0x1024]
add ecx, 4
push ecx
mov ecx, dword [esp + 0x1030]
lea eax, [esp + 0xc]
push 0x1000
push eax
mov eax, dword [esp + 0x102c]
push ecx
push edx
push eax
mov dword [esp + 0x102c], 1
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
mov esi, dword [esp + 0x1028]
lea ecx, [esp + 8]
push ecx
push 0x4203dc
push esi
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push esi
mov esi, dword [esp + 0x1020]
mov ecx, esi
call fcn.00416ec2
mov dword [esp + 4], 1
lea ecx, [esp + 0x102c]
mov byte [esp + 0x1014], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x100c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1014
ret 0x14
Function at 0x405910
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
mov esi, dword [esp + 0x5c]
push esi
call fcn.00405c90
mov ecx, 1
lea edx, [esp + 0x14]
mov dword [esp + 0x40], ecx
mov word [esp + 0x44], cx
lea ecx, [esp + 4]
xor eax, eax
push ecx
push edx
push eax
push eax
push 0x20
push eax
push eax
push eax
push esi
push eax
mov dword [esp + 0x3c], 0x44
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x70], eax
mov word [esp + 0x6e], ax
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
jne 0x405982
or eax, 0xffffffff
pop esi
add esp, 0x54
ret 4
mov eax, dword [esp + 4]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 8]
push ecx
call esi
xor eax, eax
pop esi
add esp, 0x54
ret 4

Function at 0x405c90
Capabilities:
Set current directory

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x210
lea eax, [esp + 4]
lea ecx, [esp]
push 0
push 0
push eax
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__splitpath]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x124]
push str._s_s
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x24
lea eax, [esp + 0x108]
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
add esp, 0x210
ret 4

Function at 0x405cf0
Capabilities:
Set current directory

Disassembly:
sub esp, 0x318
lea eax, [esp + 0x108]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
push 0
lea ecx, [esp + 8]
push 0
lea edx, [esp + 8]
push ecx
lea eax, [esp + 0x114]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__splitpath]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x22c]
push str._s_s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x24
lea ecx, [esp + 0x210]
push ecx
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
add esp, 0x318
ret

Function at 0x4060a0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x128
push ebx
push esi
push edi
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov ebx, eax
lea eax, [esp + 0xc]
push eax
push ebx
call sub.KERNEL32.DLL_Process32First
test eax, eax
je 0x406106
mov esi, dword [sym.imp.MSVCRT.dll__mbsrchr]
mov edi, dword [sym.imp.MSVCRT.dll__mbsnbicmp]
lea ecx, [esp + 0x30]
push 0x5c
push ecx
call esi
add esp, 8
test eax, eax
jne 0x4060e5
lea eax, [esp + 0x30]
jmp 0x4060e6
inc eax
push 8
push str.main.exe
push eax
call edi
add esp, 0xc
test eax, eax
je 0x406119
lea edx, [esp + 0xc]
push edx
push ebx
call sub.KERNEL32.DLL_Process32Next
test eax, eax
jne 0x4060cf
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x128
ret
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x128
ret
Function at 0x406130
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x104
mov eax, dword [esp + 0x108]
push esi
push 0
push str.Internet_Explorer_Server
push 0
mov dword [esp + 0x10], ecx
push eax
call dword [sym.imp.USER32.dll_FindWindowExA]
mov esi, eax
test esi, esi
je 0x4061c8
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_strncmp]
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push ecx
push 0x100
push 0xd
push esi
call ebx
push 8
lea edx, [esp + 0x18]
push 0x4206bc
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40619f
push eax
push eax
push 0x10
push esi
call ebx
mov ecx, dword [esp + 0x10]
push esi
call fcn.00406130
mov eax, dword [esp + 0x118]
push 0
push str.Internet_Explorer_Server
push esi
push eax
call dword [sym.imp.USER32.dll_FindWindowExA]
mov esi, eax
test esi, esi
jne 0x406167
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x104
ret 4

Function at 0x406ea3
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
push 0x444
call sub.MFC42.DLL_CWnd::IsDlgButtonChecked
test eax, eax
je 0x406f15
push edi
push 1
push 0
push 0x43f
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItemInt
push 1
push 0
push 0x445
mov ecx, esi
mov edi, eax
call sub.MFC42.DLL_CWnd::GetDlgItemInt
mov esi, eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
mov ecx, dword [esp + 0x10]
and ecx, 0xffff
cmp ecx, edi
pop edi
jne 0x406f15
mov edx, dword [esp + 0xe]
and edx, 0xffff
cmp edx, esi
jne 0x406f15
push 0
push 0xc
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov eax, 1
pop esi
add esp, 0x10
ret
xor eax, eax
pop esi
add esp, 0x10
ret
Function at 0x40a400
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x41869a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
push 0x8c
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 8], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x14], esi
je 0x40a43e
mov ecx, eax
call fcn.00410fc0
mov esi, eax
push str._0070409C_0
lea ecx, [esi + 4]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::operator
push str.07928908
lea ecx, [esi + 0x58]
call sub.MFC42.DLL_CString::operator
push str.006E75C8
lea ecx, [esi + 0x3c]
call sub.MFC42.DLL_CString::operator
push str.07862848
lea ecx, [esi + 0x30]
call sub.MFC42.DLL_CString::operator
push str.078504C5
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::operator
push str.07db41d8
lea ecx, [esi + 0x24]
call sub.MFC42.DLL_CString::operator
push str.07db41dc
lea ecx, [esi + 0x28]
call sub.MFC42.DLL_CString::operator
push str.006d563c
lea ecx, [esi + 0x2c]
call sub.MFC42.DLL_CString::operator
push str.07DD17FC
lea ecx, [esi + 0x38]
call sub.MFC42.DLL_CString::operator
push str.006E7530
lea ecx, [esi + 0x40]
call sub.MFC42.DLL_CString::operator
push str.078F5CAC
lea ecx, [esi + 0xc]
call sub.MFC42.DLL_CString::operator
push str.07db4354
lea ecx, [esi + 0x80]
call sub.MFC42.DLL_CString::operator
push str.07928818
lea ecx, [esi + 0x10]
call sub.MFC42.DLL_CString::operator
push str.006e7590
lea ecx, [esi + 0x44]
call sub.MFC42.DLL_CString::operator
push str.006e7591
lea ecx, [esi + 0x48]
call sub.MFC42.DLL_CString::operator
push str._074527C4__x
lea ecx, [esi + 0x4c]
call sub.MFC42.DLL_CString::operator
push str.07DB030C
lea ecx, [esi + 0x50]
call sub.MFC42.DLL_CString::operator
push str.07db08ec
lea ecx, [esi + 0x54]
call sub.MFC42.DLL_CString::operator
push str.07dd1801
lea ecx, [esi + 0x60]
call sub.MFC42.DLL_CString::operator
push str.079288dc
lea ecx, [esi + 0x34]
call sub.MFC42.DLL_CString::operator
push str.077c6f9c
lea ecx, [esi + 0x64]
call sub.MFC42.DLL_CString::operator
push str.0792680c_x
lea ecx, [esi + 0x68]
call sub.MFC42.DLL_CString::operator
push esi
lea ecx, [edi + 4]
call sub.MFC42.DLL_CObList::AddTail
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x418940
push eax
mov dword fs:[0], esp
mov eax, dword [esp + 0x10]
mov dword [esp + 8], 0
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov ecx, dword [esp + 0x18]
add esp, 4
add eax, 0x30
mov dword [ecx], eax
push 0x4201e0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find
inc eax
lea edx, [esp + 0x14]
push eax
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
mov ecx, dword [esp + 0x18]
push eax
mov byte [esp + 0xc], 1
call fcn.00416eb6
lea ecx, [esp + 0x14]
mov byte [esp + 8], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 8], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp]
mov dword fs:[0], ecx
add esp, 0xc
ret 0xc
Function at 0x40b310
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x418958
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
push 2
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::Mid_1
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov ebx, dword [sym.imp.MSVCRT.dll_strtoul]
push 0x10
lea ecx, [esp + 0x10]
push 0
push ecx
call ebx
mov edx, dword [esp + 0x34]
add esp, 0xc
lea ecx, [esp + 0x24]
mov dword [edx], eax
push 2
lea eax, [esp + 0x2c]
push 2
push eax
call sub.MFC42.DLL_CString::Mid_1
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString
push 0x10
lea ecx, [esp + 0x10]
push 0
push ecx
call ebx
mov edx, dword [esp + 0x38]
add esp, 0xc
lea ecx, [esp + 0x24]
mov dword [edx], eax
push 2
lea eax, [esp + 0x2c]
push 4
push eax
call sub.MFC42.DLL_CString::Mid_1
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
lea edx, [esp + 0xc]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString
push 0x10
lea ecx, [esp + 0x10]
push 0
push ecx
call ebx
mov edx, dword [esp + 0x3c]
add esp, 0xc
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
mov dword [edx], eax
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 0x10
Function at 0x410400
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x418e68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
push esi
push edi
mov edi, ecx
push 2
lea ecx, [esp + 0x14]
mov eax, dword [edi + 0xa8]
lea esi, [edi + 0xd4]
push eax
mov eax, dword [edi + 0xdc]
push eax
push ecx
mov ecx, esi
call fcn.00411bb0
lea edx, [esp + 0x24]
push 2
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0
call sub.MFC42.DLL_CString::Left
mov ebp, eax
lea eax, [esp + 0x20]
push 2
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::Right
push 0x421028
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_operator_1
push ebp
lea edx, [esp + 0x1c]
push eax
push edx
mov byte [esp + 0x3c], 3
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 5
call sub.MFC42.DLL_CString::CString
push str.C1_07_D2__s__02x__02x_FD
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 8
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x44], 9
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 0xac]
add esp, 0x14
push edx
push eax
mov eax, dword [edi + 0xdc]
mov ecx, esi
push eax
call fcn.00411c50
mov ecx, esi
call fcn.00411b60
push str.push_043FA7C8
mov ecx, esi
call fcn.00411b30
push str.call_0631C00
mov ecx, esi
call fcn.00411b30
push str.add_esp_4
mov ecx, esi
call fcn.00411b30
mov ecx, dword [edi + 0xdc]
push 1
push ecx
mov ecx, esi
call fcn.00411b80
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret 8