Function at 0x100659d0
Capabilities:
Check for time delay via gettickcount
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100b16f0
push 0x1007e288
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100b400c]
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 [0x100bfbfc], eax
ja 0x10065a75
mov eax, dword [0x100bbd74]
inc eax
mov dword [0x100bbd74], eax
cmp eax, 0x3d
jne 0x10065a50
mov dword [0x100bbd74], 0
mov eax, dword [0x100bc7f4]
inc eax
mov dword [0x100bc7f4], eax
cmp eax, 0x3d
jne 0x10065a50
inc dword [0x100bbd10]
mov dword [0x100bc7f4], 0
sub dword [0x100b4018], 1
jne 0x10065a69
mov dword [0x100b4018], 0x3c
dec dword [0x100b4028]
call esi
add eax, 0x3e8
mov dword [0x100bfbfc], eax
call fcn.100191f0
mov esi, eax
mov ecx, esi
call fcn.10077e30
push dword [0x100bbd74]
push dword [0x100bc7f4]
push dword [0x100bbd10]
push esi
push 0x100bb0b0
call fcn.10008c40
add esp, 0x14
wait
mov dword [ebp - 4], 0
mov ecx, dword [0x100bb74c]
mov eax, dword [ecx]
push dword [0x100b72b8]
call dword [eax + 4]
mov eax, dword [eax]
mov dword [0x100bce9c], eax
call fcn.10019c60
mov dword [0x100bca84], eax
mov eax, dword [0x100b72b8]
mov ecx, dword [eax + 0x264]
mov eax, dword [0x100bce9c]
mov edi, dword [eax + ecx]
test edi, edi
je 0x10065ef2
mov eax, dword [edi]
push 0x100bb730
push edi
call dword [eax + 0xc0]
add dword [0x100b4464], 2
add dword [0x100b4050], 3
add dword [0x100b4038], 4
call fcn.100192d0
call fcn.1002cb50
cmp dword [0x100b4470], 0
je 0x10065b8c
mov byte [ebp - 0x2d], 0
call fcn.10065f30
mov esi, eax
mov ecx, esi
call fcn.1006a030
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 0x100bbeb8
call fcn.10008c40
add esp, 0x1c
call fcn.1002c380
mov byte [ebp - 0x2e], 0
call fcn.10066010
mov esi, eax
mov ecx, esi
call fcn.10069fd0
mov edx, esi
call fcn.1002c8b0
call fcn.1002c920
call fcn.1002c490
call fcn.1002c5f0
call fcn.1002c750
mov ecx, dword [0x100bb74c]
mov eax, dword [ecx]
call dword [eax + 0xa8]
test eax, eax
je 0x10065ef2
mov ecx, edi
call fcn.10064ac0
call fcn.10016960
test eax, eax
je 0x10065bba
push edi
call fcn.100655a0
jmp 0x10065be1
call fcn.10016cc0
test eax, eax
je 0x10065bcb
push edi
call fcn.10065660
jmp 0x10065be1
call fcn.10016a80
push edi
test eax, eax
je 0x10065bdc
call fcn.10065600
jmp 0x10065be1
call fcn.10065510
cmp dword [0x100bd600], 0
jne 0x10065cb3
push 0xffff0000
mov edx, 0x100bbd3c
mov ecx, edi
call fcn.10065910
push 0xff00b4ff
mov edx, 0x100baee8
mov ecx, edi
call fcn.10065910
push 0xffff7276
mov edx, 0x100bc85c
mov ecx, edi
call fcn.10065910
push 0xffccffff
mov edx, 0x100b72c4
mov ecx, edi
call fcn.10065910
push 0xffffff00
mov edx, 0x100bbe40
mov ecx, edi
call fcn.10065910
push 0xff00ff00
mov edx, 0x100bc924
mov ecx, edi
call fcn.10065910
push 0xff0000ff
mov edx, 0x100bbdb0
mov ecx, edi
call fcn.10065910
push 0xff660099
mov edx, 0x100bbb98
mov ecx, edi
call fcn.10065910
push 0xffff1493
mov edx, 0x100baa94
mov ecx, edi
call fcn.10065910
push 0xffff9600
mov edx, 0x100bf604
mov ecx, edi
call fcn.10065910
push 0xffffffffffffffff
mov edx, 0x100b735c
mov ecx, edi
call fcn.10065910
add esp, 0x2c
mov dword [0x100bd600], 1
cmp dword [0x100b4470], 0
je 0x10065d31
cmp dword [0x100bfaac], 0
je 0x10065d31
mov edx, 1
lea ecx, [edx + 0x10]
call fcn.10017220
test eax, eax
je 0x10065d31
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 [0x100b401c], ecx
mov eax, dword [ebp - 0x20]
add eax, 2
mov dword [0x100b4034], eax
mov dword [0x100b57bc], ecx
mov dword [0x100b5710], eax
mov dword [0x100b5970], ecx
mov dword [0x100b50c0], eax
mov dword [0x100b5524], ecx
mov dword [0x100b50f4], eax
mov dword [0x100b5460], ecx
mov dword [0x100b50a4], eax
call fcn.10026750
call fcn.10016cc0
mov ecx, edi
test eax, eax
je 0x10065d48
call fcn.1002c2b0
jmp 0x10065d4d
call fcn.1002bea0
cmp dword [0x100baeb0], 0
je 0x10065dcb
push str.cb.cbm
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor edx, edx
lea ecx, [edx + 0x70]
call fcn.10017220
test eax, eax
je 0x10065d96
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_SuspendThread]
mov dword [ebp - 0x34], esi
mov eax, dword [0x100bfea4]
mov ecx, dword [0x100bfea0]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x10065d96
push dword [ecx + esi*4]
call edi
inc esi
jmp 0x10065d77
xor edx, edx
lea ecx, [edx + 0x71]
call fcn.10017220
test eax, eax
je 0x10065dcb
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp - 0x38], esi
mov eax, dword [0x100bfea4]
mov ecx, dword [0x100bfea0]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x10065dcb
push dword [ecx + esi*4]
call edi
inc esi
jmp 0x10065dac
cmp dword [0x100bc8b8], 0
jne 0x10065ef2
cmp dword [0x100b4470], 1
jne 0x10065e0e
cmp dword [0x100bef4c], 0
jne 0x10065e0e
xor edx, edx
lea ecx, [edx + 0x2e]
call fcn.10017220
test al, 1
je 0x10065e0e
mov dword [0x100bef4c], 1
mov dword [0x100b4470], 0
jmp 0x10065e17
cmp dword [0x100b4470], 0
jne 0x10065e44
cmp dword [0x100bef4c], 1
jne 0x10065e44
xor edx, edx
lea ecx, [edx + 0x2e]
call fcn.10017220
test al, 1
je 0x10065e44
mov dword [0x100bef4c], 0
mov dword [0x100b4470], 1
jmp 0x10065e4d
cmp dword [0x100b4470], 1
jne 0x10065e9c
cmp dword [0x100bef4c], 0
jne 0x10065e9c
mov edx, 1
lea ecx, [edx + 0x10]
call fcn.10017220
test eax, eax
je 0x10065e9c
mov edx, 1
lea ecx, [edx + 0x43]
call fcn.10017220
test eax, eax
je 0x10065e9c
xor edx, edx
lea ecx, [edx + 0x30]
call fcn.10017220
test eax, eax
je 0x10065e9c
mov dword [0x100bef4c], 2
mov dword [0x100b4470], 0
jmp 0x10065ea5
cmp dword [0x100b4470], 0
jne 0x10065ef2
cmp dword [0x100bef4c], 2
jne 0x10065ef2
mov edx, 1
lea ecx, [edx + 0x10]
call fcn.10017220
test eax, eax
je 0x10065ef2
mov edx, 1
lea ecx, [edx + 0x43]
call fcn.10017220
test eax, eax
je 0x10065ef2
xor edx, edx
lea ecx, [edx + 0x30]
call fcn.10017220
test eax, eax
je 0x10065ef2
mov dword [0x100bef4c], 0
mov dword [0x100b4470], 1
wait
jmp 0x10065efe
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.1007dff9
mov esp, ebp
pop ebp
ret