Function at 0x414070
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564215
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x6c]
call fcn.0055443d
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x6c]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CGdiObject.0
mov edx, dword [ebp - 0x28]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x28]
mov dword [eax], 0x57c38c
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp + 8]
mov dword [edx + 0x1c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ecx], method.CDC.virtual_0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x2c], eax
xor ecx, ecx
cmp dword [ebp - 0x2c], 0
sete cl
mov edx, dword [ebp - 0x6c]
mov dword [edx + 0x30], ecx
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x30], 0
je 0x4142e6
cmp dword [ebp + 8], 0
jne 0x414116
mov dword [ebp - 0x70], 0
jmp 0x41411f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, dword [ebp - 0x6c]
call fcn.005544f4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
je 0x414174
mov eax, dword [ebp - 0x6c]
add eax, 0x20
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x50]
jmp 0x414191
mov eax, dword [ebp - 0x6c]
add eax, 0x20
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 8], ecx
mov edx, dword [ebp + 0x18]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x6c]
add eax, 0x20
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x6c]
add ecx, 0x20
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
mov ecx, dword [edx + 0xc]
sub ecx, dword [eax + 4]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov ecx, dword [edx + 8]
sub ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x38]
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 - 0x6c]
add ecx, 0x10
call fcn.00555021
mov eax, dword [ebp - 0x6c]
add eax, 0x10
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x4141f9
mov dword [ebp - 0x74], 0
jmp 0x414202
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 4]
push edx
call fcn.00554635
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x44]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x24]
push eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x20]
push edx
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x6c]
call fcn.005548e6
cmp dword [ebp + 0x1c], 0
je 0x4142e4
mov ecx, dword [ebp - 0x6c]
add ecx, 0x20
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x6c]
add edx, 0x20
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x48]
mov edx, dword [eax + 0xc]
sub edx, dword [ecx + 4]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [eax + 8]
sub edx, dword [ecx]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x60], 0
jne 0x4142ad
mov dword [ebp - 0x78], 0
jmp 0x4142b6
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x78], edx
push 0xcc0020
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x41430a
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18