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

Disassembly:
sub esp, 0x88
push ebx
push esi
push edi
mov edi, ecx
call fcn.00406ca0
test eax, eax
je 0x42fe64
mov esi, dword [esp + 0x98]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x9c]
push eax
xor ebx, ebx
push ecx
push esi
mov ecx, edi
mov dword [esp + 0x20], ebx
call fcn.00430410
mov edi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0x28], edi
je 0x42fe64
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [esi + 0x10]
mov dword [esp + 0x24], eax
push edx
call dword [sym.imp.GDI32.dll_SaveDC]
mov dword [esp + 0x48], eax
lea eax, [edi - 1]
cmp ax, bx
mov dword [esp + 0x28], 0x14
mov dword [esp + 0x20], 0xa
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
jl 0x42fd07
jmp 0x42faf0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
and eax, 0xffff
mov edx, dword [ecx + eax*4]
lea edi, [ecx + eax*4]
push edx
push esi
mov dword [esp + 0x54], edi
call fcn.0045b1a0
mov ebx, eax
push ebx
mov dword [esp + 0x4c], ebx
call fcn.00432740
mov ax, word [eax]
and eax, 0xffff
mov ebp, eax
lea eax, [ebp*8]
sub eax, ebp
lea ecx, [ebp + eax*4]
lea eax, [esp + 0x6c]
push eax
push ebx
lea edx, [ebp + ecx*2]
mov ecx, dword [0x6559e0]
push esi
lea ebp, [ebp + edx*2]
shl ebp, 1
mov dword [esp + 0x5c], ebp
call dword [ecx + ebp + 0x7e]
add esp, 0x18
cmp word [esp + 0x78], 1
mov dword [esp + 0x10], eax
jne 0x42fbab
mov eax, dword [esp + 0x28]
test eax, eax
je 0x42fcef
push 0
push 0
push 0
push 0
mov dword [edi], ebx
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov edx, dword [esp + 0xb0]
mov ebp, eax
push 5
push 0
mov eax, dword [edx]
push eax
push ebp
call dword [sym.imp.GDI32.dll_CombineRgn]
push ebp
push 0x7e16
push ebx
call fcn.00455dc0
mov eax, dword [esp + 0x34]
add esp, 0xc
dec eax
mov dword [esp + 0x28], eax
jmp 0x42fcd7
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42fcfa
mov edi, dword [esp + 0xb0]
mov edx, dword [esi + 0x10]
mov ecx, dword [edi]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push ebx
push esi
call fcn.0042f1e0
mov eax, dword [edi]
mov ecx, dword [0x6559e0]
push eax
push ebx
push esi
call dword [ecx + ebp + 0xae]
mov eax, dword [esp + 0x24]
add esp, 0x14
xor edi, edi
test ax, ax
jbe 0x42fccd
mov ecx, dword [esp + 0x20]
and eax, 0xffff
sub ecx, eax
mov dword [esp + 0x20], ecx
jmp 0x42fc0f
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
mov ecx, dword [0x6559e0]
lea edx, [esp + 0x50]
push 0
lea eax, [esp + 0x8c]
push edx
push eax
push edi
push ebx
push esi
call dword [ecx + ebp + 0x82]
add esp, 0x18
lea edx, [esp + 0x88]
lea eax, [esp + 0x30]
mov ecx, esi
push edx
push eax
call fcn.004197f0
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x54]
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
add eax, ecx
mov ecx, dword [esp + 0x5c]
add ebp, edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x58]
add edx, ecx
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x30]
add ebx, eax
push edx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebx
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
mov ebx, eax
mov eax, dword [esp + 0xb0]
push 0
push 0
mov ebp, dword [eax]
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov ecx, dword [esp + 0xb0]
push 4
push ebx
push ebp
push eax
mov dword [ecx], eax
call dword [sym.imp.GDI32.dll_CombineRgn]
push ebx
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
call ebx
push ebp
call ebx
inc edi
cmp di, word [esp + 0x10]
jb 0x42fc07
mov edx, dword [esp + 0x4c]
mov dword [edx], 0
mov eax, dword [esp + 0x14]
add eax, 0xffff
test ax, ax
mov dword [esp + 0x14], eax
jge 0x42faec
jmp 0x42fd03
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x1c], eax
jmp 0x42fd03
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x1c], ecx
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0xb0]
mov ecx, dword [esi + 0x10]
mov eax, dword [edx]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [esp + 0x1c]
test ax, ax
jbe 0x42fd8d
mov ebp, dword [esp + 0x24]
and eax, 0xffff
mov dword [esp + 0x10], eax
mov edx, dword [ebp]
push edx
push esi
call fcn.0045b1a0
mov ebx, eax
push ebx
push esi
call fcn.0042f1e0
push ebx
call fcn.00432740
mov ecx, eax
xor eax, eax
mov ax, word [ecx]
lea edx, [eax*8]
sub edx, eax
lea ecx, [eax + edx*4]
lea edx, [eax + ecx*2]
mov ecx, dword [esp + 0xc4]
lea eax, [eax + edx*2]
mov edx, dword [ecx]
mov ecx, dword [0x6559e0]
push edx
push ebx
push esi
call dword [ecx + eax*2 + 0xae]
mov eax, dword [esp + 0x30]
add esp, 0x20
add ebp, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x42fd31
mov eax, dword [esp + 0x1c]
cmp ax, di
jae 0x42fe3e
mov edx, dword [esp + 0x24]
and eax, 0xffff
and edi, 0xffff
sub edi, eax
lea ebx, [edx + eax*4]
mov ebp, edi
mov edi, dword [ebx]
test edi, edi
je 0x42fe34
lea eax, [esp + 0x60]
mov word [esp + 0x60], 0x7e16
push eax
push edi
call fcn.00455d90
add esp, 8
test eax, eax
je 0x42fe34
mov ecx, dword [esp + 0x62]
mov edx, dword [esi + 0x10]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push edi
push esi
call fcn.0042f1e0
push edi
call fcn.00432740
mov ecx, eax
xor eax, eax
mov ax, word [ecx]
lea edx, [eax*8]
sub edx, eax
lea ecx, [eax + edx*4]
lea edx, [eax + ecx*2]
mov ecx, dword [esp + 0x6e]
push ecx
push edi
lea eax, [eax + edx*2]
mov edx, dword [0x6559e0]
push esi
call dword [edx + eax*2 + 0xae]
mov eax, dword [esp + 0x7a]
add esp, 0x18
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [esp + 0x60]
push ecx
push edi
call fcn.00453b70
add esp, 8
add ebx, 4
dec ebp
jne 0x42fdb0
mov edx, dword [esp + 0x48]
mov eax, dword [esi + 0x10]
push edx
push eax
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x88
ret 0x18