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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100b4238
push 0x1007f408
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 [0x100ba8b0], eax
ja 0x10065ae5
mov eax, dword [0x100bf5d0]
inc eax
mov dword [0x100bf5d0], eax
cmp eax, 0x3d
jne 0x10065ac0
mov dword [0x100bf5d0], 0
mov eax, dword [0x100c0044]
inc eax
mov dword [0x100c0044], eax
cmp eax, 0x3d
jne 0x10065ac0
inc dword [0x100bf560]
mov dword [0x100c0044], 0
sub dword [0x100b701c], 1
jne 0x10065ad9
mov dword [0x100b701c], 0x3c
dec dword [0x100b783c]
call esi
add eax, 0x3e8
mov dword [0x100ba8b0], eax
call fcn.1001b220
mov esi, eax
mov ecx, esi
call fcn.10078900
push dword [0x100bf5d0]
push dword [0x100c0044]
push dword [0x100bf560]
push esi
push 0x100be918
call fcn.10008cd0
add esp, 0x14
wait
mov dword [ebp - 4], 0
mov ecx, dword [0x100befa4]
mov eax, dword [ecx]
push dword [0x100bab2c]
call dword [eax + 4]
mov eax, dword [eax]
mov dword [0x100c0814], eax
call fcn.1001be40
mov dword [0x100c03f8], eax
mov eax, dword [0x100bab2c]
mov ecx, dword [eax + 0x28c]
mov eax, dword [0x100c0814]
mov edi, dword [eax + ecx]
test edi, edi
je 0x10065e12
mov eax, dword [edi]
push 0x100bef88
push edi
call dword [eax + 0xc0]
add dword [0x100b7e9c], 2
add dword [0x100b7c94], 3
add dword [0x100b7c50], 4
call fcn.1001b690
call fcn.1002c170
cmp dword [0x100b7018], 0
je 0x10065bfc
mov byte [ebp - 0x2d], 0
call fcn.10065e50
mov esi, eax
mov ecx, esi
call fcn.1006a9e0
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 0x100bf710
call fcn.10008cd0
add esp, 0x1c
call fcn.1002b9a0
mov byte [ebp - 0x2e], 0
call fcn.10065f30
mov esi, eax
mov ecx, esi
call fcn.1006a980
mov edx, esi
call fcn.1002bed0
call fcn.1002bf40
call fcn.1002bab0
call fcn.1002bc10
call fcn.1002bd70
mov ecx, dword [0x100befa4]
mov eax, dword [ecx]
call dword [eax + 0xa8]
test eax, eax
je 0x10065e12
mov ecx, edi
call fcn.10064b30
call fcn.10017770
test eax, eax
je 0x10065c2a
push edi
call fcn.10065690
jmp 0x10065c51
call fcn.10017ad0
test eax, eax
je 0x10065c3b
push edi
call fcn.10065760
jmp 0x10065c51
call fcn.10017890
push edi
test eax, eax
je 0x10065c4c
call fcn.100656f0
jmp 0x10065c51
call fcn.10065600
cmp dword [0x100b7018], 0
je 0x10065ccf
cmp dword [0x100ba770], 0
je 0x10065ccf
mov edx, 1
lea ecx, [edx + 0x10]
call fcn.10018030
test eax, eax
je 0x10065ccf
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 [0x100b87d8], ecx
mov dword [0x100b872c], eax
mov dword [0x100b89a4], ecx
mov dword [0x100b80c4], eax
mov dword [0x100b85f0], ecx
mov dword [0x100b80f8], eax
mov dword [0x100b80fc], ecx
mov dword [0x100b80a8], eax
call fcn.100290d0
call fcn.10017ad0
mov ecx, edi
test eax, eax
je 0x10065ce6
call fcn.1002b7d0
jmp 0x10065ceb
call fcn.1002b660
cmp dword [0x100c010c], 0
jne 0x10065e12
cmp dword [0x100b7018], 1
jne 0x10065d2e
cmp dword [0x100c3cbc], 0
jne 0x10065d2e
xor edx, edx
lea ecx, [edx + 0x2e]
call fcn.10018030
test al, 1
je 0x10065d2e
mov dword [0x100c3cbc], 1
mov dword [0x100b7018], 0
jmp 0x10065d37
cmp dword [0x100b7018], 0
jne 0x10065d64
cmp dword [0x100c3cbc], 1
jne 0x10065d64
xor edx, edx
lea ecx, [edx + 0x2e]
call fcn.10018030
test al, 1
je 0x10065d64
mov dword [0x100c3cbc], 0
mov dword [0x100b7018], 1
jmp 0x10065d6d
cmp dword [0x100b7018], 1
jne 0x10065dbc
cmp dword [0x100c3cbc], 0
jne 0x10065dbc
mov edx, 1
lea ecx, [edx + 0x10]
call fcn.10018030
test eax, eax
je 0x10065dbc
mov edx, 1
lea ecx, [edx + 0x43]
call fcn.10018030
test eax, eax
je 0x10065dbc
xor edx, edx
lea ecx, [edx + 0x30]
call fcn.10018030
test eax, eax
je 0x10065dbc
mov dword [0x100c3cbc], 2
mov dword [0x100b7018], 0
jmp 0x10065dc5
cmp dword [0x100b7018], 0
jne 0x10065e12
cmp dword [0x100c3cbc], 2
jne 0x10065e12
mov edx, 1
lea ecx, [edx + 0x10]
call fcn.10018030
test eax, eax
je 0x10065e12
mov edx, 1
lea ecx, [edx + 0x43]
call fcn.10018030
test eax, eax
je 0x10065e12
xor edx, edx
lea ecx, [edx + 0x30]
call fcn.10018030
test eax, eax
je 0x10065e12
mov dword [0x100c3cbc], 0
mov dword [0x100b7018], 1
wait
jmp 0x10065e1e
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.1007f179
mov esp, ebp
pop ebp
ret