Function at 0x410450
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x427096
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x68]
push ebp
push esi
mov esi, ecx
xor ebp, ebp
mov ecx, dword [esp + 0x6c]
push edi
mov dword [esi + 0x6c], ecx
mov ecx, dword [esi + 0xf0]
cmp ecx, ebp
mov dword [esi + 0x68], eax
mov dword [esi + 0x70], edx
je 0x41049b
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0xf0], ebp
push 0x2c
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x58], eax
cmp eax, ebp
mov dword [esp + 0x50], ebp
je 0x4104c6
mov ecx, dword [esi + 0x68]
push ebp
or edi, 0xffffffff
push ebp
push edi
push ebp
push ebp
push ecx
mov ecx, eax
call fcn.00408c70
jmp 0x4104cb
xor eax, eax
or edi, 0xffffffff
mov ecx, dword [esi + 0xf8]
mov dword [esp + 0x50], edi
cmp ecx, ebp
mov dword [esi + 0xf0], eax
je 0x4104ec
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [esi + 0xf8], ebp
cmp dword [esi + 0x70], ebp
je 0x410529
push 0x2c
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x58], eax
cmp eax, ebp
mov dword [esp + 0x50], 1
je 0x41051d
mov ecx, dword [esi + 0x70]
push ebp
push ebp
push edi
push ebp
push ebp
push ecx
mov ecx, eax
call fcn.00408c70
jmp 0x41051f
xor eax, eax
mov dword [esp + 0x50], edi
mov dword [esi + 0xf8], eax
mov ecx, dword [esi + 0xf4]
cmp ecx, ebp
je 0x410540
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [esi + 0xf4], ebp
cmp dword [esi + 0x6c], ebp
je 0x41057d
push 0x2c
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x58], eax
cmp eax, ebp
mov dword [esp + 0x50], 2
je 0x410571
mov ecx, dword [esi + 0x6c]
push ebp
push ebp
push edi
push ebp
push ebp
push ecx
mov ecx, eax
call fcn.00408c70
jmp 0x410573
xor eax, eax
mov dword [esp + 0x50], edi
mov dword [esi + 0xf4], eax
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetStyle
mov ecx, esi
mov edi, eax
call sub.MFC42.DLL_CWnd::GetExStyle
and edi, 0x8000000
mov eax, 0x42a0e8
mov dword [esi + 0x80], edi
mov dword [esi + 0x88], 1
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x50], 3
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], eax
push esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x54], 4
call sub.MFC42.DLL_CClientDC::CClientDC
mov eax, dword [esi + 0xf0]
push 6
mov byte [esp + 0x54], 5
mov ecx, dword [eax + 0x24]
mov dword [esi + 0x40], ecx
mov eax, dword [eax + 0x20]
push eax
push ecx
push ebp
push ebp
push ebp
mov ecx, esi
mov dword [esi + 0x44], eax
call sub.MFC42.DLL_CWnd::SetWindowPos
mov eax, dword [esp + 0x5c]
cmp eax, 0xffffffff
jne 0x410605
mov eax, dword [esi + 0x40]
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x50], eax
mov eax, dword [esp + 0x60]
cmp eax, 0xffffffff
jne 0x410619
mov eax, dword [esi + 0x44]
cdq
sub eax, edx
sar eax, 1
mov ebp, dword [esp + 0x20]
mov dword [esi + 0x54], eax
mov edx, dword [esp + 0x64]
lea eax, [esp + 0x1c]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esi + 0x58], edx
neg eax
sbb eax, eax
and eax, ebp
push eax
call edi
push eax
lea ecx, [esi + 0xc8]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esp + 0x68]
and eax, 0xffff
push eax
push 2
push eax
call sub.MFC42.DLL_AfxFindResourceHandle
mov ebp, dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
call ebp
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x30]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [esi + 0xcc]
push eax
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x48], eax
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x1c]
mov dword [esi + 0x4c], ecx
neg eax
sbb eax, eax
and eax, edx
push eax
call edi
push eax
lea ecx, [esi + 0xd8]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esp + 0x6c]
and eax, 0xffff
push eax
push 2
push eax
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call ebp
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [esi + 0xdc]
push eax
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 4
call fcn.00425030
mov esi, 0x42a110
mov dword [esp + 0xc], esi
lea ecx, [esp + 0xc]
mov byte [esp + 0x50], 6
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0xc], 0x42a0fc
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x50], 7
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x48
ret 0x20