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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100b53c8
push 0x1007fec8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100b800c]
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 [0x100bb8d4], eax
ja 0x10066835
mov eax, dword [0x100c0600]
inc eax
mov dword [0x100c0600], eax
cmp eax, 0x3d
jne 0x10066810
mov dword [0x100c0600], 0
mov eax, dword [0x100c1084]
inc eax
mov dword [0x100c1084], eax
cmp eax, 0x3d
jne 0x10066810
inc dword [0x100c0598]
mov dword [0x100c1084], 0
sub dword [0x100b801c], 1
jne 0x10066829
mov dword [0x100b801c], 0x3c
dec dword [0x100b883c]
call esi
add eax, 0x3e8
mov dword [0x100bb8d4], eax
call fcn.1001b2f0
mov esi, eax
mov ecx, esi
call fcn.100793c0
push dword [0x100c0600]
push dword [0x100c1084]
push dword [0x100c0598]
push esi
push 0x100bf940
call fcn.10008cb0
add esp, 0x14
wait
mov dword [ebp - 4], 0
mov ecx, dword [0x100bffd4]
mov eax, dword [ecx]
push dword [0x100bbb50]
call dword [eax + 4]
mov eax, dword [eax]
mov dword [0x100c1854], eax
call fcn.1001bfe0
mov dword [0x100c1438], eax
mov eax, dword [0x100bbb50]
mov ecx, dword [eax + 0x28c]
mov eax, dword [0x100c1854]
mov edi, dword [eax + ecx]
test edi, edi
je 0x10066b62
mov eax, dword [edi]
push 0x100bffb8
push edi
call dword [eax + 0xc0]
add dword [0x100b8ea4], 2
add dword [0x100b8c9c], 3
add dword [0x100b8c50], 4
call fcn.1001b7d0
call fcn.1002bf10
cmp dword [0x100b8018], 0
je 0x1006694c
mov byte [ebp - 0x2d], 0
call fcn.10066ba0
mov esi, eax
mov ecx, esi
call fcn.1006b2c0
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 0x100c0750
call fcn.10008cb0
add esp, 0x1c
call fcn.1002b740
mov byte [ebp - 0x2e], 0
call fcn.10066c80
mov esi, eax
mov ecx, esi
call fcn.1006b260
mov edx, esi
call fcn.1002bc70
call fcn.1002bce0
call fcn.1002b850
call fcn.1002b9b0
call fcn.1002bb10
mov ecx, dword [0x100bffd4]
mov eax, dword [ecx]
call dword [eax + 0xa8]
test eax, eax
je 0x10066b62
mov ecx, edi
call fcn.10065880
call fcn.10017770
test eax, eax
je 0x1006697a
push edi
call fcn.100663e0
jmp 0x100669a1
call fcn.10017ad0
test eax, eax
je 0x1006698b
push edi
call fcn.100664b0
jmp 0x100669a1
call fcn.10017890
push edi
test eax, eax
je 0x1006699c
call fcn.10066440
jmp 0x100669a1
call fcn.10066350
cmp dword [0x100b8018], 0
je 0x10066a1f
cmp dword [0x100bb794], 0
je 0x10066a1f
mov edx, 1
lea ecx, [edx + 0x10]
call fcn.10018030
test eax, eax
je 0x10066a1f
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 [0x100b842c], ecx
mov eax, dword [ebp - 0x20]
add eax, 2
mov dword [0x100b8c4c], eax
mov dword [0x100b97f8], ecx
mov dword [0x100b9734], eax
mov dword [0x100b99c4], ecx
mov dword [0x100b90cc], eax
mov dword [0x100b95f8], ecx
mov dword [0x100b9100], eax
mov dword [0x100b9104], ecx
mov dword [0x100b90b0], eax
call fcn.10028f70
call fcn.10017ad0
mov ecx, edi
test eax, eax
je 0x10066a36
call fcn.1002b670
jmp 0x10066a3b
call fcn.1002b500
cmp dword [0x100c114c], 0
jne 0x10066b62
cmp dword [0x100b8018], 1
jne 0x10066a7e
cmp dword [0x100c4d0c], 0
jne 0x10066a7e
xor edx, edx
lea ecx, [edx + 0x2e]
call fcn.10018030
test al, 1
je 0x10066a7e
mov dword [0x100c4d0c], 1
mov dword [0x100b8018], 0
jmp 0x10066a87
cmp dword [0x100b8018], 0
jne 0x10066ab4
cmp dword [0x100c4d0c], 1
jne 0x10066ab4
xor edx, edx
lea ecx, [edx + 0x2e]
call fcn.10018030
test al, 1
je 0x10066ab4
mov dword [0x100c4d0c], 0
mov dword [0x100b8018], 1
jmp 0x10066abd
cmp dword [0x100b8018], 1
jne 0x10066b0c
cmp dword [0x100c4d0c], 0
jne 0x10066b0c
mov edx, 1
lea ecx, [edx + 0x10]
call fcn.10018030
test eax, eax
je 0x10066b0c
mov edx, 1
lea ecx, [edx + 0x43]
call fcn.10018030
test eax, eax
je 0x10066b0c
xor edx, edx
lea ecx, [edx + 0x30]
call fcn.10018030
test eax, eax
je 0x10066b0c
mov dword [0x100c4d0c], 2
mov dword [0x100b8018], 0
jmp 0x10066b15
cmp dword [0x100b8018], 0
jne 0x10066b62
cmp dword [0x100c4d0c], 2
jne 0x10066b62
mov edx, 1
lea ecx, [edx + 0x10]
call fcn.10018030
test eax, eax
je 0x10066b62
mov edx, 1
lea ecx, [edx + 0x43]
call fcn.10018030
test eax, eax
je 0x10066b62
xor edx, edx
lea ecx, [edx + 0x30]
call fcn.10018030
test eax, eax
je 0x10066b62
mov dword [0x100c4d0c], 0
mov dword [0x100b8018], 1
wait
jmp 0x10066b6e
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.1007fc39
mov esp, ebp
pop ebp
ret