Function at 0x416365
Capabilities:
Check for time delay via gettickcount
Check for unmoving mouse cursor

Disassembly:
push 0x12c
mov eax, 0x58822c
call fcn.0053d79c
mov ebx, dword [ebp + 8]
and dword [ebp - 0x68], 0
and dword [ebp - 0x64], 0
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebx + 0x250]
mov eax, dword [ecx]
sub eax, dword [ebp - 0x68]
mov esi, dword [ecx + 4]
sub esi, dword [ebp - 0x64]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
mov dword [ebp - 0x7c], ecx
jg 0x4163b9
mov eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jle 0x4163cc
mov eax, dword [ebp - 0x68]
mov dword [ecx], eax
mov eax, dword [ebp - 0x64]
mov dword [ecx + 4], eax
call edi
mov dword [ebx + 0x258], eax
lea eax, [ebp - 0x44]
push eax
push dword [0x6a5108]
call fcn.00415b66
and dword [ebp - 4], 0
cmp dword [ebp - 0x44], 0
jne 0x416405
push str.ServerThread.Received_Mouse:__Desktop
call fcn.0042e877
xor bl, bl
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x44]
push eax
call fcn.00405946
mov al, bl
jmp 0x416ba4
call edi
sub eax, dword [ebx + 0x258]
cmp eax, 0x1f4
jae 0x416418
mov bl, 1
jmp 0x4163f1
mov edi, dword [ebp - 0x44]
call fcn.00401569
mov edi, dword [ebp + 0xc]
push 0
lea esi, [ebp - 0x34]
mov ecx, edi
call fcn.0045a925
mov eax, dword [eax + 4]
push 1
lea esi, [ebp - 0x34]
mov ecx, edi
mov dword [ebp + 0xc], eax
call fcn.0045a925
mov eax, dword [eax + 4]
inc eax
push 2
lea esi, [ebp - 0x34]
mov ecx, edi
mov dword [ebp + 8], eax
call fcn.0045a925
mov eax, dword [eax + 4]
inc eax
push 3
lea esi, [ebp - 0x34]
mov ecx, edi
mov dword [ebp - 0x38], eax
call fcn.0045a925
mov esi, dword [eax + 4]
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x4164ab
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
and al, 1
dec al
neg al
sbb al, al
and cl, 2
inc al
cmp cl, 2
sete cl
test al, al
je 0x416499
or dword [ebp + 0xc], 2
jmp 0x41649d
and dword [ebp + 0xc], 0xfffffffd
test cl, cl
je 0x4164a7
or dword [ebp + 0xc], 1
jmp 0x4164ab
and dword [ebp + 0xc], 0xfffffffe
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x44]
call fcn.00420128
mov byte [ebp - 4], 1
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
and dword [ebp - 0x2c], eax
test esi, esi
mov dword [ebp - 0x1c], 0x8001
mov dword [ebp - 0x20], esi
je 0x4164dd
mov dword [ebp - 0x1c], 0x8801
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x15c]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [eax + 0x160]
mov dword [ebp - 0x58], ecx
mov ecx, dword [eax + 0x164]
mov dword [ebp - 0x60], ecx
mov ecx, dword [eax + 0x168]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [eax + 0x2a4]
test ecx, ecx
je 0x4165a1
cmp dword [ebp - 0x6c], 0
lea esi, [eax + 0x214]
lea edi, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x41658a
cmp dword [ebp - 0x58], 0
je 0x41658a
mov ecx, dword [ebp - 0x78]
push 0
lea eax, [ebp - 0x34]
push eax
call fcn.00484fc7
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx]
sub eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x54]
add eax, dword [ebp + 8]
imul eax, eax, 0xffff
cdq
idiv dword [ebp - 0x6c]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 4]
sub eax, dword [ebp - 0x3c]
or dword [ebp - 0x1c], 0x4000
add eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x38]
imul eax, eax, 0xffff
cdq
idiv dword [ebp - 0x58]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x34]
push eax
call fcn.00405946
jmp 0x41670f
call fcn.0041762a
mov byte [ebp - 4], 0
lea eax, [ebp - 0x78]
push eax
call fcn.00405946
jmp 0x4163ef
add eax, 0x10
push eax
lea esi, [ebp - 0x34]
call fcn.00417959
mov byte [ebp - 4], 3
mov ecx, dword [0x6b56b4]
mov eax, dword [ecx]
push 0x6915e0
call dword [eax + 0x24]
test eax, eax
mov dword [ebp - 0x48], eax
jle 0x416646
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x4c]
push eax
call fcn.004850dc
mov byte [ebp - 4], 4
cmp dword [ebp - 0x6c], 0
jle 0x4165f8
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
sub eax, dword [ebp - 0x60]
add eax, dword [ebp + 8]
imul eax, eax, 0xffff
cdq
idiv dword [ebp - 0x6c]
mov dword [ebp - 0x28], eax
jmp 0x416602
push str.ServerThread.Received_Mouse:_VDESKTOP_OFFSET_X___0
call fcn.0042e877
cmp dword [ebp - 0x58], 0
jle 0x416623
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 4]
sub eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x38]
imul eax, eax, 0xffff
cdq
idiv dword [ebp - 0x58]
mov dword [ebp - 0x24], eax
jmp 0x41662d
push str.ServerThread.Received_Mouse:_VDESKTOP_OFFSET_Y___0
call fcn.0042e877
or dword [ebp - 0x1c], 0x4000
mov byte [ebp - 4], 3
lea eax, [ebp - 0x4c]
push eax
call fcn.00405946
jmp 0x4166fd
mov eax, dword [ebp - 0x44]
xor esi, esi
xor edi, edi
call fcn.00420116
push eax
push dword [ebp - 0x48]
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x44]
call fcn.0041e7e2
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x416675
mov esi, dword [eax + 0xc]
mov edi, dword [eax + 0x10]
jmp 0x41667f
push str.CServerThread::Received_Mouse__:__pBuffer
call fcn.0042e877
mov byte [ebp - 4], 3
lea eax, [ebp - 0x5c]
push eax
call fcn.00405946
test esi, esi
je 0x416b6c
test edi, edi
je 0x416b6c
cmp dword [ebp - 0x48], 0xffffffff
jne 0x4166a9
or dword [ebp - 0x1c], 0x4000
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x25c], 1
jne 0x4166df
lea eax, [ebx + 0x3b0]
call fcn.00417535
cmp eax, 1
jbe 0x4166df
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 0x60]
imul eax, eax, 0xffff
cdq
idiv esi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x3c]
jmp 0x4166f1
mov eax, dword [ebp + 8]
imul eax, eax, 0xffff
cdq
idiv esi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x38]
imul eax, eax, 0xffff
cdq
idiv edi
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
cmp byte [ebp - 0x30], 0
je 0x41670f
mov eax, dword [ebp - 0x34]
call fcn.004178ce
mov eax, dword [ebp + 8]
mov ecx, dword [0x6b56b4]
mov edi, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
mov eax, dword [ecx]
push 0x6915e0
call dword [eax + 0x24]
push eax
lea esi, [ebp - 0x4c]
mov eax, edi
call fcn.0041eb18
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov esi, eax
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebx + 0x24c]
je 0x416a5b
mov ecx, dword [0x6a5108]
push esi
call fcn.004422c6
push esi
push dword [0x6a5108]
mov byte [ebp + 0xb], al
call fcn.004421cc
test al, al
jne 0x4168ad
cmp byte [ebp + 0xb], al
je 0x416797
cmp dword [ebx + 0x2bc], 0
je 0x416797
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x25c], 9
jne 0x4168ad
mov eax, dword [ebp - 0x44]
mov cl, byte [eax + 0x224]
test cl, cl
je 0x4167cc
mov eax, dword [eax + 0x2a0]
test eax, eax
je 0x4168ad
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push eax
call dword [sym.imp.GDI32.dll_PtInRegion]
test eax, eax
setne al
test al, al
je 0x4168ad
mov esi, dword [ebp + 0xc]
mov eax, esi
and eax, 1
je 0x4167e5
test byte [ebx + 0x24c], 1
jne 0x4167e5
or dword [ebp - 0x1c], 2
jmp 0x4167f6
test eax, eax
jne 0x4167f6
test byte [ebx + 0x24c], 1
je 0x4167f6
or dword [ebp - 0x1c], 4
push 0x10
pop ecx
mov eax, esi
and eax, ecx
push 0x20
pop edx
je 0x41680f
test byte [ebx + 0x24c], cl
jne 0x41680f
or dword [ebp - 0x1c], edx
jmp 0x41681f
test eax, eax
jne 0x41681f
test byte [ebx + 0x24c], cl
je 0x41681f
or dword [ebp - 0x1c], 0x40
mov eax, esi
and eax, 2
je 0x416835
test byte [ebx + 0x24c], 2
jne 0x416835
or dword [ebp - 0x1c], 8
jmp 0x416845
test eax, eax
jne 0x416845
test byte [ebx + 0x24c], 2
je 0x416845
or dword [ebp - 0x1c], ecx
mov ecx, esi
and ecx, edx
mov eax, 0x80
je 0x41685f
test byte [ebx + 0x24c], dl
jne 0x41685f
or dword [ebp - 0x1c], eax
or dword [ebp - 0x20], 1
and esi, 0x40
je 0x416874
test byte [ebx + 0x24c], 0x40
jne 0x416874
or dword [ebp - 0x1c], eax
or dword [ebp - 0x20], 2
test ecx, ecx
mov eax, 0x100
jne 0x41688c
test byte [ebx + 0x24c], dl
je 0x41688c
or dword [ebp - 0x1c], eax
or dword [ebp - 0x20], 1
test esi, esi
jne 0x416a5b
test byte [ebx + 0x24c], 0x40
je 0x416a5b
or dword [ebp - 0x1c], eax
or dword [ebp - 0x20], 2
jmp 0x416a5b
cmp byte [ebp + 0xb], 0
je 0x416a5b
cmp dword [ebx + 0x2bc], 1
jne 0x416a5b
cmp byte [ebx + 0x2fc], 0
je 0x416a5b
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x25c], 9
je 0x416a5b
push 2
push 0x16
lea eax, [ebp - 0x90]
push eax
call fcn.0045a454
mov byte [ebp - 4], 6
push 1
lea eax, [ebp - 0x90]
push eax
push 4
pop eax
call fcn.00401277
mov esi, dword [ebx + 0x10]
sub esp, 0x20
mov eax, esp
mov dword [ebp + 8], esp
push eax
call fcn.00406bdc
mov byte [ebp - 4], 7
mov eax, dword [esi]
push 1
push 0x88
lea ecx, [ebp - 0x90]
push ecx
mov byte [ebp - 4], 6
mov ecx, esi
call dword [eax + 8]
cmp byte [ebx + 0x2ff], 0
jne 0x416a4c
mov eax, dword [0x6b2efc]
mov eax, dword [eax + 0x58]
shr eax, 1
test al, 1
jne 0x41695f
mov eax, dword [ebx]
push 0
push 4
mov ecx, ebx
call dword [eax + 0x1c]
jmp 0x416a4c
lea ecx, [ebp - 0x70]
lea eax, [ebx + 8]
push ecx
push eax
mov dword [ebp - 0x34], 0x453729
call fcn.004a933b
mov byte [ebp - 4], 8
sub esp, 0x20
mov esi, esp
mov dword [ebp + 8], esp
sub esp, 0x18
mov edi, esp
mov dword [ebp - 0x48], esp
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
push ecx
call fcn.004cc8a2
pop ecx
pop ecx
mov byte [ebp - 4], 9
xor eax, eax
push eax
mov eax, 0x453729
push eax
push 0
push 4
push edi
mov byte [ebp - 4], 8
call fcn.00452080
add esp, 0x1c
mov byte [ebp - 4], 0xa
push esi
mov byte [ebp - 4], 8
call fcn.00452120
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004a933b
mov byte [ebp - 4], 0xc
sub esp, 0x20
mov esi, esp
mov dword [ebp - 0x48], esp
sub esp, 0x18
mov edi, esp
mov dword [ebp - 0x3c], esp
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
push eax
push ecx
call fcn.004cc8a2
pop ecx
pop ecx
mov byte [ebp - 4], 0xd
xor eax, eax
push eax
push dword [ebp - 0x34]
push 1
push 4
push edi
mov byte [ebp - 4], 0xc
call fcn.00452080
add esp, 0x1c
mov byte [ebp - 4], 0xe
push esi
mov byte [ebp - 4], 0xc
call fcn.00452120
mov byte [ebp - 4], 0xf
push 4
mov byte [ebp - 4], 0x10
mov ecx, ebx
call fcn.0044a9fc
mov byte [ebp - 4], 8
lea eax, [ebp - 0x5c]
push eax
call fcn.00405946
mov byte [ebp - 4], 6
lea eax, [ebp - 0x70]
push eax
call fcn.00405946
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x90]
call fcn.0040124f
mov eax, dword [ebx + 0x324]
cmp dword [eax + 0x14], 0
mov dword [ebp + 8], 1
jne 0x416b2c
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov edi, eax
push 0x1c
lea eax, [ebp - 0x2c]
push eax
push 1
call dword [sym.imp.USER32.dll_SendInput]
mov dword [ebp + 8], eax
call esi
mov edx, eax
sub edx, edi
cmp edx, 0x32
jbe 0x416ae5
lea ecx, [ebx + 0x39c]
mov esi, eax
sub esi, dword [ecx]
cmp esi, 0xea60
jbe 0x416ae5
mov dword [ecx], eax
push str.CServerThread::Received_Mouse__:_SendInput_very_slow__duration_1_ms
lea eax, [ebp - 0x138]
push eax
mov dword [ebp - 0x48], edx
call fcn.00409f00
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x48]
push ecx
mov esi, eax
call fcn.0040a170
push eax
call fcn.00417675
mov byte [ebp - 4], 1
lea eax, [ebp - 0x138]
push eax
call fcn.00402184
cmp dword [ebp + 8], 0
jne 0x416b36
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x48], eax
push str.CServerThread.Received_Mouse__:_SendInput_failed_with_error__1_
lea eax, [ebp - 0x138]
push eax
call fcn.00409f00
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x48]
push ecx
mov esi, eax
call fcn.0040a170
push eax
call fcn.00401068
mov byte [ebp - 4], 1
lea eax, [ebp - 0x138]
push eax
call fcn.00402184
jmp 0x416b36
lea ecx, [ebp - 0x2c]
push ecx
push eax
call fcn.004303b8
mov eax, dword [ebp + 0xc]
push dword [ebp - 0x7c]
mov cl, al
and cl, 1
mov byte [ebx + 0x164], cl
mov dword [ebx + 0x24c], eax
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [ebp + 8], 0
setne bl
mov byte [ebp - 4], 0
lea eax, [ebp - 0x78]
push eax
call fcn.00405946
jmp 0x4163f1
push str.ServerThread.Received_Mouse:_getDesktop_X0_or_getDesktop_Y0
call fcn.0042e877
mov byte [ebp - 4], 1
cmp byte [ebp - 0x30], 0
je 0x416b88
mov eax, dword [ebp - 0x34]
call fcn.004178ce
mov byte [ebp - 4], 0
lea eax, [ebp - 0x78]
push eax
call fcn.00405946
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x44]
push eax
call fcn.00405946
xor al, al
call fcn.0053d874
ret 8