Function at 0x10173680
Capabilities:
Check for time delay via gettickcount
Check for time delay via queryperformancecounter
Check for unmoving mouse cursor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
cmp ecx, 1
lea eax, [esi + 4]
push edi
jbe 0x101736ab
add ecx, 0xffffffff
mov dword [eax], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor edi, edi
cmp ecx, edi
jne 0x101736c4
push edi
push 1
mov ecx, esi
call fcn.10170610
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [esi + 8], 0
mov dword [eax], edi
je 0x10173fee
mov byte [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x1b0]
cmp ecx, eax
ja 0x10173fee
add ecx, 0x1f4
cmp eax, ecx
jb 0x10173fee
movzx ecx, byte [esi + 9]
push ecx
push 1
mov ecx, esi
call fcn.10170610
xor eax, eax
mov byte [esp + 0x17], 0
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
lea ebx, [esi + 0x64]
mov edi, edi
mov eax, dword [ebx + 4]
test eax, eax
je 0x101737d3
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x101737d3
mov esi, ebx
call fcn.1016d510
cmp byte [eax + 0x11], 0
je 0x10173789
mov byte [esp + 0x17], 1
call fcn.1016d510
mov edx, dword [eax + 0x14]
mov esi, dword [ebp + 8]
add eax, 0x14
mov dword [esp + 0x44], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
add edi, 1
jmp 0x10173720
cmp byte [esp + 0x17], 0
je 0x101737c8
call fcn.1016d510
lea ecx, [esp + 0x44]
add eax, 0x14
push ecx
push eax
call dword [sym.imp.USER32.dll_CopyRect]
call fcn.1016d510
mov eax, dword [eax + 0x1c]
add eax, 1
mov dword [esp + 0x10], eax
call fcn.1016d510
mov edx, dword [esp + 0x10]
mov dword [eax + 0x14], edx
call fcn.1016d510
mov byte [eax + 0x11], 1
mov esi, dword [ebp + 8]
add edi, 1
jmp 0x10173720
xor edi, edi
mov dword [esp + 0xc], edi
lea esp, [esp]
mov eax, dword [ebx + 4]
test eax, eax
je 0x101739e5
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x101739e5
mov eax, dword [ebx + 4]
test eax, eax
je 0x1017382e
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x10173834
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [ebx + 4]
mov eax, dword [ebx + 4]
add esi, dword [esp + 0xc]
test eax, eax
je 0x1017385e
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x10173864
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx + 4]
mov edx, dword [esi]
mov ecx, dword [esp + 0xc]
lea eax, [ecx + eax + 0x28]
mov dword [eax], edx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov edx, dword [esi + 8]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0xc]
mov dword [eax + 0xc], ecx
mov eax, dword [ebx + 4]
test eax, eax
je 0x101738a8
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x101738ae
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [ebx + 4]
mov eax, dword [ebx + 4]
add esi, dword [esp + 0xc]
test eax, eax
je 0x101738d8
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x101738de
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov al, byte [esi + 0x10]
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0xc]
mov byte [edx + ecx + 0x38], al
mov eax, dword [ebx + 4]
test eax, eax
je 0x1017390f
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x10173915
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0xc]
cmp byte [edx + eax + 0x24], 0
mov eax, edx
je 0x10173977
test eax, eax
je 0x10173945
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x1017394b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0xc]
cmp byte [ecx + edx + 0x38], 0
mov esi, ebx
je 0x101739ad
call fcn.1016d510
mov esi, dword [ebp + 8]
add edi, 1
add dword [esp + 0xc], 0xcc
mov byte [eax + 0x10], 1
jmp 0x101737e0
test eax, eax
je 0x10173997
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x1017399d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0xc]
cmp byte [ecx + eax + 0x38], 0
mov esi, ebx
je 0x101739c9
call fcn.1016d510
mov esi, dword [ebp + 8]
add edi, 1
add dword [esp + 0xc], 0xcc
mov byte [eax + 0x10], 1
jmp 0x101737e0
call fcn.1016d510
mov esi, dword [ebp + 8]
add edi, 1
add dword [esp + 0xc], 0xcc
mov byte [eax + 0x10], 0
jmp 0x101737e0
mov edx, dword [esi + 0x74]
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x7c]
mov dword [esi + 0x24], edx
mov edx, dword [esi + 0x80]
mov dword [esi + 0x28], eax
lea eax, [esp + 0x68]
mov dword [esi + 0x2c], ecx
push eax
mov dword [esi + 0x30], edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xor eax, eax
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, 1
cmp dword [esi + 0xc], eax
mov dword [esp + 0xc], eax
jbe 0x10173e4a
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
xor eax, eax
push eax
push 0x201
push 0x201
push eax
lea edx, [esp + 0x84]
push edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
call edi
test eax, eax
jne 0x10173e4a
push eax
push 0x100
push 0x100
push eax
lea eax, [esp + 0x84]
push eax
call edi
test eax, eax
jne 0x10173e4a
push eax
push 0x113
push 0x113
push eax
lea ecx, [esp + 0x84]
push ecx
call edi
test eax, eax
jne 0x10173e4a
cmp byte [esi + 0xa], al
je 0x10173af9
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x28]
jne 0x10173e4a
mov ecx, dword [esp + 0x34]
cmp ecx, dword [esp + 0x2c]
jne 0x10173e4a
xor edi, edi
mov eax, dword [ebx + 4]
test eax, eax
mov dword [esp + 0x10], edi
je 0x10173cea
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x10173cea
cmp edi, 0xffffffff
mov eax, dword [ebx + 4]
jne 0x10173ba8
test eax, eax
je 0x10173b52
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
ja 0x10173b58
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [ebx + 4]
mov eax, dword [ebx + 4]
sub edi, 0xcc
test eax, eax
je 0x10173b85
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xffffffff
ja 0x10173b8b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx + 4]
lea eax, [edi + 0x14]
sub ecx, 0xcc
call fcn.10174a70
mov edi, dword [esp + 0x10]
add edi, 1
jmp 0x10173afb
test eax, eax
je 0x10173bc8
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x10173bce
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x10]
mov eax, dword [ebx + 4]
imul edi, edi, 0xcc
add eax, edi
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x10173c06
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x10], eax
jb 0x10173c0c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx + 4]
add eax, edi
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x10173c3a
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x10], eax
jb 0x10173c40
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x54]
mov edx, dword [eax + 0x28]
add eax, 0x28
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x14]
add eax, 0x14
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [ebx + 4]
movzx edx, byte [edi + ecx + 0x11]
push edx
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0xc4]
lea eax, [esi + 4]
call fcn.1015f510
mov eax, dword [ebx + 4]
test eax, eax
je 0x10173cc7
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x10], eax
jb 0x10173ccd
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx + 4]
add ecx, edi
lea eax, [esp + 0xa0]
call fcn.10174a70
mov edi, dword [esp + 0x10]
add edi, 1
jmp 0x10173afb
mov edi, dword [esi + 0x18]
mov ecx, dword [esi + 0x28]
mov edx, dword [esp + 0xc]
mov eax, dword [esi + 0x24]
mov dword [esp + 0x5c], edi
mov edi, dword [esi + 0x1c]
mov dword [esp + 0x94], ecx
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x60], edi
mov edi, dword [esi + 0x20]
mov dword [esp + 0x98], ecx
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x64], edi
mov edi, 1
cmp dword [esi + 0xc], edi
mov dword [esp + 0x9c], ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x10], edx
jae 0x10173d38
mov dword [esi + 0xc], edi
mov edi, dword [esi + 0xc]
cmp dword [esp + 0xc], edi
jle 0x10173d47
mov edx, edi
mov dword [esp + 0x10], edi
sub eax, ecx
imul eax, edx
cdq
idiv edi
add ecx, eax
mov eax, dword [esp + 0x98]
sub eax, dword [esp + 0x60]
mov dword [esi + 0x74], ecx
imul eax, dword [esp + 0x10]
cdq
idiv edi
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
add edx, eax
mov eax, dword [esp + 0x5c]
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], edx
mov dword [esi + 0x80], ecx
call fcn.10171e90
test al, al
je 0x10173e4a
xor edi, edi
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x18]
or ecx, dword [esp + 0x1c]
je 0x10173dfa
mov edx, dword [esp + 0x38]
sub edx, dword [esp + 0x68]
mov eax, dword [esp + 0x3c]
sbb eax, dword [esp + 0x6c]
push edi
push 0x3e8
push eax
push edx
call fcn.101d25c0
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
push edx
push eax
call fcn.101d2510
mov edi, eax
mov dword [esp + 0x24], edx
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
imul edx, ecx
cmp edi, edx
ja 0x10173e4a
mov eax, ecx
imul eax, dword [esp + 0xc]
cmp edi, eax
jae 0x10173e22
sub eax, edi
cmp eax, ecx
jbe 0x10173e1a
mov eax, ecx
push eax
call sub.KERNEL32.dll_Sleep
jmp 0x10173e36
test ecx, ecx
jbe 0x10173e36
xor edx, edx
mov eax, edi
div ecx
cmp eax, dword [esp + 0xc]
jbe 0x10173e36
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add eax, 1
cmp eax, dword [esi + 0xc]
mov dword [esp + 0xc], eax
jb 0x10173a32
xor edi, edi
mov dword [esp + 0x10], edi
mov eax, dword [ebx + 4]
test eax, eax
je 0x10173f30
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x10173f30
mov eax, dword [ebx + 4]
test eax, eax
je 0x10173e9e
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x10173ea4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x10]
mov byte [ecx + eax + 0x11], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x10173ed3
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x10173ed9
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx + 4]
add eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x10173f07
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x10173f0d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x20]
mov cl, byte [eax + 0x38]
mov eax, dword [esp + 0x10]
mov edx, dword [ebx + 4]
mov byte [eax + edx + 0x10], cl
add edi, 1
add eax, 0xcc
mov dword [esp + 0x10], eax
jmp 0x10173e50
movzx edx, byte [esi + 9]
push edx
push 1
mov ecx, esi
call fcn.10170610
mov eax, dword [ebx + 4]
test eax, eax
je 0x10173fd4
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xffffffff
jbe 0x10173fd4
mov eax, dword [ebx + 4]
test eax, eax
je 0x10173f8a
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xffffffff
ja 0x10173f90
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [ebx + 4]
mov eax, dword [ebx + 4]
sub edi, 0xcc
test eax, eax
je 0x10173fbd
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xffffffff
ja 0x10173fc3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx + 4]
lea eax, [edi + 0x14]
sub ecx, 0xcc
call fcn.10174a70
call fcn.10171e90
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x1b0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
movzx eax, byte [esi + 9]
push eax
push 1
mov ecx, esi
call fcn.10170610
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4