Function at 0x408df0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41c9b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push str.Fonts
mov dword [esi + 0xc], eax
add eax, 0xe4
push eax
lea eax, [esp + 0x18]
push eax
call sub.MFC42.DLL_operator
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x38], 2
call fcn.0041b7f4
push ecx
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x3c], 3
call fcn.0041b7f4
mov byte [esp + 0x38], 2
call fcn.00416c90
add esp, 8
test eax, eax
jne 0x40915e
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 4
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 5
call sub.MFC42.DLL_CString::CString_2
mov bl, 6
push 0x5c
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_CString::ReverseFind
inc eax
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 7
call fcn.0041b82a
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc]
mov eax, dword [edx - 8]
add eax, 0xfffffffc
push eax
lea eax, [esp + 0x28]
push eax
call sub.MFC42.DLL_CString::Left
mov esi, eax
lea ecx, [esp + 0x10]
push 0x429044
lea edx, [esp + 0x24]
push ecx
push edx
mov byte [esp + 0x3c], 8
call sub.MFC42.DLL_operator
push esi
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x38], 9
push eax
call sub.MFC42.DLL_operator_2
push str..FOT
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x3c], 0xa
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 0xb
call fcn.0041b82a
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x10]
push 0x429044
push edx
lea eax, [esp + 0x28]
push eax
call sub.MFC42.DLL_operator
lea ecx, [esp + 0xc]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
mov byte [esp + 0x3c], 0xc
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 0xd
call fcn.0041b82a
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.GDI32.dll_AddFontResourceA]
test eax, eax
jne 0x409096
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x409024
lea ecx, [esp + 0xc]
push 0x4293d8
lea edx, [esp + 0x28]
push ecx
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 0xe
call fcn.0041b82a
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
jmp 0x409122
push eax
lea ecx, [esp + 0xc]
push 0x4290b8
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0xc]
lea eax, [esp + 0x20]
push 0x4293c8
push edx
push eax
call sub.MFC42.DLL_operator
lea ecx, [esp + 8]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
mov byte [esp + 0x3c], 0xf
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 0x10
call fcn.0041b82a
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
jmp 0x409122
push 0
push 0
push 0x1d
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
test eax, eax
jne 0x4091a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0xc]
push 0x4290b8
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0xc]
lea eax, [esp + 0x20]
push 0x4293c8
push edx
push eax
call sub.MFC42.DLL_operator
lea ecx, [esp + 8]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
mov byte [esp + 0x3c], 0x11
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 0x12
call fcn.0041b82a
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
lea eax, [esp + 0xc]
push eax
call fcn.0041b7f4
call fcn.00416710
add esp, 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop esi
pop ebx
add esp, 0x2c
ret 8
lea ecx, [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
push 0x4293bc
push edx
call sub.MFC42.DLL_operator_1
push 0x4293b0
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x38], 0x13
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 0x14
call fcn.0041b82a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
push ecx
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.0041b7f4
call fcn.00416710
add esp, 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 8