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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100a2aa8
push 0x100719e9
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100a500c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp dword [0x100ab818], eax
ja 0x1005f685
mov eax, dword [0x100a7ec4]
inc eax
mov dword [0x100a7ec4], eax
cmp eax, 0x3d
jne 0x1005f660
mov dword [0x100a7ec4], 0
mov eax, dword [0x100a8934]
inc eax
mov dword [0x100a8934], eax
cmp eax, 0x3d
jne 0x1005f660
inc dword [0x100a7e60]
mov dword [0x100a8934], 0
sub dword [0x100a566c], 1
jne 0x1005f679
mov dword [0x100a566c], 0x3c
dec dword [0x100a5018]
call esi
add eax, 0x3e8
mov dword [0x100ab818], eax
call fcn.10017810
mov esi, eax
mov ecx, esi
call fcn.1006bd80
push dword [0x100a7ec4]
push dword [0x100a8934]
push dword [0x100a7e60]
push esi
push 0x100af870
call fcn.10007430
add esp, 0x14
wait
mov dword [ebp - 4], 0
mov ecx, dword [0x100a78a0]
mov eax, dword [ecx]
push dword [0x100aba90]
call dword [eax + 4]
mov eax, dword [eax]
mov dword [0x100a8fc8], eax
call fcn.10018200
mov dword [0x100a8bb0], eax
mov eax, dword [0x100aba90]
mov ecx, dword [eax + 0x260]
mov eax, dword [0x100a8fc8]
mov edi, dword [eax + ecx]
test edi, edi
je 0x1005fa7f
mov eax, dword [edi]
push 0x100a7884
push edi
call dword [eax + 0xc0]
add dword [0x100a5454], 2
add dword [0x100a5040], 3
add dword [0x100a5028], 4
call fcn.100178f0
call fcn.1002c150
cmp dword [0x100a5460], 0
je 0x1005f79c
mov byte [ebp - 0x2d], 0
call fcn.1005fab0
mov esi, eax
mov ecx, esi
call fcn.10063ec0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
push dword [eax]
push dword [eax + 4]
push dword [eax + 8]
push esi
push 0x100a8000
call fcn.10007430
add esp, 0x1c
call fcn.1002b980
mov byte [ebp - 0x2e], 0
call fcn.1005fb90
mov esi, eax
mov ecx, esi
call fcn.10063e60
mov edx, esi
call fcn.1002beb0
call fcn.1002bf20
call fcn.1002ba90
call fcn.1002bbf0
call fcn.1002bd50
mov ecx, dword [0x100a78a0]
mov eax, dword [ecx]
call dword [eax + 0xa8]
test eax, eax
je 0x1005fa7f
mov ecx, edi
call fcn.1005e520
call fcn.10015270
test eax, eax
je 0x1005f7ca
push edi
call fcn.1005f000
jmp 0x1005f7f1
call fcn.100155c0
test eax, eax
je 0x1005f7db
push edi
call fcn.1005f1e0
jmp 0x1005f7f1
call fcn.10015380
push edi
test eax, eax
je 0x1005f7ec
call fcn.1005f0f0
jmp 0x1005f7f1
call fcn.1005ef30
cmp dword [0x100a972c], 0
jne 0x1005f8c3
push 0xffff0000
mov edx, 0x100a7e8c
mov ecx, edi
call fcn.1005f520
push 0xff00b4ff
mov edx, 0x100af6ac
mov ecx, edi
call fcn.1005f520
push 0xffff7276
mov edx, 0x100a899c
mov ecx, edi
call fcn.1005f520
push 0xffccffff
mov edx, 0x100aba9c
mov ecx, edi
call fcn.1005f520
push 0xffffff00
mov edx, 0x100a7f98
mov ecx, edi
call fcn.1005f520
push 0xff00ff00
mov edx, 0x100a8a50
mov ecx, edi
call fcn.1005f520
push 0xff0000ff
mov edx, 0x100a7f00
mov ecx, edi
call fcn.1005f520
push 0xff660099
mov edx, 0x100a7cec
mov ecx, edi
call fcn.1005f520
push 0xffff1493
mov edx, 0x100af268
mov ecx, edi
call fcn.1005f520
push 0xffff9600
mov edx, 0x100ab230
mov ecx, edi
call fcn.1005f520
push 0xffffffffffffffff
mov edx, 0x100abb34
mov ecx, edi
call fcn.1005f520
add esp, 0x2c
mov dword [0x100a972c], 1
cmp dword [0x100a5460], 0
je 0x1005f941
cmp dword [0x100ab6d0], 0
je 0x1005f941
mov edx, 1
lea ecx, [edx + 0x10]
call fcn.10015a00
test eax, eax
je 0x1005f941
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x24]
mov dword [0x100a5670], ecx
mov eax, dword [ebp - 0x20]
add eax, 2
mov dword [0x100a5024], eax
mov dword [0x100a5d84], ecx
mov dword [0x100a5cf0], eax
mov dword [0x100a5f38], ecx
mov dword [0x100a5694], eax
mov dword [0x100a5b04], ecx
mov dword [0x100a56cc], eax
mov dword [0x100a5a38], ecx
mov dword [0x100a5678], eax
call fcn.100155c0
mov ecx, edi
test eax, eax
je 0x1005f953
call fcn.1002b2d0
jmp 0x1005f958
call fcn.1002ac60
cmp dword [0x100a89ec], 0
jne 0x1005fa7f
cmp dword [0x100a5460], 1
jne 0x1005f99b
cmp dword [0x100aab74], 0
jne 0x1005f99b
xor edx, edx
lea ecx, [edx + 0x2e]
call fcn.10015a00
test al, 1
je 0x1005f99b
mov dword [0x100aab74], 1
mov dword [0x100a5460], 0
jmp 0x1005f9a4
cmp dword [0x100a5460], 0
jne 0x1005f9d1
cmp dword [0x100aab74], 1
jne 0x1005f9d1
xor edx, edx
lea ecx, [edx + 0x2e]
call fcn.10015a00
test al, 1
je 0x1005f9d1
mov dword [0x100aab74], 0
mov dword [0x100a5460], 1
jmp 0x1005f9da
cmp dword [0x100a5460], 1
jne 0x1005fa29
cmp dword [0x100aab74], 0
jne 0x1005fa29
mov edx, 1
lea ecx, [edx + 0x10]
call fcn.10015a00
test eax, eax
je 0x1005fa29
mov edx, 1
lea ecx, [edx + 0x43]
call fcn.10015a00
test eax, eax
je 0x1005fa29
xor edx, edx
lea ecx, [edx + 0x30]
call fcn.10015a00
test eax, eax
je 0x1005fa29
mov dword [0x100aab74], 2
mov dword [0x100a5460], 0
jmp 0x1005fa32
cmp dword [0x100a5460], 0
jne 0x1005fa7f
cmp dword [0x100aab74], 2
jne 0x1005fa7f
mov edx, 1
lea ecx, [edx + 0x10]
call fcn.10015a00
test eax, eax
je 0x1005fa7f
mov edx, 1
lea ecx, [edx + 0x43]
call fcn.10015a00
test eax, eax
je 0x1005fa7f
xor edx, edx
lea ecx, [edx + 0x30]
call fcn.10015a00
test eax, eax
je 0x1005fa7f
mov dword [0x100aab74], 0
mov dword [0x100a5460], 1
wait
jmp 0x1005fa8b
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10071759
mov esp, ebp
pop ebp
ret