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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100a4cd0
push 0x100738d8
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 [0x100af378], eax
ja 0x1005ecf5
mov eax, dword [0x100ab578]
inc eax
mov dword [0x100ab578], eax
cmp eax, 0x3d
jne 0x1005ecd0
mov dword [0x100ab578], 0
mov eax, dword [0x100ac03c]
inc eax
mov dword [0x100ac03c], eax
cmp eax, 0x3d
jne 0x1005ecd0
inc dword [0x100ab514]
mov dword [0x100ac03c], 0
sub dword [0x100a7664], 1
jne 0x1005ece9
mov dword [0x100a7664], 0x3c
dec dword [0x100a7020]
call esi
add eax, 0x3e8
mov dword [0x100af378], eax
call fcn.10019ed0
mov esi, eax
mov ecx, esi
call fcn.10070120
push dword [0x100ab578]
push dword [0x100ac03c]
push dword [0x100ab514]
push esi
push 0x100aa8d0
call fcn.10008210
add esp, 0x14
wait
mov dword [ebp - 4], 0
mov ecx, dword [0x100aaf5c]
mov eax, dword [ecx]
push dword [0x100af5f8]
call dword [eax + 4]
mov eax, dword [eax]
mov dword [0x100ac674], eax
call fcn.1001a760
mov dword [0x100ac25c], eax
mov eax, dword [0x100af5f8]
mov ecx, dword [eax + 0x274]
mov eax, dword [0x100ac674]
mov edi, dword [eax + ecx]
test edi, edi
je 0x1005f0f4
mov eax, dword [edi]
push 0x100aaf40
push edi
call dword [eax + 0xc0]
add dword [0x100a7454], 2
add dword [0x100a7044], 3
add dword [0x100a702c], 4
call fcn.10019fb0
call fcn.1002a3c0
cmp dword [0x100a745c], 0
je 0x1005ee0c
mov byte [ebp - 0x2d], 0
call fcn.1005f130
mov esi, eax
mov ecx, esi
call fcn.10062440
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 0x100ab6a8
call fcn.10008210
add esp, 0x1c
call fcn.10029bf0
mov byte [ebp - 0x2e], 0
call fcn.1005f210
mov esi, eax
mov ecx, esi
call fcn.100623e0
mov edx, esi
call fcn.1002a120
call fcn.1002a190
call fcn.10029d00
call fcn.10029e60
call fcn.10029fc0
mov ecx, dword [0x100aaf5c]
mov eax, dword [ecx]
call dword [eax + 0xa8]
test eax, eax
je 0x1005f0f4
mov ecx, edi
call fcn.1005dbe0
call fcn.10017d70
test eax, eax
je 0x1005ee3a
push edi
call fcn.1005e820
jmp 0x1005ee61
call fcn.10017fb0
test eax, eax
je 0x1005ee4b
push edi
call fcn.1005e8e0
jmp 0x1005ee61
call fcn.10017e90
push edi
test eax, eax
je 0x1005ee5c
call fcn.1005e880
jmp 0x1005ee61
call fcn.1005e630
cmp dword [0x100acdc4], 0
jne 0x1005ef33
push 0xffff0000
mov edx, 0x100ab540
mov ecx, edi
call fcn.1005eb90
push 0xff00b4ff
mov edx, 0x100aa708
mov ecx, edi
call fcn.1005eb90
push 0xffff7276
mov edx, 0x100ac040
mov ecx, edi
call fcn.1005eb90
push 0xffccffff
mov edx, 0x100af604
mov ecx, edi
call fcn.1005eb90
push 0xffffff00
mov edx, 0x100ab640
mov ecx, edi
call fcn.1005eb90
push 0xff00ff00
mov edx, 0x100ac0fc
mov ecx, edi
call fcn.1005eb90
push 0xff0000ff
mov edx, 0x100ab5b0
mov ecx, edi
call fcn.1005eb90
push 0xff660099
mov edx, 0x100ab39c
mov ecx, edi
call fcn.1005eb90
push 0xffff1493
mov edx, 0x100b2dcc
mov ecx, edi
call fcn.1005eb90
push 0xffff9600
mov edx, 0x100aedc8
mov ecx, edi
call fcn.1005eb90
push 0xffffffffffffffff
mov edx, 0x100af69c
mov ecx, edi
call fcn.1005eb90
add esp, 0x2c
mov dword [0x100acdc4], 1
cmp dword [0x100a745c], 0
je 0x1005efb1
cmp dword [0x100af244], 0
je 0x1005efb1
mov edx, 1
lea ecx, [edx + 0x10]
call fcn.100183f0
test eax, eax
je 0x1005efb1
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 [0x100a87f4], ecx
mov dword [0x100a8748], eax
mov dword [0x100a89a8], ecx
mov dword [0x100a80a8], eax
mov dword [0x100a855c], ecx
mov dword [0x100a80dc], eax
mov dword [0x100a8498], ecx
mov dword [0x100a808c], eax
call fcn.10026800
call fcn.10017fb0
mov ecx, edi
test eax, eax
je 0x1005efc8
call fcn.10029b20
jmp 0x1005efcd
call fcn.100299f0
cmp dword [0x100ac094], 0
jne 0x1005f0f4
cmp dword [0x100a745c], 1
jne 0x1005f010
cmp dword [0x100ae710], 0
jne 0x1005f010
xor edx, edx
lea ecx, [edx + 0x2e]
call fcn.100183f0
test al, 1
je 0x1005f010
mov dword [0x100ae710], 1
mov dword [0x100a745c], 0
jmp 0x1005f019
cmp dword [0x100a745c], 0
jne 0x1005f046
cmp dword [0x100ae710], 1
jne 0x1005f046
xor edx, edx
lea ecx, [edx + 0x2e]
call fcn.100183f0
test al, 1
je 0x1005f046
mov dword [0x100ae710], 0
mov dword [0x100a745c], 1
jmp 0x1005f04f
cmp dword [0x100a745c], 1
jne 0x1005f09e
cmp dword [0x100ae710], 0
jne 0x1005f09e
mov edx, 1
lea ecx, [edx + 0x10]
call fcn.100183f0
test eax, eax
je 0x1005f09e
mov edx, 1
lea ecx, [edx + 0x43]
call fcn.100183f0
test eax, eax
je 0x1005f09e
xor edx, edx
lea ecx, [edx + 0x30]
call fcn.100183f0
test eax, eax
je 0x1005f09e
mov dword [0x100ae710], 2
mov dword [0x100a745c], 0
jmp 0x1005f0a7
cmp dword [0x100a745c], 0
jne 0x1005f0f4
cmp dword [0x100ae710], 2
jne 0x1005f0f4
mov edx, 1
lea ecx, [edx + 0x10]
call fcn.100183f0
test eax, eax
je 0x1005f0f4
mov edx, 1
lea ecx, [edx + 0x43]
call fcn.100183f0
test eax, eax
je 0x1005f0f4
xor edx, edx
lea ecx, [edx + 0x30]
call fcn.100183f0
test eax, eax
je 0x1005f0f4
mov dword [0x100ae710], 0
mov dword [0x100a745c], 1
wait
jmp 0x1005f100
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.10073649
mov esp, ebp
pop ebp
ret