Function at 0x41fc70
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x42c292
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], 0x42e110
lea ecx, [esp + 0x2c]
mov dword [esp + 0x70], ebx
call sub.MFC42.DLL_CDC::CDC
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 1
call sub.MFC42.DLL_CDC::CDC
push ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x74], 2
call sub.MFC42.DLL_CClientDC::CClientDC
mov ecx, dword [esi + 0xbc]
mov byte [esp + 0x70], 3
cmp ecx, ebx
je 0x41fce2
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0xbc], ebx
push 8
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, ebx
je 0x41fcfb
mov dword [eax + 4], ebx
mov dword [eax], 0x42e110
jmp 0x41fcfd
xor eax, eax
push 0x150
push 2
push 0x150
mov dword [esi + 0xbc], eax
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x50]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ebp, dword [esp + 0x40]
lea eax, [esp + 0x3c]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
neg eax
sbb eax, eax
and eax, ebp
push eax
call edi
push eax
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CDC::Attach
mov ebp, dword [esp + 0x18]
lea eax, [esp + 0x14]
neg eax
sbb eax, eax
and eax, ebp
push eax
mov eax, dword [esp + 0x34]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov eax, dword [esp + 0x62]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov ebp, dword [esi + 0xbc]
and eax, 0xffff
push ebx
push eax
add ecx, 0x90
push 1
push edx
push ecx
call dword [sym.imp.GDI32.dll_CreateBitmap]
push eax
mov ecx, ebp
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x3c]
neg eax
sbb eax, eax
and eax, ecx
push eax
call edi
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esi + 0xbc]
cmp eax, ebx
jne 0x41fdcb
xor eax, eax
jmp 0x41fdce
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x24]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
push 0xff00ff
add edx, 0x90
push ecx
push edx
push ebx
push ebx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CDC::FillSolidRect_1
mov ecx, dword [esp + 0x54]
mov ebp, dword [esp + 0x30]
mov eax, ecx
push 0xcc0020
cdq
and edx, 0xf
push ebx
add eax, edx
push ebx
sar eax, 4
mov dword [esi + 0xc0], eax
lea eax, [esp + 0x38]
neg eax
sbb eax, eax
and eax, ebp
push eax
mov eax, dword [esp + 0x68]
push eax
push ecx
mov ecx, dword [esp + 0x38]
push ebx
push ebx
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x10], ebx
mov ecx, ebp
call fcn.00424b50
xor edi, edi
mov edx, dword [esp + 0x10]
mov ecx, ebp
push edx
call fcn.00424b90
mov esi, eax
cmp esi, ebx
je 0x41fec7
cmp dword [esi + 0x24], ebx
je 0x41fec1
cmp dword [esi + 0x28], ebx
je 0x41febe
push 0x34
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x78], eax
cmp eax, ebx
mov byte [esp + 0x70], 4
je 0x41fe9d
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x2c]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push 0xffffffffffffffff
lea edx, [edi + ecx]
mov ecx, dword [esi + 0x28]
push ebx
push edx
push ecx
mov ecx, eax
call fcn.004096e0
mov esi, eax
jmp 0x41fe9f
xor esi, esi
lea edx, [esp + 0x1c]
push ebx
push edx
mov ecx, esi
mov byte [esp + 0x78], 3
call fcn.00409c50
cmp esi, ebx
je 0x41febe
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
add edi, 0x10
inc dword [esp + 0x10]
jmp 0x41fe48
mov esi, dword [ebp + 4]
call sub.MFC42.DLL_AfxGetModuleState
mov dword [eax + 0xc], esi
mov ecx, dword [esp + 0x30]
push ebx
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov edx, dword [esp + 0x20]
push ebx
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70], 2
call fcn.00428f7a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 1
call fcn.00428f20
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], bl
call fcn.00428f20
mov dword [esp + 0x14], 0x42e138
lea ecx, [esp + 0x14]
mov dword [esp + 0x70], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 4