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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100b5068
push 0x1007f9e8
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 [0x100ba384], eax
ja 0x100667d5
mov eax, dword [0x100bf0b8]
inc eax
mov dword [0x100bf0b8], eax
cmp eax, 0x3d
jne 0x100667b0
mov dword [0x100bf0b8], 0
mov eax, dword [0x100bfb94]
inc eax
mov dword [0x100bfb94], eax
cmp eax, 0x3d
jne 0x100667b0
inc dword [0x100bf058]
mov dword [0x100bfb94], 0
sub dword [0x100b701c], 1
jne 0x100667c9
mov dword [0x100b701c], 0x3c
dec dword [0x100b7a44]
call esi
add eax, 0x3e8
mov dword [0x100ba384], eax
call fcn.1001a000
mov esi, eax
mov ecx, esi
call fcn.10079200
push dword [0x100bf0b8]
push dword [0x100bfb94]
push dword [0x100bf058]
push esi
push 0x100be3f8
call fcn.10008d60
add esp, 0x14
wait
mov dword [ebp - 4], 0
mov ecx, dword [0x100bea90]
mov eax, dword [ecx]
push dword [0x100ba604]
call dword [eax + 4]
mov eax, dword [eax]
mov dword [0x100c01e0], eax
call fcn.1001a9a0
mov dword [0x100bfdc4], eax
mov eax, dword [0x100ba604]
mov ecx, dword [eax + 0x28c]
mov eax, dword [0x100c01e0]
mov edi, dword [eax + ecx]
test edi, edi
je 0x10066bd4
mov eax, dword [edi]
push 0x100bea74
push edi
call dword [eax + 0xc0]
add dword [0x100b7e7c], 2
add dword [0x100b7c70], 3
add dword [0x100b7c58], 4
call fcn.1001a0e0
call fcn.1002d540
cmp dword [0x100b7018], 0
je 0x100668ec
mov byte [ebp - 0x2d], 0
call fcn.10066c10
mov esi, eax
mov ecx, esi
call fcn.1006b5e0
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 0x100bf1f0
call fcn.10008d60
add esp, 0x1c
call fcn.1002cd60
mov byte [ebp - 0x2e], 0
call fcn.10066cf0
mov esi, eax
mov ecx, esi
call fcn.1006b580
mov edx, esi
call fcn.1002d2a0
call fcn.1002d310
call fcn.1002ce70
call fcn.1002cfe0
call fcn.1002d140
mov ecx, dword [0x100bea90]
mov eax, dword [ecx]
call dword [eax + 0xa8]
test eax, eax
je 0x10066bd4
mov ecx, edi
call fcn.10065810
call fcn.10017170
test eax, eax
je 0x1006691a
push edi
call fcn.100662f0
jmp 0x10066941
call fcn.100174d0
test eax, eax
je 0x1006692b
push edi
call fcn.100663c0
jmp 0x10066941
call fcn.10017290
push edi
test eax, eax
je 0x1006693c
call fcn.10066350
jmp 0x10066941
call fcn.10066260
cmp dword [0x100c0944], 0
jne 0x10066a13
push 0xffff0000
mov edx, 0x100bf084
mov ecx, edi
call fcn.10066670
push 0xff00b4ff
mov edx, 0x100be230
mov ecx, edi
call fcn.10066670
push 0xffff7276
mov edx, 0x100bfb98
mov ecx, edi
call fcn.10066670
push 0xffccffff
mov edx, 0x100ba674
mov ecx, edi
call fcn.10066670
push 0xffffff00
mov edx, 0x100bf180
mov ecx, edi
call fcn.10066670
push 0xff00ff00
mov edx, 0x100bfc64
mov ecx, edi
call fcn.10066670
push 0xff0000ff
mov edx, 0x100bf0f0
mov ecx, edi
call fcn.10066670
push 0xff660099
mov edx, 0x100beedc
mov ecx, edi
call fcn.10066670
push 0xffff1493
mov edx, 0x100bdde0
mov ecx, edi
call fcn.10066670
push 0xffff9600
mov edx, 0x100c3d54
mov ecx, edi
call fcn.10066670
push 0xffffffffffffffff
mov edx, 0x100ba6a8
mov ecx, edi
call fcn.10066670
add esp, 0x2c
mov dword [0x100c0944], 1
cmp dword [0x100b7018], 0
je 0x10066a91
cmp dword [0x100c41fc], 0
je 0x10066a91
mov edx, 1
lea ecx, [edx + 0x10]
call fcn.10017a30
test eax, eax
je 0x10066a91
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 [0x100b7c54], eax
mov dword [0x100b87a4], ecx
mov dword [0x100b86f8], eax
mov dword [0x100b8958], ecx
mov dword [0x100b80a8], eax
mov dword [0x100b850c], ecx
mov dword [0x100b80dc], eax
mov dword [0x100b8448], ecx
mov dword [0x100b808c], eax
call fcn.10027d20
call fcn.100174d0
mov ecx, edi
test eax, eax
je 0x10066aa8
call fcn.1002cc80
jmp 0x10066aad
call fcn.1002c860
cmp dword [0x100bfbf8], 0
jne 0x10066bd4
cmp dword [0x100b7018], 1
jne 0x10066af0
cmp dword [0x100c3690], 0
jne 0x10066af0
xor edx, edx
lea ecx, [edx + 0x2e]
call fcn.10017a30
test al, 1
je 0x10066af0
mov dword [0x100c3690], 1
mov dword [0x100b7018], 0
jmp 0x10066af9
cmp dword [0x100b7018], 0
jne 0x10066b26
cmp dword [0x100c3690], 1
jne 0x10066b26
xor edx, edx
lea ecx, [edx + 0x2e]
call fcn.10017a30
test al, 1
je 0x10066b26
mov dword [0x100c3690], 0
mov dword [0x100b7018], 1
jmp 0x10066b2f
cmp dword [0x100b7018], 1
jne 0x10066b7e
cmp dword [0x100c3690], 0
jne 0x10066b7e
mov edx, 1
lea ecx, [edx + 0x10]
call fcn.10017a30
test eax, eax
je 0x10066b7e
mov edx, 1
lea ecx, [edx + 0x43]
call fcn.10017a30
test eax, eax
je 0x10066b7e
xor edx, edx
lea ecx, [edx + 0x30]
call fcn.10017a30
test eax, eax
je 0x10066b7e
mov dword [0x100c3690], 2
mov dword [0x100b7018], 0
jmp 0x10066b87
cmp dword [0x100b7018], 0
jne 0x10066bd4
cmp dword [0x100c3690], 2
jne 0x10066bd4
mov edx, 1
lea ecx, [edx + 0x10]
call fcn.10017a30
test eax, eax
je 0x10066bd4
mov edx, 1
lea ecx, [edx + 0x43]
call fcn.10017a30
test eax, eax
je 0x10066bd4
xor edx, edx
lea ecx, [edx + 0x30]
call fcn.10017a30
test eax, eax
je 0x10066bd4
mov dword [0x100c3690], 0
mov dword [0x100b7018], 1
wait
jmp 0x10066be0
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.1007f759
mov esp, ebp
pop ebp
ret