Function at 0x409760
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x444f00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
push edi
push ecx
lea ecx, [esp + 0x34]
call fcn.0042b5e9
lea ecx, [esp + 0x20]
mov dword [esp + 0x4c], 0
call fcn.0042ac48
mov ebx, dword [esp + 0x34]
lea eax, [esp + 0x30]
neg eax
sbb eax, eax
mov byte [esp + 0x4c], 1
and eax, ebx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x24]
call fcn.0042ad12
mov esi, dword [esp + 0x54]
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov ebp, dword [esi]
sub eax, edx
mov edx, dword [esp + 0x34]
sub ecx, ebp
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, dword [esp + 0x58]
push eax
mov ecx, edi
call fcn.0042b8a4
test edi, edi
jne 0x4097ef
xor eax, eax
jmp 0x4097f2
mov eax, dword [edi + 4]
push eax
mov eax, dword [esp + 0x28]
push eax
call fcn.0042ae63
push 0
push 1
push 0
lea ecx, [esp + 0x1c]
mov ebx, eax
call fcn.0042b911
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 2
push ecx
lea ecx, [esp + 0x34]
call fcn.0042aebf
mov edi, dword [esi + 4]
mov ebp, dword [esi]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x30]
sub ecx, edi
sub edx, ebp
neg eax
sbb eax, eax
push 0xcc0020
and eax, dword [esp + 0x38]
push edi
push ebp
push eax
push ecx
push edx
mov edx, dword [esp + 0x3c]
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
push ecx
push eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x38]
push eax
call fcn.0042b462
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.0042b4ae
mov eax, dword [esi + 4]
mov ecx, dword [esi]
inc eax
inc ecx
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.0042b462
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
inc eax
dec ecx
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.0042b4ae
mov edx, dword [esi + 4]
mov eax, dword [esi]
add edx, 2
add eax, 2
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x3c]
call fcn.0042b462
mov edx, dword [esi + 0xc]
mov eax, dword [esi]
sub edx, 2
add eax, 2
push edx
push eax
lea ecx, [esp + 0x38]
call fcn.0042b4ae
mov ecx, dword [esi + 4]
mov edx, dword [esi]
add ecx, 2
add edx, 3
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x3c]
call fcn.0042b462
mov ecx, dword [esi + 0xc]
mov edx, dword [esi]
sub ecx, 2
add edx, 3
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.0042b4ae
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
dec eax
lea edx, [esp + 0x18]
push eax
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.0042b462
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
dec eax
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.0042b4ae
mov edx, dword [esi + 0xc]
mov eax, dword [esi]
sub edx, 2
inc eax
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x3c]
call fcn.0042b462
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
sub edx, 2
dec eax
push edx
push eax
lea ecx, [esp + 0x38]
call fcn.0042b4ae
test ebx, ebx
je 0x409968
mov ebx, dword [ebx + 4]
mov ecx, dword [esp + 0x24]
push ebx
push ecx
call fcn.0042ae63
lea ecx, [esp + 0x20]
call fcn.0042ad7a
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x30]
push edx
call fcn.0042aebf
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 3
call fcn.0042b8fb
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], vtable.CObject.0
mov byte [esp + 0x4c], 0
call fcn.0042ad90
lea ecx, [esp + 0x30]
mov dword [esp + 0x4c], 0xffffffff
call fcn.0042b65b
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x40
ret 8