Function at 0x40483a
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f2e2
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x58ee50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x38]
call fcn.00426229
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x38]
mov dword [eax], vtable.CMenuXPMemDC.0
mov eax, dword [ebp - 0x38]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], vtable.CGdiObject.0
mov eax, dword [ebp - 0x18]
and dword [eax + 4], 0
mov eax, dword [ebp - 0x18]
mov dword [eax], vtable.CBitmap.0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x38]
add eax, 0x20
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
and dword [eax], 0
mov eax, dword [ebp - 0x1c]
and dword [eax + 4], 0
mov eax, dword [ebp - 0x1c]
and dword [eax + 8], 0
mov eax, dword [ebp - 0x1c]
and dword [eax + 0xc], 0
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x38]
add eax, 0x20
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x1c], ecx
mov eax, dword [ebp - 0x38]
and dword [eax + 0x18], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
xor eax, eax
cmp dword [ebp - 0x20], 0
sete al
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x30], 0
je 0x4049c2
cmp dword [ebp + 8], 0
jne 0x404912
and dword [ebp - 0x3c], 0
jmp 0x40491b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x3c]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.004267fb
mov eax, dword [ebp - 0x38]
add eax, 0x20
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + 0xc]
sub eax, dword [ecx + 4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x38]
add eax, 0x20
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax + 8]
sub eax, dword [ecx]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x28]
push dword [ebp - 0x30]
mov eax, dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x10
call fcn.00426acf
mov eax, dword [ebp - 0x38]
add eax, 0x10
mov dword [ebp - 0x34], eax
jne 0x40498b
and dword [ebp - 0x40], 0
jmp 0x404994
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
mov dword [ebp - 0x40], eax
push dword [ebp - 0x40]
mov eax, dword [ebp - 0x38]
push dword [eax + 4]
call fcn.00426b60
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x38]
push dword [eax + 0x24]
mov eax, dword [ebp - 0x38]
push dword [eax + 0x20]
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.004263ab
jmp 0x4049e6
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
mov dword [eax + 8], ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8