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

Disassembly:
push 0xffffffffffffffff
push 0x41490d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x50800000
push str.SysListView32
mov dword [esp + 0x18], esi
call sub.MFC42.DLL_CCtrlView::CCtrlView
mov dword [esi], 0x4180c0
xor ebx, ebx
lea ecx, [esi + 0x50]
mov dword [esp + 0x5c], ebx
call fcn.004049f0
lea ebp, [esi + 0x148]
mov eax, 0x4180ac
mov dword [ebp + 4], ebx
mov dword [ebp], eax
mov dword [esi + 0x154], ebx
mov dword [esi + 0x150], eax
mov dword [esi + 0x15c], ebx
mov dword [esi + 0x158], eax
mov dword [esi + 0x164], ebx
mov dword [esi + 0x160], eax
mov dword [esi + 0x174], ebx
mov dword [esi + 0x170], eax
mov dword [esi + 0x17c], ebx
mov dword [esi + 0x178], eax
mov dword [esi + 0x184], ebx
mov dword [esi + 0x180], eax
mov dword [esi + 0x18c], ebx
mov dword [esi + 0x188], eax
lea ecx, [esi + 0x1a8]
mov byte [esp + 0x5c], 9
call sub.MFC42.DLL_CString::CString
mov dword [esi + 0x1b4], ebx
mov dword [esi + 0x1b0], 0x418098
mov dword [esi + 0x1bc], ebx
mov dword [esi + 0x1b8], 0x41717c
lea ecx, [esi + 0x1c8]
mov byte [esp + 0x5c], 0xc
call sub.MFC42.DLL_CImageList::CImageList
lea ecx, [esi + 0x204]
mov byte [esp + 0x5c], 0xd
call fcn.00408c20
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
mov dword [esi], 0x417f80
mov dword [esi + 0x1e0], 0x793f
mov dword [esi + 0x1f8], ebx
mov dword [esi + 0x1f4], ebx
mov dword [esi + 0x1f0], ebx
push 8
mov byte [esp + 0x60], 0xe
mov dword [esi + 0x1ec], ebx
mov dword [esi + 0x1e8], ebx
mov dword [esi + 0x1e4], ebx
mov dword [esi + 0x90], ebx
call edi
push 5
mov dword [esi + 0x108], eax
call edi
push 5
mov dword [esi + 0x110], eax
call edi
mov dword [esi + 0x114], eax
push 0xd
call edi
push 3
mov dword [esi + 0x10c], eax
call edi
push 0xf
mov dword [esi + 0x118], eax
call edi
push 8
mov dword [esi + 0x11c], eax
mov dword [esi + 0x128], ebx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x5c], 0xf
je 0x409989
push 0xc0c0c0
push 1
push ebx
mov ecx, eax
call sub.MFC42.DLL_CPen::CPen
jmp 0x40998b
xor eax, eax
push 8
mov byte [esp + 0x60], 0xe
mov dword [esi + 0x140], eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x5c], 0x10
je 0x4099be
push 0x808080
push 1
push ebx
mov ecx, eax
call sub.MFC42.DLL_CPen::CPen
jmp 0x4099c0
xor eax, eax
push 0x11
mov byte [esp + 0x60], 0xe
mov dword [esi + 0x144], eax
mov dword [esi + 0x12c], 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 + 0x158]
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 + 0x150]
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 + 0x160]
call sub.MFC42.DLL_CGdiObject::Attach
or edi, 0xffffffff
push 0x40f520
lea ecx, [esi + 0x50]
mov dword [esi + 0x124], edi
mov dword [esi + 0x200], ebx
mov dword [esi + 0x120], edi
call fcn.004058d0
mov dword [esi + 0x13c], edi
lea edi, [esi + 0x194]
xor eax, eax
xor ecx, ecx
mov dword [edi], eax
xor edx, edx
push str.Gfx_list_Control
mov dword [esi + 0x100], ebx
mov dword [edi + 4], ecx
lea ecx, [esi + 0x1a8]
mov dword [esi + 0x104], ebx
mov dword [esi + 0x1d4], ebx
mov dword [edi + 8], edx
mov dword [esi + 0x1dc], ebx
mov dword [esi + 0x1d0], ebx
mov dword [esi + 0x130], 0x11
mov dword [esi + 0x138], 0x10
mov byte [esi + 0x1ac], 1
mov dword [esi + 0x134], ebx
mov byte [esi + 0x168], bl
mov dword [esi + 0x16c], ebx
mov dword [edi + 0xc], ebx
mov dword [esi + 0x1a4], ebx
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x54]
mov dword [esi + 0x4c], esi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret