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

Disassembly:
push 0xffffffffffffffff
push 0x4e5f07
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CDC::CDC
mov esi, dword [esp + 0xcc]
mov edi, dword [esp + 0xd0]
xor ebx, ebx
push ebp
lea ecx, [esp + 0x5c]
mov dword [esp + 0xc8], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], edi
call sub.MFC42.DLL_CClientDC::CClientDC
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x58]
neg eax
sbb eax, eax
mov byte [esp + 0xc4], 1
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CDC::Attach
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], 0x4ec69c
push 0x2c
mov byte [esp + 0xc8], 2
call sub.MFC42.DLL_operatornew
add esp, 4
lea ecx, [esp + 0x58]
neg ecx
mov dword [eax], 0x28
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov word [eax + 0xc], 1
mov word [eax + 0xe], 0x18
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x24], ebx
mov esi, dword [esp + 0x5c]
push ebx
lea edx, [esp + 0x38]
sbb ecx, ecx
push ebx
push edx
and ecx, esi
push ebx
push eax
push ecx
mov dword [esp + 0x4c], ebx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], eax
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xa4]
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 [esp + 0x3c]
push eax
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov eax, dword [ebp + 0x104]
mov esi, dword [ebp + 0xfc]
fild dword [esp + 0xcc]
sub eax, esi
mov ecx, dword [ebp + 0x108]
mov dword [esp + 0x10], eax
mov edx, dword [ebp + 0x100]
fidiv dword [esp + 0x10]
sub ecx, edx
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x6c]
fstp dword [esp + 0x30]
fild dword [esp + 0xd0]
fidiv dword [esp + 0x10]
fstp dword [esp + 0x2c]
call fcn.0040e940
mov eax, dword [ebp + 0x64]
mov byte [esp + 0xc4], 3
cmp eax, ebx
je 0x42ff0e
jmp 0x42fe5c
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 8]
mov edx, dword [eax]
cmp esi, ebx
mov dword [esp + 0x10], edx
je 0x42ff04
push 0x17c
call sub.MFC42.DLL_operatornew
mov edx, eax
add esp, 4
cmp edx, ebx
je 0x42fecb
mov ecx, 0x10
xor eax, eax
lea edi, [edx + 0x34]
mov dword [edx + 0x10], ebx
mov dword [edx + 0x18], 0xffffff
mov dword [edx + 0x1c], ebx
mov dword [edx + 0x24], 1
mov dword [edx + 0x30], ebx
mov dword [edx + 0x20], ebx
mov dword [edx + 0x178], ebx
mov dword [edx + 0x2c], ebx
mov dword [edx + 0x28], ebx
mov dword [edx + 0x14], ebx
mov dword [esp + 0x1c], edx
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [edx + 0x74]
rep stosd dword es:[edi], eax
mov dword [edx + 0x174], ebx
jmp 0x42fecf
mov dword [esp + 0x1c], ebx
mov edi, dword [esp + 0x1c]
mov ecx, 0x5f
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x74]
push ebx
push eax
lea ecx, [esp + 0x74]
call fcn.00431cd0
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x74]
cmp ecx, ebx
je 0x42fefc
mov dword [ecx], eax
jmp 0x42ff00
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
cmp dword [esp + 0x10], ebx
jne 0x42fe58
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x74]
call fcn.0040eb20
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], 0x4ec6b0
push 8
mov byte [esp + 0xc8], 4
call dword [sym.imp.GDI32.dll_GetStockObject]
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], eax
push ecx
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CDC::SelectObject
mov edx, dword [ebp + 0x88]
lea eax, [esp + 0x48]
push edx
push eax
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CDC::FillSolidRect_1
lea ecx, [esp + 0x6c]
call fcn.0040eaf0
mov edi, eax
xor esi, esi
cmp edi, ebx
jl 0x42ff97
push esi
lea ecx, [esp + 0x70]
call fcn.0040ecb0
cmp eax, ebx
je 0x42ff92
push 1
lea ecx, [esp + 0x3c]
push eax
push ecx
mov ecx, ebp
call fcn.00430510
inc esi
cmp esi, edi
jle 0x42ff75
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x14]
neg eax
sbb eax, eax
and eax, edi
push eax
call fcn.0044c0b0
mov ebp, eax
mov eax, dword [esp + 0x74]
add esp, 4
cmp eax, ebx
je 0x42ffcd
mov ecx, eax
mov eax, dword [eax]
mov ecx, dword [ecx + 8]
cmp ecx, ebx
je 0x42ffc9
mov dword [ecx + 0x178], ebx
cmp eax, ebx
jne 0x42ffb8
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, 0x4ec688
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov esi, 0x4ec1a0
lea ecx, [esp + 0x6c]
mov dword [esp + 0x20], esi
mov byte [esp + 0xc4], 2
call fcn.0040ea60
mov dword [esp + 0x14], edi
lea ecx, [esp + 0x14]
mov byte [esp + 0xc4], 6
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x58]
mov dword [esp + 0x14], esi
mov byte [esp + 0xc4], bl
call fcn.0047d74a
lea ecx, [esp + 0x38]
mov dword [esp + 0xc4], 0xffffffff
call fcn.0047d630
mov ecx, dword [esp + 0xbc]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb8
ret 8