Function at 0x5a79bb
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xc0
mov eax, 0x5d22a4
call fcn.00518baf
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xb8]
push eax
mov dword [ebp - 0xac], ebx
mov edi, ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea esi, [ebx + 0x454]
mov eax, dword [esi]
sub eax, dword [ebp - 0xb8]
mov ecx, dword [esi + 4]
sub ecx, dword [ebp - 0xb4]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
mov dword [ebp - 0xbc], esi
jg 0x5a7a26
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jle 0x5a7a43
mov eax, dword [ebp - 0xb8]
mov dword [esi], eax
mov eax, dword [ebp - 0xb4]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x45c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 0x45c]
cmp eax, 0x1f4
jae 0x5a7a5d
mov al, 1
jmp 0x5a7f7e
push 0
push edi
lea esi, [ebp - 0x94]
call fcn.005aa477
mov eax, dword [eax + 4]
push 1
push edi
lea esi, [ebp - 0x94]
mov dword [ebp - 0x98], eax
call fcn.005aa477
mov eax, dword [eax + 4]
push 2
inc eax
push edi
lea esi, [ebp - 0x94]
mov dword [ebp - 0x8c], eax
call fcn.005aa477
mov eax, dword [eax + 4]
push 3
inc eax
push edi
lea esi, [ebp - 0x94]
mov dword [ebp - 0x88], eax
call fcn.005aa477
mov eax, dword [eax + 4]
mov dword [ebp - 0x9c], eax
mov eax, dword [0x72dc3c]
lea esi, [ebp - 0x94]
call fcn.0041f5f6
and dword [ebp - 4], 0
mov ebx, dword [ebp - 0x94]
test ebx, ebx
jne 0x5a7af3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x5a7aec
call fcn.004113ee
xor al, al
jmp 0x5a7f7e
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x84]
rep stosd dword es:[edi], eax
xor esi, esi
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x74], 0x8001
cmp dword [ebx + 0x940], esi
jne 0x5a7b1f
cmp dword [ebx + 0x8bc], esi
je 0x5a7b26
mov dword [ebp - 0x74], 0xc001
mov eax, dword [ebp - 0x9c]
cmp eax, esi
mov dword [ebp - 0x78], eax
je 0x5a7b3a
or dword [ebp - 0x74], 0x800
mov eax, dword [ebx + 0x940]
cmp eax, esi
je 0x5a7be9
lea eax, [ebp - 0xcc]
push eax
call fcn.0041ee64
pop ecx
push esi
mov esi, eax
mov byte [ebp - 4], 1
call fcn.0041c9a9
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0041c90a
lea edi, [ebp - 0xcc]
mov byte [ebp - 4], 3
call fcn.0041ca2c
lea esi, [ebx + 0x914]
lea edi, [ebp - 0xa8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x731810
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.004b1ce3
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ebp - 0x60]
lea esi, [edx + ecx]
add esi, dword [ebp - 0x8c]
push 0x73182c
sub esi, eax
mov ecx, ebx
imul esi, esi, 0xffff
call fcn.004b1ce3
mov ecx, eax
mov eax, esi
cdq
idiv ecx
push 0x731848
mov ecx, ebx
mov dword [ebp - 0x80], eax
call fcn.004b1ce3
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0x5c]
lea esi, [edx + ecx]
add esi, dword [ebp - 0x88]
jmp 0x5a7c7a
cmp dword [ebx + 0x8bc], esi
jle 0x5a7ca6
lea eax, [ebp - 0xcc]
push eax
call fcn.0041ee64
pop ecx
mov byte [ebp - 4], 4
push dword [ebx + 0x8bc]
mov esi, eax
call fcn.0041c9a9
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0041c90a
lea edi, [ebp - 0xcc]
mov byte [ebp - 4], 6
call fcn.0041ca2c
push 0x731810
mov ecx, ebx
call fcn.004b1ce3
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x8c]
lea esi, [ecx + edx]
sub esi, eax
push 0x73182c
imul esi, esi, 0xffff
mov ecx, ebx
call fcn.004b1ce3
mov ecx, eax
mov eax, esi
cdq
idiv ecx
push 0x731848
mov ecx, ebx
mov dword [ebp - 0x80], eax
call fcn.004b1ce3
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x88]
lea esi, [ecx + edx]
sub esi, eax
push 0x731864
imul esi, esi, 0xffff
mov ecx, ebx
call fcn.004b1ce3
mov ecx, eax
mov eax, esi
cdq
idiv ecx
lea esi, [ebp - 0x60]
mov byte [ebp - 4], 0
mov dword [ebp - 0x7c], eax
call fcn.0041c953
jmp 0x5a7ce6
push 0x731880
mov ecx, ebx
call fcn.004b1ce3
mov ecx, eax
mov eax, dword [ebp - 0x8c]
imul eax, eax, 0xffff
cdq
idiv ecx
push 0x73189c
mov ecx, ebx
mov dword [ebp - 0x80], eax
call fcn.004b1ce3
mov ecx, eax
mov eax, dword [ebp - 0x88]
imul eax, eax, 0xffff
cdq
idiv ecx
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x88]
lea edi, [ebp - 0xa0]
mov ecx, ebx
mov dword [ebp - 0x9c], eax
call fcn.0058f492
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov edi, eax
push edi
push dword [0x72dc3c]
call fcn.005a3330
test al, al
jne 0x5a7e1c
push edi
push dword [0x72dc3c]
call fcn.005a32db
test al, al
mov ebx, dword [ebp - 0xac]
je 0x5a7d56
cmp dword [ebx + 0x4a8], 0
jne 0x5a7e22
mov edx, dword [ebp - 0x98]
mov eax, edx
and eax, 1
je 0x5a7d72
test byte [ebx + 0x450], 1
jne 0x5a7d72
or dword [ebp - 0x74], 2
jmp 0x5a7d83
test eax, eax
jne 0x5a7d83
test byte [ebx + 0x450], 1
je 0x5a7d83
or dword [ebp - 0x74], 4
push 0x10
mov eax, edx
pop ecx
and eax, ecx
je 0x5a7d9a
test byte [ebx + 0x450], cl
jne 0x5a7d9a
or dword [ebp - 0x74], 0x20
jmp 0x5a7daa
test eax, eax
jne 0x5a7daa
test byte [ebx + 0x450], cl
je 0x5a7daa
or dword [ebp - 0x74], 0x40
mov eax, edx
and eax, 2
je 0x5a7dc0
test byte [ebx + 0x450], 2
jne 0x5a7dc0
or dword [ebp - 0x74], 8
jmp 0x5a7dd0
test eax, eax
jne 0x5a7dd0
test byte [ebx + 0x450], 2
je 0x5a7dd0
or dword [ebp - 0x74], ecx
mov eax, edx
and eax, 0x60
je 0x5a7de9
test byte [ebx + 0x450], 0x60
jne 0x5a7de9
or dword [ebp - 0x74], 0x80
jmp 0x5a7e05
test eax, eax
jne 0x5a7f39
test byte [ebx + 0x450], 0x60
je 0x5a7f39
or dword [ebp - 0x74], 0x100
test dl, 0x20
je 0x5a7e13
or dword [ebp - 0x78], 1
jmp 0x5a7f39
or dword [ebp - 0x78], 2
jmp 0x5a7f39
mov ebx, dword [ebp - 0xac]
mov eax, dword [0x72dc44]
call fcn.005780f6
cmp eax, edi
je 0x5a7e73
mov eax, dword [0x72dc3c]
lea esi, [ebp - 0xb0]
call fcn.00401420
mov byte [ebp - 4], 7
mov eax, dword [eax]
cmp dword [eax + 4], edi
mov dword [ebp - 0x68], 1
je 0x5a7e73
mov eax, dword [0x72dc3c]
lea esi, [ebp - 0xa0]
call fcn.00401420
mov eax, dword [eax]
cmp dword [eax + 0x4fc], edi
mov dword [ebp - 0x68], 3
jne 0x5a7e9b
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x5a7e9b
cmp eax, dword [ebx + 0x450]
je 0x5a7e9b
cmp dword [ebx + 0x4a8], 1
jne 0x5a7e9b
cmp byte [ebx + 0x4d8], 0
mov byte [ebp - 0x61], 1
jne 0x5a7e9f
mov byte [ebp - 0x61], 0
test byte [ebp - 0x68], 2
je 0x5a7eb8
mov ecx, dword [ebp - 0x9c]
and dword [ebp - 0x68], 0xfffffffd
test ecx, ecx
je 0x5a7eb8
call fcn.004113ee
and dword [ebp - 4], 0
test byte [ebp - 0x68], 1
je 0x5a7ed1
mov ecx, dword [ebp - 0xac]
test ecx, ecx
je 0x5a7ed1
call fcn.004113ee
cmp byte [ebp - 0x61], 0
je 0x5a7f39
push 0x16
lea eax, [ebp - 0x40]
push eax
call fcn.00401000
push 4
pop edi
push 1
lea eax, [ebp - 0x9c]
push eax
mov byte [ebp - 4], 8
push 1
lea esi, [ebp - 0x40]
mov dword [ebp - 0x9c], edi
call fcn.005aa5d5
push ecx
push ecx
lea eax, [ebx + 0x190]
mov edx, dword [eax]
mov ecx, esp
add eax, edi
mov dword [ebp - 0xac], esp
mov dword [ecx], edx
push eax
add ecx, edi
call fcn.0041143f
mov ecx, esi
call fcn.004010bc
push edi
push ebx
call fcn.0058ac1c
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.00401040
push 0x1c
lea eax, [ebp - 0x84]
push eax
push 1
call dword [sym.imp.USER32.dll_SendInput]
push dword [ebp - 0xbc]
mov esi, eax
mov eax, dword [ebp - 0x98]
mov dword [ebx + 0x450], eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test esi, esi
setne bl
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x5a7f7c
call fcn.004113ee
mov al, bl
call fcn.00518c32
ret 4