Function at 0x4030c0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x45ab03
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4767b0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [esp + 0x3c]
mov ecx, esi
call fcn.0041fde3
xor ecx, ecx
mov dword [esp + 0x34], ecx
lea ebp, [esi + 0x10]
mov dword [esi], vtable.CMyMemDC.0
mov dword [ebp + 4], ecx
mov dword [ebp], vtable.CBitmap.0
mov byte [esp + 0x34], 1
xor eax, eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
cmp dword [ebx + 0xc], ecx
lea edi, [esi + 0x20]
sete al
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x40]
cmp eax, ecx
jne 0x40313a
mov edx, dword [ebx]
mov eax, dword [edx + 0x50]
push edi
mov ecx, ebx
call eax
jmp 0x403150
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [edi + 0xc], edx
cmp dword [esi + 0x30], 0
je 0x403222
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.00420269
mov eax, dword [ebx + 8]
push 2
push edi
push eax
call dword [sym.imp.GDI32.dll_LPtoDP]
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
push eax
push ecx
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call fcn.0042053b
test ebp, ebp
je 0x40319f
mov ebp, dword [ebp + 4]
mov edx, dword [esi + 4]
push ebp
push edx
call fcn.0042061a
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 8]
push eax
call dword [sym.imp.GDI32.dll_GetMapMode]
push eax
mov ecx, esi
call fcn.0041fcd1
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call fcn.00403000
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esi]
mov edx, dword [edx + 0x48]
push eax
push ecx
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call edx
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
call fcn.00403050
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esi]
mov edx, dword [edx + 0x40]
push eax
push ecx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call edx
mov eax, dword [ebx + 8]
push 2
push edi
push eax
call dword [sym.imp.GDI32.dll_DPtoLP]
mov ecx, dword [esi + 0x24]
mov edx, dword [edi]
push ecx
push edx
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.0041feff
jmp 0x403234
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0xc], ecx
mov edx, dword [ebx + 4]
mov dword [esi + 4], edx
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
cmp dword [esp + 0x44], 0
je 0x40326d
mov ebx, dword [edi]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov ebp, dword [esi + 0x1c]
sub eax, dword [edi + 4]
mov edx, dword [esi + 0x24]
sub ecx, ebx
test ebp, ebp
je 0x403255
mov ebp, dword [ebp + 4]
push 0xcc0020
push edx
push ebx
push ebp
push eax
push ecx
mov ecx, dword [esi + 4]
push edx
push ebx
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x403280
mov edx, dword [ebx + 8]
push edx
call dword [sym.imp.GDI32.dll_GetBkColor]
push eax
push edi
mov ecx, esi
call fcn.004292bc
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0xc