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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x598581
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x60f520]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
mov eax, dword [0x60f520]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], esi
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x18], ebx
cmp dword [ebx], 1
jne 0x42f08a
cmp dword [ebx + 8], 0x2af8
jne 0x42f08a
call fcn.0040bce0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x42eaff
push 0x80004005
call fcn.0040c390
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x128], 0
xorps xmm0, xmm0
mov ebx, dword [ebx + 0x18]
movdqu xmmword [esp + 0x4c], xmm0
push ebx
mov byte [esp + 0x12c], 2
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esi + 0x5f0]
mov dword [esp + 0x2c], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x34]
push eax
push 0x18
push dword [esi + 0x5f0]
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
cmp ecx, 1
jne 0x42ec1b
lea eax, [esp + 0x5c]
mov dword [esi + 0x61c], 0xffffffff
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x20]
xor esi, esi
mov ecx, dword [eax + 0x624]
sub ecx, dword [eax + 0x620]
sar ecx, 4
mov dword [esp + 0x14], ecx
test ecx, ecx
jle 0x42ed14
xor ecx, ecx
mov dword [esp + 0x24], ecx
jmp 0x42ebb0
mov edx, dword [eax + 0x620]
mov eax, dword [eax + 0x624]
sub eax, edx
sar eax, 4
cmp eax, esi
jbe 0x42ec11
lea eax, [ecx + edx]
push eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
push dword [esp + 0x60]
lea eax, [esp + 0x50]
push dword [esp + 0x60]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
mov eax, dword [esp + 0x20]
jne 0x42ec06
mov ecx, dword [esp + 0x24]
inc esi
add ecx, 0x10
mov dword [esp + 0x24], ecx
cmp esi, dword [esp + 0x14]
jl 0x42ebb0
jmp 0x42ed14
mov dword [eax + 0x61c], esi
jmp 0x42ed14
push str.invalid_vector_T__subscript
call fcn.005502ed
cmp ecx, 2
jne 0x42ed14
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_WindowFromDC]
mov dword [0x640450], eax
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax + 0x18]
call dword [sym.imp.GDI32.dll_GetClipBox]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x42ec55
mov edi, 0x14
sub edi, eax
jmp 0x42ec57
xor edi, edi
lea eax, [esp + 0x4c]
push eax
push dword [0x640450]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x20]
mov eax, dword [esp + 0x50]
add ecx, edi
add eax, 0x18
lea edi, [esi + 0x620]
add ecx, eax
mov esi, 8
mov eax, dword [esp + 0x3c]
add eax, ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x58], eax
add ecx, 4
mov eax, dword [edi]
mov dword [edi + 4], eax
nop
mov eax, dword [esp + 0x38]
add ecx, 0x14
add eax, ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], eax
mov ecx, edi
lea eax, [esp + 0x4c]
push eax
call fcn.00431c40
dec esi
je 0x42ecc6
mov ecx, dword [esp + 0x4c]
jmp 0x42eca0
mov eax, dword [0x641980]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
sub eax, 0
je 0x42eceb
dec eax
jne 0x42ed14
mov dword [0x641980], eax
cmp dword [0x64044c], eax
je 0x42ed14
push eax
jmp 0x42ed00
cmp dword [0x640448], 0
mov dword [0x641980], 1
jne 0x42ed14
push 1
push dword [0x640450]
push 0x501
push dword [esi + 8]
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, dword [esp + 0x18]
push 0xcc0020
push 0
push 0
push dword [esp + 0x34]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push dword [esi + 0x20]
push dword [esi + 0x1c]
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov eax, dword [esi + 0x1c]
add ecx, 0x14
add eax, ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x20]
add eax, 0x15
mov dword [esp + 0x2c], eax
call fcn.004b5be0
mov byte [esp + 0x128], 3
call fcn.0040bce0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42eaf5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
push edi
lea eax, [esp + 0x28]
mov byte [esp + 0x12c], 4
push 0x5bdacc
push eax
call fcn.00422de0
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x78]
add esp, 0xc
push 0
push esi
call fcn.004b61d0
push dword [esp + 0xf0]
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [esp + 0x34]
push eax
push 0x18
push dword [esp + 0xf8]
call dword [sym.imp.GDI32.dll_GetObjectW]
push 0xcc0020
push 0
push 0
push dword [esp + 0x34]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push dword [esp + 0x44]
push dword [esp + 0x78]
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
add esi, 0xfffffff0
mov byte [esp + 0x128], 3
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42ee1f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x128], 2
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x6c], vtable.vice.0
test eax, eax
je 0x42ee4c
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0xf4], 0
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x6c], vtable.initialization.0
test eax, eax
je 0x42ee89
push eax
call fcn.00551995
add esp, 4
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], vtable.mbolicLink.0
call fcn.004b4a30
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
add ecx, 0x14
mov dword [esp + 0x14], ecx
cmp ecx, 0xa0
jl 0x42ed40
mov eax, dword [0x64166c]
lea esi, [edi - 0x10]
lea ecx, [eax - 0x10]
cmp ecx, esi
je 0x42ef0e
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x42eefd
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x42eefd
call fcn.0040c3c0
mov dword [esp + 0x5c], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x42eef4
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x5c]
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
jmp 0x42ef0e
push dword [eax - 0xc]
lea ecx, [esp + 0x20]
push eax
call fcn.0040c1c0
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
push edi
mov ecx, dword [esi + 0x20]
add edx, ecx
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x18], ecx
mov ecx, eax
sub ecx, dword [esp + 0x3c]
add ecx, 0xdc
mov dword [esp + 0x6c], edx
lea esi, [eax + 0x14]
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0
push eax
push edi
lea eax, [esp + 0x68]
push eax
push 2
push dword [esp + 0x28]
push esi
push ebx
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov esi, dword [esp + 0x20]
cmp dword [esi + 0x61c], 0
jl 0x42f042
cmp dword [0x6351e8], 0xffffffff
jne 0x42efb6
push 0
push 0
push 0
push 0
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0xc20
lea eax, [esp + 0x50]
push eax
push 0xffffffffffffffff
push dword [0x64166c]
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x4c]
mov dword [0x6351e8], eax
mov ecx, dword [esi + 0x61c]
mov eax, 0x5b599c
shl ecx, 2
sub eax, ecx
mov edx, dword [eax]
test edx, edx
jne 0x42efd0
xor ecx, ecx
jmp 0x42efe4
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42efd5
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.0040c1c0
mov edx, dword [esp + 0x18]
mov eax, dword [0x6351e8]
add eax, 0x23
push 0x575757
add eax, dword [edx + 0x1c]
mov dword [esp + 0x50], eax
mov eax, dword [edx + 0x20]
mov dword [esp + 0x54], eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x58], eax
mov eax, dword [edx + 0x28]
push ebx
mov dword [esp + 0x60], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edi, dword [esp + 0x1c]
mov esi, eax
push 0x20
lea eax, [esp + 0x50]
push eax
push 0xffffffffffffffff
push edi
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
push esi
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
test ebx, ebx
je 0x42f065
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
call esi
test eax, eax
jne 0x42f065
push ebx
call esi
add edi, 0xfffffff0
mov dword [esp + 0x128], 0xffffffff
or ecx, 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42f08a
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0055199a
mov esp, ebp
pop ebp
ret 0x10