Function at 0x42df30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cbcd3
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5053c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x34]
call fcn.0044fed6
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x34]
mov dword [eax], vtable.CMemDC.0
mov ecx, dword [ebp - 0x34]
add ecx, 0x10
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov dword [edx], vtable.CGdiObject.0
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x18]
mov dword [ecx], vtable.CBitmap.0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 8]
mov dword [edx + 0x1c], eax
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x1c], eax
xor ecx, ecx
cmp dword [ebp - 0x1c], 0
sete cl
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x30], ecx
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x30], 0
je 0x42e0af
mov ecx, dword [ebp - 0x34]
add ecx, 0x20
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x50]
call edx
cmp dword [ebp + 8], 0
jne 0x42dff4
mov dword [ebp - 0x38], 0
jmp 0x42dffd
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.004505cb
mov eax, dword [ebp - 0x34]
add eax, 0x20
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
mov eax, dword [ecx + 0xc]
sub eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x20
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov ecx, dword [edx + 8]
sub ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x10
call fcn.00450892
mov eax, dword [ebp - 0x34]
add eax, 0x10
mov dword [ebp - 0x30], eax
jne 0x42e074
mov dword [ebp - 0x3c], 0
jmp 0x42e07d
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 4]
push edx
call fcn.004509d8
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x24]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x20]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.00450067
jmp 0x42e0d3
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4