Function at 0x41359d
Capabilities:
Check for unmoving mouse cursor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4bc
mov eax, dword [0x5b1074]
xor eax, esp
mov dword [esp + 0x4b8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
mov dword [esp + 0xc], eax
lea edi, [esp + 0x60]
lea eax, [esp + 0x60]
push eax
lea esi, [ebx + 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004045ec
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4135f2
push dword [esp + 0xc]
mov ecx, ebx
call fcn.00416e62
cmp dword [ebx + 0x174], 0
jne 0x413a22
mov eax, dword [ebx + 0xc8]
test eax, eax
je 0x41361a
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x413a22
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebx + 0x38]
mov edx, dword [esp + 0x38]
sub eax, edx
mov esi, dword [esp + 0x3c]
cmp eax, 0x7a
mov eax, dword [ebx + 0x3c]
jge 0x41364b
sub eax, esi
xor edi, edi
push 2
cmp eax, 0xb5
pop ecx
cmovge ecx, edi
jmp 0x41365b
xor ecx, ecx
sub eax, esi
inc ecx
cmp eax, 0xb5
push 3
pop edi
cmovl ecx, edi
sub ecx, 0
je 0x41368c
sub ecx, 1
je 0x413687
sub ecx, 1
je 0x41367e
sub ecx, 1
lea ecx, [edx + 5]
mov dword [esp + 0x10], ecx
jne 0x413693
add esi, 0xffffff62
jmp 0x413696
lea ecx, [edx - 0x7f]
mov dword [esp + 0x10], ecx
jmp 0x413676
lea ecx, [edx + 5]
jmp 0x41368f
lea ecx, [edx - 0x7a]
mov dword [esp + 0x10], ecx
add esi, 0x1c
xor eax, eax
mov dword [esp + 0x14], esi
lea edi, [esp + 0x2c]
stosd dword es:[edi], eax
push 0xcc
push 0x333333
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ecx + 0x7a]
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], eax
lea eax, [esi + 0x82]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x18]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], esi
call fcn.00416d68
mov ecx, dword [esp + 0x34]
lea edi, [esp + 0x44]
xor eax, eax
stosd dword es:[edi], eax
push 0xb2
push 0x333333
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x50], eax
lea eax, [ecx + 0x17]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x48]
push eax
push edi
mov dword [esp + 0x54], ecx
call fcn.00416d68
call fcn.0040da44
mov ecx, eax
call fcn.0040daa7
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x20a
lea eax, [esp + 0xa4]
push 0
push eax
call fcn.00516180
add esp, 0xc
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x413773
mov eax, dword [ebx + 0x130]
sub eax, dword [ebx + 0x138]
cdq
xor eax, edx
sub eax, edx
push eax
mov eax, dword [ebx + 0x12c]
sub eax, dword [ebx + 0x134]
jmp 0x413789
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x6c]
cdq
xor eax, edx
sub eax, edx
push eax
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x6c]
cdq
xor eax, edx
sub eax, edx
push eax
push 0x58b37c
lea eax, [esp + 0xac]
push 0x104
push eax
call fcn.00408e72
and dword [esp + 0x30], 0
xor eax, eax
and dword [esp + 0x34], 0
add esp, 0x14
mov dword [esp + 0x24], eax
cmp dword [ebx + 0xa4], eax
je 0x4137e4
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [ebx + 0xa4]
call dword [sym.imp.GDI32.dll_GetPixel]
mov dword [esp + 0x24], eax
push 0x20a
lea eax, [esp + 0x2b4]
push 0
push eax
call fcn.00516180
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, edx
shr ecx, 0x10
movzx eax, cl
push eax
mov eax, edx
shr eax, 8
movzx eax, al
push eax
movzx eax, dl
push eax
push str._RGB__d__d__d_
lea eax, [esp + 0x2c0]
push 0x104
push eax
call fcn.00408e72
add esp, 0x18
lea eax, [esi + 0x6e]
xorps xmm0, xmm0
movups xmmword [esp + 0x50], xmm0
push eax
push dword [esp + 0x1c]
lea eax, [esi + 0x5c]
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov esi, dword [sym.imp.GDI32.dll_SetTextColor]
push 0xffffff
push edi
call esi
push 8
lea eax, [esp + 0x54]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0xac]
push eax
push edi
mov edi, dword [sym.imp.USER32.dll_DrawTextW]
call edi
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x54], eax
add eax, 0x14
push 8
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x2bc]
push eax
push dword [esp + 0x1c]
call edi
push 0x999999
push dword [esp + 0x10]
call esi
mov ecx, dword [esp + 0x5c]
push 8
lea eax, [ecx + 2]
add ecx, 0x17
cmp dword [0x5c9bf4], 0
mov dword [esp + 0x58], eax
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x64], ecx
mov eax, 0x58b3b4
mov ecx, 0x58b3c0
push 0xffffffffffffffff
cmove eax, ecx
push eax
push dword [esp + 0x1c]
call edi
mov edi, dword [esp + 0x14]
xorps xmm0, xmm0
mov esi, dword [esp + 0x10]
movups xmmword [esp + 0x70], xmm0
lea eax, [edi + 0x5a]
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0x78]
push edi
push esi
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [ebx + 0xa4]
test ecx, ecx
je 0x413943
mov eax, dword [esp + 0x20]
push 0xcc0020
push 0x28
push 0x28
add eax, 0xffffffec
push eax
mov eax, dword [esp + 0x2c]
add eax, 0xffffffec
push eax
push ecx
push 0x5a
push 0x7a
push edi
push esi
push dword [esp + 0x34]
call dword [sym.imp.GDI32.dll_StretchBlt]
lea eax, [edi + 0x2f]
push eax
lea eax, [esi + 0x77]
push eax
lea eax, [edi + 0x2b]
push eax
lea eax, [esi + 3]
push eax
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0xff
push 0xeabb57
lea eax, [esp + 0x88]
push eax
push dword [esp + 0x18]
call fcn.00416d68
lea eax, [edi + 0x57]
push eax
lea eax, [esi + 0x3f]
push eax
lea eax, [edi + 3]
push eax
lea eax, [esi + 0x3b]
push eax
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x90]
push 0xff
push 0xeabb57
push eax
push esi
call fcn.00416d68
push 0
lea eax, [esp + 0x74]
push eax
push esi
call fcn.00416c70
mov esi, dword [sym.imp.USER32.dll_InflateRect]
lea eax, [esp + 0x70]
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
call esi
push 0x4b4b4b
lea eax, [esp + 0x74]
push eax
push dword [esp + 0x14]
call fcn.00416c70
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x78]
push eax
call esi
push 0xffffff
lea eax, [esp + 0x74]
push eax
push dword [esp + 0x14]
call fcn.00416c70
lea eax, [edi + 0x99]
push eax
push dword [esp + 0x1c]
lea eax, [ebx + 0x84]
push edi
push dword [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x4c4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0050eff9
mov esp, ebp
pop ebp
ret 4