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

Disassembly:
push 0xffffffffffffffff
push 0x41635d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.004150be
mov dword [esi], 0x418e70
xor ebx, ebx
lea ecx, [esi + 0x40]
mov dword [esp + 0x5c], ebx
call fcn.00404440
lea ebp, [esi + 0x138]
mov eax, 0x418e5c
mov dword [ebp + 4], ebx
mov dword [ebp], eax
mov dword [esi + 0x144], ebx
mov dword [esi + 0x140], eax
mov dword [esi + 0x14c], ebx
mov dword [esi + 0x148], eax
mov dword [esi + 0x154], ebx
mov dword [esi + 0x150], eax
mov dword [esi + 0x168], ebx
mov dword [esi + 0x164], eax
mov dword [esi + 0x170], ebx
mov dword [esi + 0x16c], eax
mov dword [esi + 0x178], ebx
mov dword [esi + 0x174], eax
mov dword [esi + 0x180], ebx
mov dword [esi + 0x17c], eax
lea ecx, [esi + 0x19c]
mov byte [esp + 0x5c], 9
call sub.MFC42.DLL_CString::CString_3
mov dword [esi + 0x1a8], ebx
mov dword [esi + 0x1a4], 0x418e48
mov dword [esi + 0x1b0], ebx
mov dword [esi + 0x1ac], 0x417eb4
lea ecx, [esi + 0x1bc]
mov byte [esp + 0x5c], 0xc
call sub.MFC42.DLL_CImageList::CImageList
lea ecx, [esi + 0x1f8]
mov byte [esp + 0x5c], 0xd
call fcn.00411380
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
mov dword [esi], 0x418d80
mov dword [esi + 0x1d4], 0x793f
mov dword [esi + 0x1ec], ebx
mov dword [esi + 0x1e8], ebx
mov dword [esi + 0x1e4], ebx
push 8
mov byte [esp + 0x60], 0xe
mov dword [esi + 0x1e0], ebx
mov dword [esi + 0x1dc], ebx
mov dword [esi + 0x1d8], ebx
mov dword [esi + 0x80], ebx
call edi
push 5
mov dword [esi + 0xf8], eax
call edi
push 5
mov dword [esi + 0x100], eax
call edi
push 0xd
mov dword [esi + 0x104], eax
call edi
mov dword [esi + 0xfc], eax
push 3
call edi
push 0xf
mov dword [esi + 0x108], eax
call edi
push 8
mov dword [esi + 0x10c], eax
mov dword [esi + 0x118], ebx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x5c], 0xf
je 0x40900f
push 0xc0c0c0
push 1
push ebx
mov ecx, eax
call sub.MFC42.DLL_CPen::CPen
jmp 0x409011
xor eax, eax
push 8
mov byte [esp + 0x60], 0xe
mov dword [esi + 0x130], eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x5c], 0x10
je 0x409044
push 0x808080
push 1
push ebx
mov ecx, eax
call sub.MFC42.DLL_CPen::CPen
jmp 0x409046
xor eax, eax
push 0x11
mov byte [esp + 0x60], 0xe
mov dword [esi + 0x134], eax
mov dword [esi + 0x11c], ebx
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
mov edx, dword [eax + 4]
lea ecx, [esp + 0x18]
push ecx
push 0x3c
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edi, dword [sym.imp.GDI32.dll_CreateFontIndirectA]
lea eax, [esp + 0x18]
push eax
call edi
push eax
mov ecx, ebp
call sub.MFC42.DLL_CGdiObject::Attach
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0x2bc
push ecx
call edi
push eax
lea ecx, [esi + 0x148]
call sub.MFC42.DLL_CGdiObject::Attach
lea edx, [esp + 0x18]
mov dword [esp + 0x28], ebx
push edx
mov byte [esp + 0x31], 1
call edi
push eax
lea ecx, [esi + 0x140]
call sub.MFC42.DLL_CGdiObject::Attach
lea eax, [esp + 0x18]
mov byte [esp + 0x2d], bl
push eax
mov byte [esp + 0x30], 1
call edi
push eax
lea ecx, [esi + 0x150]
call sub.MFC42.DLL_CGdiObject::Attach
or edi, 0xffffffff
push 0x40ea90
lea ecx, [esi + 0x40]
mov dword [esi + 0x158], ebx
mov dword [esi + 0x114], edi
mov dword [esi + 0x1f4], ebx
mov dword [esi + 0x110], edi
call fcn.00405320
mov dword [esi + 0x12c], edi
lea edi, [esi + 0x188]
xor eax, eax
xor ecx, ecx
mov dword [edi], eax
xor edx, edx
push str.Gfx_list_Control
mov dword [esi + 0xf0], ebx
mov dword [edi + 4], ecx
lea ecx, [esi + 0x19c]
mov dword [esi + 0xf4], ebx
mov dword [esi + 0x1c8], ebx
mov dword [edi + 8], edx
mov dword [esi + 0x1d0], ebx
mov dword [esi + 0x1c4], ebx
mov dword [esi + 0x120], 0x11
mov dword [esi + 0x128], 0x10
mov byte [esi + 0x1a0], 1
mov dword [esi + 0x124], ebx
mov byte [esi + 0x15c], bl
mov dword [esi + 0x160], ebx
mov dword [edi + 0xc], ebx
mov dword [esi + 0x198], ebx
call fcn.004150d0
mov ecx, dword [esp + 0x54]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret