joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e160
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4332e5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push esi
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], esp
mov esi, ecx
push eax
call fcn.0040cd20
mov ecx, dword [ebp - 0x18]
xor ebx, ebx
push ecx
mov dword [ebp - 4], ebx
call fcn.0040e550
add esp, 8
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CFile::CFile
push ebx
push 0x1000
lea edx, [ebp - 0x40]
push ebx
push edx
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CArchive::CArchive
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0040e480
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CException::CException
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString_3
or edi, 0xffffffff
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
mov dword [ebp - 0x30], vtable.CFileException.0
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], edi
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [0x447280]
mov ecx, dword [ebp - 0x18]
push eax
push ecx
lea edx, [ebp - 0x14]
push str._s_s
push edx
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp - 0x14]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x40e244
mov ecx, dword [ebp - 0x14]
and al, 0xfe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x30]
push edx
push 0x1001
push eax
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CFile::Open
cmp eax, ebx
jne 0x40e268
mov ecx, dword [ebp - 0x28]
push ebx
push edi
push ecx
call sub.MFC42.DLL_AfxThrowFileException
mov edx, dword [esi]
lea eax, [ebp - 0xa4]
push eax
mov ecx, esi
call dword [edx + 8]
mov dword [ebp - 0x30], vtable.CFileException.0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x30], vtable.CObject.0
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 1
call fcn.0042c9d6
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.0042c9d0
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], edi
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40e3b0
Capabilities:
Access peb ldr_data
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x433300
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
mov dword [esp + 0x20], ebx
call fcn.0040cbc0
add esp, 4
mov ecx, dword [0x447274]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x14]
push str._s_s
push eax
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov edi, dword [0x44726c]
mov ebx, dword [0x447270]
add esi, 0x30
push ecx
push 0x208
push 0x208
mov ecx, esi
call sub.MFC42.DLL_CString::GetBuffer
mov edx, dword [str.:MyPictures]
push eax
push edx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
mov ecx, esi
call sub.MFC42.DLL_CString::ReleaseBuffer
lea ecx, [esp + 0xc]
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

Function at 0x40e480
Capabilities:
Access peb ldr_data
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x433320
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 8]
mov dword [esp + 0x14], 0
push eax
call fcn.0040cbc0
add esp, 4
mov ecx, dword [0x447274]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0xc]
push str._s_s
push eax
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 8]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x40e505
mov edx, dword [esp + 4]
and al, 0xfe
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 4]
mov esi, dword [esi + 0x30]
mov ecx, dword [0x44726c]
mov edx, dword [0x447270]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x40e760
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x433398
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov al, byte [esp + 3]
push ebx
push ebp
push esi
push edi
push 0xc
mov byte [esp + 0x20], al
call sub.MFC42.DLL_operatornew
xor edi, edi
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x58], edi
call fcn.00419ad0
lea ecx, [esp + 0x18]
mov bl, 1
push ecx
mov byte [esp + 0x5c], bl
call fcn.0040cea0
add esp, 4
push str.DiskCache.tmp
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x64], 2
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push edi
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 3
call fcn.00419b80
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x58], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], bl
call sub.MFC42.DLL_CString::CString
cmp esi, edi
je 0x40e848
lea ecx, [esp + 0x28]
call fcn.00419ff0
mov esi, eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call fcn.0041a040
mov ecx, dword [esp + 0x20]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x64], 4
call fcn.0040ebc0
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], bl
call sub.MFC42.DLL_CString::CString
cmp esi, edi
jne 0x40e805
mov eax, dword [esp + 0x20]
mov esi, dword [eax]
cmp esi, eax
je 0x40e868
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esi + 8]
push eax
call edi
mov esi, dword [esi]
mov eax, dword [esp + 0x20]
cmp esi, eax
jne 0x40e858
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 0
call fcn.00419b70
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x58], 0xffffffff
mov edi, dword [ebp]
cmp edi, ebp
je 0x40e8bc
mov esi, edi
mov edi, dword [edi]
push 0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [eax], ecx
mov edx, dword [esi]
mov eax, dword [esi + 4]
lea ecx, [esi + 8]
mov dword [edx + 4], eax
call fcn.00403a50
push esi
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x28]
add esp, 4
dec ecx
cmp edi, ebp
mov dword [esp + 0x24], ecx
jne 0x40e889
mov ecx, dword [esp + 0x20]
push ecx
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x54]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
Function at 0x40e8e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4333cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28c
push ebx
push esi
push edi
lea eax, [ebp - 0x294]
mov dword [ebp - 0x10], esp
xor ebx, ebx
push 0x208
push eax
push ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40e938
lea ecx, [ebp - 0x24]
push 0x43d870
push ecx
mov dword [ebp - 0x24], str.Failed_GetModuleFileName
call sub.MSVCRT.dll__CxxThrowException
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x294]
push edx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
cmp edi, ebx
jne 0x40e963
lea ecx, [ebp - 0x28]
push 0x43d870
push ecx
mov dword [ebp - 0x28], str.Failed_GetFileVersionInfoSize
call sub.MSVCRT.dll__CxxThrowException
push edi
call sub.MFC42.DLL_operatornew
add esp, 4
mov esi, eax
lea edx, [ebp - 0x294]
mov dword [ebp - 0x14], esi
push esi
push edi
push ebx
push edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x40e999
lea eax, [ebp - 0x18]
push 0x43d870
push eax
mov dword [ebp - 0x18], str.Failed_GetFileVersionInfo
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [ebp - 0x50]
lea edx, [ebp - 0x20]
push ecx
push edx
push 0x445148
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x40e9c5
lea eax, [ebp - 0x1c]
push 0x43d870
push eax
mov dword [ebp - 0x1c], str.Failed_VerQueryValue
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
push esi
mov ecx, dword [eax + 8]
mov dword [edx], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410070
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x433560
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], 0
push eax
call fcn.0040cdc0
add esp, 4
push 0x5c
lea ecx, [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_operator_2
mov edx, dword [str.Settings.cfg]
mov byte [esp + 0x1c], 2
push edx
push eax
lea eax, [esp + 0x10]
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 4]
push eax
push 0x400
push 0x400
mov byte [esp + 0x28], 3
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [str.HelpFilePath]
push eax
push 0x446fe0
push str.FM.Tutorial
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
push 0xffffffffffffffff
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov esi, dword [esp + 4]
call fcn.0040c7a0
mov edx, dword [eax + 0x20]
push edx
push esi
call fcn.0042aa90
mov ecx, eax
call fcn.0042ab20
lea ecx, [esp + 4]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x410d30
Capabilities:
Log keystrokes via application hook

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x410dd0
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x447344], eax
ret

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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x433be0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x2c]
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
cmp eax, ecx
je 0x414177
mov edx, dword [edi]
cmp dword [eax], edx
je 0x414177
add eax, 0xc
cmp eax, ecx
jne 0x41416c
cmp eax, ecx
jne 0x4141fa
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [edi]
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], eax
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0xc]
mov dword [esp + 0x18], edx
mov eax, dword [esi + 8]
lea ecx, [esp + 0x10]
push ecx
push 1
push eax
mov ecx, esi
mov byte [esp + 0x30], 1
call fcn.004148c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov esi, dword [esi + 8]
pop edi
sub esi, 0xc
lea eax, [esi + 4]
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
add eax, 4
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x417d91
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
push 0xfffffffffffffff0
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp al, 0xb
jne case.0x417dd1.16
mov eax, dword [esp + 0x10]
cmp dword [eax + 4], 0x100
jne case.0x417dd1.16
mov eax, dword [eax + 8]
lea ecx, [eax - 0xd]
cmp ecx, 0x1b
ja case.0x417dd1.16
xor edx, edx
mov dl, byte [ecx + 0x417f90]
jmp dword [edx*4 + 0x417f80]
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetStyle
test ah, 0x10
jne 0x417df2
mov eax, dword [esi + 0xc8]
test eax, eax
jne case.0x417dd1.16
mov eax, dword [esi + 0xc8]
cmp eax, 4
jne 0x417e18
mov eax, dword [esi + 0x20]
push 0
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test esi, esi
jne 0x417e54
xor ebx, ebx
jmp 0x417e57
cmp eax, 2
jne 0x417e38
mov edi, dword [esi + 0xc4]
mov edx, dword [esi + 0x20]
xor ecx, ecx
push 0
test edi, edi
sete cl
push ecx
push 0xf1
push edx
jmp 0x417e0a
test eax, eax
jne 0x417e10
push 0x20
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x417e10
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
mov ebx, dword [esi + 0x20]
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov ecx, esi
mov edi, eax
call sub.MFC42.DLL_CWnd::GetDlgCtrlID
mov ecx, dword [edi + 0x20]
and eax, 0xffff
push ebx
push eax
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
mov eax, dword [esi + 0xc8]
test eax, eax
jne case.0x417dd1.16
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xd
call edi
test ax, ax
jge 0x417eb9
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
push 0x20
call edi
test ax, ax
jge case.0x417dd1.16
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
cmp dword [esi + 0xc8], 4
jne case.0x417dd1.16
cmp eax, 0x26
je 0x417eec
cmp eax, 0x25
je 0x417eec
xor edi, edi
jmp 0x417ef1
mov edi, 1
mov edx, dword [esi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push edx
call ebx
push eax
call sub.MFC42.DLL_CWnd::FromHandle
test esi, esi
jne 0x417f0b
xor ecx, ecx
jmp 0x417f0e
mov ecx, dword [esi + 0x20]
mov eax, dword [eax + 0x20]
push ebp
push edi
push ecx
push eax
call dword [sym.imp.USER32.dll_GetNextDlgGroupItem]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov edi, eax
push 0
push 1
push 0xf1
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test edi, edi
jne 0x417f3e
xor ebp, ebp
jmp 0x417f41
mov ebp, dword [edi + 0x20]
mov edx, dword [esi + 0x20]
push edx
call ebx
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov ecx, edi
mov ebx, eax
call sub.MFC42.DLL_CWnd::GetDlgCtrlID
and eax, 0xffff
push ebp
push eax
mov eax, dword [ebx + 0x20]
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop ebp
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.004171b0
pop edi
pop esi
pop ebx
ret 4
Function at 0x41a5d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4342f5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
xor ebx, ebx
push edi
mov dword [esp + 0xc], ebx
call fcn.0041c8f0
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x14]
mov edi, eax
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString_3
test esi, esi
mov byte [esp + 0x24], 2
je 0x41a718
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x30]
mov eax, dword [eax]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x41a65f
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x30]
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x41a6f0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41a670
lea eax, [esp + 0x10]
jmp 0x41a6ac
lea edx, [esp + 0x10]
push 0x2e
lea eax, [esp + 0x1c]
push edx
push eax
call sub.MFC42.DLL_operator_2
or ebx, 1
mov dword [esp + 0xc], ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x30]
push ecx
push eax
push edx
mov byte [esp + 0x30], 3
call sub.MFC42.DLL_operator_1
or ebx, 2
mov dword [esp + 0xc], ebx
mov dword [esp + 0x24], 4
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator
test bl, 2
mov dword [esp + 0x24], 3
je 0x41a6d3
and ebx, 0xfffffffd
lea ecx, [esp + 0x30]
mov dword [esp + 0xc], ebx
call sub.MFC42.DLL_CString::CString
test bl, 1
mov dword [esp + 0x24], 2
je 0x41a6f0
and ebx, 0xfffffffe
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
call sub.MFC42.DLL_CString::CString
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetStyle
test eax, 0x80000000
jne 0x41a718
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov esi, eax
test esi, esi
jne 0x41a623
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
or ebx, 4
mov dword [esp + 0xc], ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x41c360
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4346bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
mov ebp, dword [esp + 0x34]
push esi
mov esi, ecx
push edi
push ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
push str.msg.
push ecx
mov dword [esp + 0x3c], 1
call sub.MFC42.DLL_operator_3
push str..Win.Caption
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_operator
mov ecx, dword [esi + 4]
push 0
push 0x447470
push eax
mov edx, dword [ecx]
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x40], 3
call dword [edx + 0x18]
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 5
call sub.MFC42.DLL_CString::CString
mov ecx, dword [0x447470]
mov edx, dword [esp + 0x3c]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push ecx
push edx
call edi
add esp, 8
test eax, eax
jne 0x41c4b4
lea eax, [esp + 0xc]
lea ecx, [esp + 0x20]
push eax
push str.msg.
push ecx
call sub.MFC42.DLL_operator_3
push str..Com.Caption
lea edx, [esp + 0x20]
push eax
push edx
mov byte [esp + 0x3c], 7
call sub.MFC42.DLL_operator
mov ecx, dword [esi + 4]
push 1
push 0x447470
push eax
mov edx, dword [ecx]
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x40], 8
call dword [edx + 0x18]
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 9
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 5
call sub.MFC42.DLL_CString::CString
mov ecx, dword [0x447470]
mov edx, dword [esp + 0x3c]
push ecx
push edx
call edi
add esp, 8
test eax, eax
jne 0x41c4b4
push ebp
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::operator_1
push 0x445934
push 0x445930
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Replace
push 0x44592c
push 0x445928
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Replace
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x421440
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x434eaa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push esi
push edi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CStringArray::CStringArray
mov esi, dword [esp + 0x5c]
lea eax, [esp + 0x18]
push eax
push 0x2c
push esi
mov dword [esp + 0x5c], 0
call fcn.0041ba40
add esp, 0xc
cmp eax, 4
je 0x4214dc
mov cl, byte [esp + 0x5c]
mov esi, dword [esi]
mov byte [esp + 8], cl
push 0
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea edx, [esp + 8]
lea ecx, [esp + 0x2c]
push edx
mov byte [esp + 0x54], 1
call fcn.0041f760
lea eax, [esp + 0x2c]
push 0x43d3e0
push eax
mov dword [esp + 0x34], vtable.UnknownFormat.0
call sub.MSVCRT.dll__CxxThrowException
xor esi, esi
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + esi*4]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4214f9
push eax
call fcn.0041b9f0
add esp, 4
test eax, eax
je 0x42156c
inc esi
cmp esi, 4
jl 0x4214de
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.MSVCRT.dll_atoi]
push ebx
push ebp
mov eax, dword [eax]
push eax
call esi
mov ecx, dword [esp + 0x28]
mov edi, eax
mov eax, dword [ecx + 4]
push eax
call esi
mov edx, dword [esp + 0x2c]
mov ebx, eax
mov eax, dword [edx + 8]
push eax
call esi
mov ebp, eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0xc]
push eax
call esi
mov esi, dword [esp + 0x70]
add esp, 0x10
lea ecx, [esp + 0x20]
mov dword [esp + 0x58], 0xffffffff
mov dword [esi], edi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebp
mov dword [esi + 0xc], eax
call fcn.0042cb9e
mov ecx, dword [esp + 0x50]
pop ebp
pop ebx
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x4c
ret
mov edx, dword [esp + 0x1c]
mov al, byte [esp + 0x5c]
push 0
lea ecx, [esp + 0xc]
mov esi, dword [edx + esi*4]
mov byte [esp + 0xc], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea ecx, [esp + 8]
mov byte [esp + 0x50], 2
push ecx
lea ecx, [esp + 0x30]
call fcn.00404050
lea edx, [esp + 0x2c]
push 0x43d3e0
push edx
mov dword [esp + 0x34], vtable.UnknownFormat.0
call sub.MSVCRT.dll__CxxThrowException
nop
nop
nop
nop
nop
nop
nop
Function at 0x426620
Capabilities:
Access peb ldr_data
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43560f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 0
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi + 4]
lea ecx, [esp + 0xc]
push eax
push 0x200
push 0x200
mov dword [esp + 0x28], 1
call sub.MFC42.DLL_CString::GetBuffer
mov edi, dword [esp + 0x30]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x446fe0
push edi
push str.Launch_Win
call ebp
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4266cb
mov esi, dword [esi + 4]
lea ecx, [esp + 0xc]
push esi
push 0x200
push 0x200
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x446fe0
push edi
push str.Launch
call ebp
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret 8