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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100b40a8
push 0x1007edd8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100b700c]
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 [0x100ba934], eax
ja 0x100659a5
mov eax, dword [0x100bfc50]
inc eax
mov dword [0x100bfc50], eax
cmp eax, 0x3d
jne 0x10065980
mov dword [0x100bfc50], 0
mov eax, dword [0x100c06d4]
inc eax
mov dword [0x100c06d4], eax
cmp eax, 0x3d
jne 0x10065980
inc dword [0x100bfbe4]
mov dword [0x100c06d4], 0
sub dword [0x100b701c], 1
jne 0x10065999
mov dword [0x100b701c], 0x3c
dec dword [0x100b783c]
call esi
add eax, 0x3e8
mov dword [0x100ba934], eax
call fcn.1001ad90
mov esi, eax
mov ecx, esi
call fcn.10078690
push dword [0x100bfc50]
push dword [0x100c06d4]
push dword [0x100bfbe4]
push esi
push 0x100bed98
call fcn.10008cf0
add esp, 0x14
wait
mov dword [ebp - 4], 0
mov ecx, dword [0x100bf620]
mov eax, dword [ecx]
push dword [0x100babb4]
call dword [eax + 4]
mov eax, dword [eax]
mov dword [0x100c0e98], eax
call fcn.1001ba90
mov dword [0x100c0a7c], eax
mov eax, dword [0x100babb4]
mov ecx, dword [eax + 0x294]
mov eax, dword [0x100c0e98]
mov edi, dword [eax + ecx]
test edi, edi
je 0x10065cd2
mov eax, dword [edi]
push 0x100bf604
push edi
call dword [eax + 0xc0]
add dword [0x100b7ea4], 2
add dword [0x100b7c9c], 3
add dword [0x100b7c50], 4
call fcn.1001b280
call fcn.1002bcc0
cmp dword [0x100b7018], 0
je 0x10065abc
mov byte [ebp - 0x2d], 0
call fcn.10065d10
mov esi, eax
mov ecx, esi
call fcn.1006a770
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 0x100bfda0
call fcn.10008cf0
add esp, 0x1c
call fcn.1002b4f0
mov byte [ebp - 0x2e], 0
call fcn.10065df0
mov esi, eax
mov ecx, esi
call fcn.1006a710
mov edx, esi
call fcn.1002ba20
call fcn.1002ba90
call fcn.1002b600
call fcn.1002b760
call fcn.1002b8c0
mov ecx, dword [0x100bf620]
mov eax, dword [ecx]
call dword [eax + 0xa8]
test eax, eax
je 0x10065cd2
mov ecx, edi
call fcn.100649f0
call fcn.10017b40
test eax, eax
je 0x10065aea
push edi
call fcn.10065550
jmp 0x10065b11
call fcn.10017ea0
test eax, eax
je 0x10065afb
push edi
call fcn.10065620
jmp 0x10065b11
call fcn.10017c60
push edi
test eax, eax
je 0x10065b0c
call fcn.100655b0
jmp 0x10065b11
call fcn.100654c0
cmp dword [0x100b7018], 0
je 0x10065b8f
cmp dword [0x100ba7f4], 0
je 0x10065b8f
mov edx, 1
lea ecx, [edx + 0x10]
call fcn.10018400
test eax, eax
je 0x10065b8f
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 [0x100b742c], ecx
mov eax, dword [ebp - 0x20]
add eax, 2
mov dword [0x100b7c4c], eax
mov dword [0x100b8840], ecx
mov dword [0x100b8764], eax
mov dword [0x100b8a24], ecx
mov dword [0x100b80cc], eax
mov dword [0x100b8628], ecx
mov dword [0x100b8100], eax
mov dword [0x100b8104], ecx
mov dword [0x100b80b0], eax
call fcn.10028a40
call fcn.10017ea0
mov ecx, edi
test eax, eax
je 0x10065ba6
call fcn.1002b420
jmp 0x10065bab
call fcn.1002b2b0
cmp dword [0x100c0798], 0
jne 0x10065cd2
cmp dword [0x100b7018], 1
jne 0x10065bee
cmp dword [0x100c434c], 0
jne 0x10065bee
xor edx, edx
lea ecx, [edx + 0x2e]
call fcn.10018400
test al, 1
je 0x10065bee
mov dword [0x100c434c], 1
mov dword [0x100b7018], 0
jmp 0x10065bf7
cmp dword [0x100b7018], 0
jne 0x10065c24
cmp dword [0x100c434c], 1
jne 0x10065c24
xor edx, edx
lea ecx, [edx + 0x2e]
call fcn.10018400
test al, 1
je 0x10065c24
mov dword [0x100c434c], 0
mov dword [0x100b7018], 1
jmp 0x10065c2d
cmp dword [0x100b7018], 1
jne 0x10065c7c
cmp dword [0x100c434c], 0
jne 0x10065c7c
mov edx, 1
lea ecx, [edx + 0x10]
call fcn.10018400
test eax, eax
je 0x10065c7c
mov edx, 1
lea ecx, [edx + 0x43]
call fcn.10018400
test eax, eax
je 0x10065c7c
xor edx, edx
lea ecx, [edx + 0x30]
call fcn.10018400
test eax, eax
je 0x10065c7c
mov dword [0x100c434c], 2
mov dword [0x100b7018], 0
jmp 0x10065c85
cmp dword [0x100b7018], 0
jne 0x10065cd2
cmp dword [0x100c434c], 2
jne 0x10065cd2
mov edx, 1
lea ecx, [edx + 0x10]
call fcn.10018400
test eax, eax
je 0x10065cd2
mov edx, 1
lea ecx, [edx + 0x43]
call fcn.10018400
test eax, eax
je 0x10065cd2
xor edx, edx
lea ecx, [edx + 0x30]
call fcn.10018400
test eax, eax
je 0x10065cd2
mov dword [0x100c434c], 0
mov dword [0x100b7018], 1
wait
jmp 0x10065cde
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.1007eb49
mov esp, ebp
pop ebp
ret