Function at 0x42d4b0
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 0x42d4d8
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 0x42d80b
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 0x42d582
dec ecx
or ecx, 0xfffffffc
inc ecx
je 0x42d59a
inc eax
mov edx, eax
and edx, 0x80000003
jns 0x42d594
dec edx
or edx, 0xfffffffc
inc edx
jne 0x42d584
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 SysReAllocString
push SysReAllocString
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 0x42d7b9
mov ecx, dword [esp + 0x90]
xor edi, edi
test ecx, ecx
jle 0x42d79b
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 0x42d78a
lea ecx, [ecx]
test dword [eax], 0xff000000
je 0x42d6a0
inc edi
add eax, 4
cmp edi, ecx
jl 0x42d690
cmp edi, ebp
jle 0x42d78a
mov edx, dword [esp + 0x18]
cmp dword [esi + 8], edx
jb 0x42d6e1
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 0x42d708
mov dword [esi + 0x10], ebp
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x14]
jge 0x42d714
mov dword [esi + 0x14], eax
cmp edi, dword [esi + 0x18]
jle 0x42d71c
mov dword [esi + 0x18], edi
cmp ebx, dword [esi + 0x1c]
jle 0x42d724
mov dword [esi + 0x1c], ebx
inc dword [esi + 8]
cmp dword [esi + 8], 0x7d0
jne 0x42d77f
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 0x42d75c
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 0x42d760
mov dword [esp + 0x1c], ebx
push 0
push 0
push SysReAllocString
push SysReAllocString
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 0x42d680
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 0x42d661
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 0x42d7fc
push 2
push esi
push eax
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
push esi
call edi
jmp 0x42d800
mov dword [esp + 0x1c], esi
test ebx, ebx
je 0x42d80b
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