Function at 0x452c00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x78
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, eax
mov dword [esp + 0x2c], ebp
cmp ebp, ebx
jne 0x452c28
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
push ebx
push ebx
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x3c]
push ecx
mov edx, 1
mov word [esp + 0x78], dx
push ebx
lea edx, [esp + 0x70]
mov dword [esp + 0x74], eax
push edx
mov eax, 0x20
push ebp
mov dword [esp + 0x78], 0x28
mov word [esp + 0x86], ax
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov esi, eax
cmp esi, ebx
je 0x452f5b
push esi
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x48]
push eax
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esp + 0x54]
mov ecx, eax
and ecx, 0x80000003
jns 0x452cd2
dec ecx
or ecx, 0xfffffffc
inc ecx
je 0x452cea
inc eax
mov edx, eax
and edx, 0x80000003
jns 0x452ce4
dec edx
or edx, 0xfffffffc
inc edx
jne 0x452cd4
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
mov edi, dword [sym.imp.USER32.dll_SetRect]
push eax
push ecx
push ebx
push ebx
lea edx, [esp + 0x48]
push edx
call edi
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x8c]
push 0xcc0020
push eax
push ecx
push edx
mov edx, dword [esp + 0x54]
sub edx, eax
mov eax, dword [esp + 0x50]
push edx
sub eax, ecx
push eax
push ebx
push ebx
push ebp
call dword [sym.imp.GDI32.dll_BitBlt]
push 0x660
push 2
mov dword [esp + 0x20], 0x64
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
xor eax, eax
push eax
push eax
push 0x7fffffff
push 0x7fffffff
lea ecx, [esi + 0x10]
push ecx
mov dword [esi], 0x20
mov dword [esi + 4], 1
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
call edi
mov edx, dword [esp + 0x50]
dec edx
imul edx, dword [esp + 0x54]
add edx, dword [esp + 0x5c]
cmp dword [esp + 0x94], 0
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], 0
jle 0x452f09
mov ecx, dword [esp + 0x90]
xor edi, edi
test ecx, ecx
jle 0x452eeb
mov eax, dword [esp + 0x18]
add eax, 2
shl eax, 4
mov dword [esp + 0x20], eax
lea esp, [esp]
cmp edi, ecx
mov ebp, edi
lea eax, [edx + edi*4]
jge 0x452eda
lea ecx, [ecx]
test dword [eax], 0xff000000
je 0x452df0
inc edi
add eax, 4
cmp edi, ecx
jl 0x452de0
cmp edi, ebp
jle 0x452eda
mov edx, dword [esp + 0x18]
cmp dword [esi + 8], edx
jb 0x452e31
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x20]
add dword [esp + 0x18], 0x64
add eax, 0x640
push 2
push eax
push ebx
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
mov ebx, dword [esp + 0x14]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x14]
inc ebx
push ebx
push edi
add ecx, 2
push eax
shl ecx, 4
push ebp
add ecx, esi
push ecx
call dword [sym.imp.USER32.dll_SetRect]
cmp ebp, dword [esi + 0x10]
jge 0x452e58
mov dword [esi + 0x10], ebp
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x14]
jge 0x452e64
mov dword [esi + 0x14], eax
cmp edi, dword [esi + 0x18]
jle 0x452e6c
mov dword [esi + 0x18], edi
cmp ebx, dword [esi + 0x1c]
jle 0x452e74
mov dword [esi + 0x1c], ebx
inc dword [esi + 8]
cmp dword [esi + 8], 0x7d0
jne 0x452ecf
mov edx, dword [esp + 0x20]
push esi
push edx
push 0
call dword [sym.imp.GDI32.dll_ExtCreateRegion]
mov ebx, eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x452eac
push 2
push ebx
push eax
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x452eb0
mov dword [esp + 0x1c], ebx
push 0
push 0
push 0x7fffffff
push 0x7fffffff
lea eax, [esi + 0x10]
push eax
mov dword [esi + 8], 0
call dword [sym.imp.USER32.dll_SetRect]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x28]
inc edi
cmp edi, ecx
jl 0x452dd0
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
sub edx, dword [esp + 0x54]
inc eax
cmp eax, dword [esp + 0x94]
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], eax
jl 0x452db1
mov eax, dword [esp + 0x30]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
push eax
call edi
mov ecx, dword [esp + 0x18]
add ecx, 2
push esi
shl ecx, 4
push ecx
push 0
call dword [sym.imp.GDI32.dll_ExtCreateRegion]
mov esi, eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x452f4c
push 2
push esi
push eax
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
push esi
call edi
jmp 0x452f50
mov dword [esp + 0x1c], esi
test ebx, ebx
je 0x452f5b
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret