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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100a4e50
push 0x10073fc8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100a700c]
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 [0x100af320], eax
ja 0x1005f3e5
mov eax, dword [0x100ab524]
inc eax
mov dword [0x100ab524], eax
cmp eax, 0x3d
jne 0x1005f3c0
mov dword [0x100ab524], 0
mov eax, dword [0x100abf8c]
inc eax
mov dword [0x100abf8c], eax
cmp eax, 0x3d
jne 0x1005f3c0
inc dword [0x100ab4c4]
mov dword [0x100abf8c], 0
sub dword [0x100a7664], 1
jne 0x1005f3d9
mov dword [0x100a7664], 0x3c
dec dword [0x100a7020]
call esi
add eax, 0x3e8
mov dword [0x100af320], eax
call fcn.10019f60
mov esi, eax
mov ecx, esi
call fcn.10070810
push dword [0x100ab524]
push dword [0x100abf8c]
push dword [0x100ab4c4]
push esi
push 0x100aa880
call fcn.10008290
add esp, 0x14
wait
mov dword [ebp - 4], 0
mov ecx, dword [0x100aaf0c]
mov eax, dword [ecx]
push dword [0x100af598]
call dword [eax + 4]
mov eax, dword [eax]
mov dword [0x100ac624], eax
call fcn.1001a7f0
mov dword [0x100ac20c], eax
mov eax, dword [0x100af598]
mov ecx, dword [eax + 0x274]
mov eax, dword [0x100ac624]
mov edi, dword [eax + ecx]
test edi, edi
je 0x1005f7e4
mov eax, dword [edi]
push 0x100aaef0
push edi
call dword [eax + 0xc0]
add dword [0x100a7454], 2
add dword [0x100a7044], 3
add dword [0x100a702c], 4
call fcn.1001a040
call fcn.1002a430
cmp dword [0x100a745c], 0
je 0x1005f4fc
mov byte [ebp - 0x2d], 0
call fcn.1005f820
mov esi, eax
mov ecx, esi
call fcn.10062b30
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 0x100ab660
call fcn.10008290
add esp, 0x1c
call fcn.10029c60
mov byte [ebp - 0x2e], 0
call fcn.1005f900
mov esi, eax
mov ecx, esi
call fcn.10062ad0
mov edx, esi
call fcn.1002a190
call fcn.1002a200
call fcn.10029d70
call fcn.10029ed0
call fcn.1002a030
mov ecx, dword [0x100aaf0c]
mov eax, dword [ecx]
call dword [eax + 0xa8]
test eax, eax
je 0x1005f7e4
mov ecx, edi
call fcn.1005e2d0
call fcn.10017e00
test eax, eax
je 0x1005f52a
push edi
call fcn.1005ef10
jmp 0x1005f551
call fcn.10018040
test eax, eax
je 0x1005f53b
push edi
call fcn.1005efd0
jmp 0x1005f551
call fcn.10017f20
push edi
test eax, eax
je 0x1005f54c
call fcn.1005ef70
jmp 0x1005f551
call fcn.1005ed20
cmp dword [0x100acd74], 0
jne 0x1005f623
push 0xffff0000
mov edx, 0x100ab4f0
mov ecx, edi
call fcn.1005f280
push 0xff00b4ff
mov edx, 0x100aa6b8
mov ecx, edi
call fcn.1005f280
push 0xffff7276
mov edx, 0x100abff4
mov ecx, edi
call fcn.1005f280
push 0xffccffff
mov edx, 0x100af5a4
mov ecx, edi
call fcn.1005f280
push 0xffffff00
mov edx, 0x100ab5ec
mov ecx, edi
call fcn.1005f280
push 0xff00ff00
mov edx, 0x100ac0ac
mov ecx, edi
call fcn.1005f280
push 0xff0000ff
mov edx, 0x100ab55c
mov ecx, edi
call fcn.1005f280
push 0xff660099
mov edx, 0x100ab34c
mov ecx, edi
call fcn.1005f280
push 0xffff1493
mov edx, 0x100b2d6c
mov ecx, edi
call fcn.1005f280
push 0xffff9600
mov edx, 0x100aed70
mov ecx, edi
call fcn.1005f280
push 0xffffffffffffffff
mov edx, 0x100af63c
mov ecx, edi
call fcn.1005f280
add esp, 0x2c
mov dword [0x100acd74], 1
cmp dword [0x100a745c], 0
je 0x1005f6a1
cmp dword [0x100af1ec], 0
je 0x1005f6a1
mov edx, 1
lea ecx, [edx + 0x10]
call fcn.10018480
test eax, eax
je 0x1005f6a1
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 [0x100a7018], ecx
mov eax, dword [ebp - 0x20]
add eax, 2
mov dword [0x100a7028], eax
mov dword [0x100a87a4], ecx
mov dword [0x100a86f8], eax
mov dword [0x100a8958], ecx
mov dword [0x100a80a8], eax
mov dword [0x100a850c], ecx
mov dword [0x100a80dc], eax
mov dword [0x100a8448], ecx
mov dword [0x100a808c], eax
call fcn.10026860
call fcn.10018040
mov ecx, edi
test eax, eax
je 0x1005f6b8
call fcn.10029b90
jmp 0x1005f6bd
call fcn.10029a60
cmp dword [0x100ac044], 0
jne 0x1005f7e4
cmp dword [0x100a745c], 1
jne 0x1005f700
cmp dword [0x100ae6c0], 0
jne 0x1005f700
xor edx, edx
lea ecx, [edx + 0x2e]
call fcn.10018480
test al, 1
je 0x1005f700
mov dword [0x100ae6c0], 1
mov dword [0x100a745c], 0
jmp 0x1005f709
cmp dword [0x100a745c], 0
jne 0x1005f736
cmp dword [0x100ae6c0], 1
jne 0x1005f736
xor edx, edx
lea ecx, [edx + 0x2e]
call fcn.10018480
test al, 1
je 0x1005f736
mov dword [0x100ae6c0], 0
mov dword [0x100a745c], 1
jmp 0x1005f73f
cmp dword [0x100a745c], 1
jne 0x1005f78e
cmp dword [0x100ae6c0], 0
jne 0x1005f78e
mov edx, 1
lea ecx, [edx + 0x10]
call fcn.10018480
test eax, eax
je 0x1005f78e
mov edx, 1
lea ecx, [edx + 0x43]
call fcn.10018480
test eax, eax
je 0x1005f78e
xor edx, edx
lea ecx, [edx + 0x30]
call fcn.10018480
test eax, eax
je 0x1005f78e
mov dword [0x100ae6c0], 2
mov dword [0x100a745c], 0
jmp 0x1005f797
cmp dword [0x100a745c], 0
jne 0x1005f7e4
cmp dword [0x100ae6c0], 2
jne 0x1005f7e4
mov edx, 1
lea ecx, [edx + 0x10]
call fcn.10018480
test eax, eax
je 0x1005f7e4
mov edx, 1
lea ecx, [edx + 0x43]
call fcn.10018480
test eax, eax
je 0x1005f7e4
xor edx, edx
lea ecx, [edx + 0x30]
call fcn.10018480
test eax, eax
je 0x1005f7e4
mov dword [0x100ae6c0], 0
mov dword [0x100a745c], 1
wait
jmp 0x1005f7f0
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.10073d39
mov esp, ebp
pop ebp
ret