Function at 0x10008030
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x68
test rdx, rdx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x80], rsi
mov rsi, rdx
mov rbx, rcx
je 0x10008270
cmp qword [rcx + 0x20], 0
je 0x10008270
call fcn.1000a000
test al, al
je 0x1000808f
mov rdx, qword [rbx + 0x50]
mov rcx, qword [rbx + 0x1d8]
call qword [sym.imp.USER32.dll_ReleaseDC]
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
mov qword [rbx + 0x1d8], rax
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rbx + 0x50], rax
mov rcx, qword [rbx + 0x20]
mov qword [rsp + 0x78], rbp
xor ebp, ebp
mov dword [rbx + 0x28], ebp
movzx eax, byte [rbx + 8]
mov qword [rsp + 0x88], rdi
mov byte [rcx], al
inc dword [rbx + 0x28]
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r11d, dword [rbx + 0x28]
mov rax, qword [rsp + 0x38]
add r11, qword [rbx + 0x20]
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x18
mov qword [r11], rax
add dword [rbx + 0x28], 8
call qword [sym.imp.USER32.dll_GetCursorInfo]
test eax, eax
je 0x10008127
cmp dword [rsp + 0x44], 1
jne 0x10008127
mov rcx, qword [rsp + 0x48]
mov edi, ebp
mov rdx, rbp
lea rax, [rbx + 0x158]
nop
cmp rcx, qword [rax]
je 0x10008114
inc rdx
inc edi
add rax, 8
cmp rdx, 0x10
jl 0x10008100
call qword [sym.imp.USER32.dll_DestroyCursor]
mov eax, 0xffffffff
cmp edi, 0x10
cmove edi, eax
jmp 0x1000812c
mov edi, 0xffffffff
mov eax, dword [rbx + 0x28]
mov byte [rsp + 0x30], dil
add rax, qword [rbx + 0x20]
mov byte [rax], dil
inc dword [rbx + 0x28]
cmp byte [rbx + 8], 2
jne 0x100081be
mov rcx, qword [rbx + 0x98]
mov r8, qword [rbx + 0x50]
mov rdx, qword [rbx + 0xc0]
mov eax, dword [rcx + 8]
mov r9d, dword [rcx + 4]
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.100079e0
mov r11, qword [rbx + 0x98]
mov r9d, dword [rbx + 0x28]
mov eax, dword [r11 + 0x14]
mov r8, qword [rbx + 0x88]
add r9, qword [rbx + 0x20]
mov rdx, qword [rbx + 0xb0]
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.10007ac0
add eax, dword [rbx + 0x28]
mov dword [rsi], eax
mov rax, qword [rbx + 0x20]
mov rbp, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x70]
add rsp, 0x68
ret
mov eax, dword [rsp + 0x3c]
lea edi, [rax - 0x13]
test edi, edi
cmovs edi, ebp
cmp eax, dword [0x1001b6d4]
je 0x100081e5
mov edx, edi
mov rcx, rbx
call fcn.10007ee0
test al, al
je 0x100081e5
add edi, 0x13
jmp 0x100081e8
mov edi, dword [rbx + 0x38]
cmp edi, dword [rbx + 0x34]
jge 0x10008209
nop
mov edx, edi
mov rcx, rbx
call fcn.10007ee0
test al, al
je 0x10008201
add edi, 0x13
add edi, 0x13
cmp edi, dword [rbx + 0x34]
jl 0x100081f0
mov ecx, dword [rbx + 0x38]
mov eax, dword [rsp + 0x3c]
mov dword [0x1001b6d4], eax
add ecx, 3
mov eax, 0x6bca1af3
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [rbx + 0x28]
imul edx, edx, 0x13
sub ecx, edx
mov dword [rbx + 0x38], ecx
mov dword [rsi], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 0x18]
cmp eax, dword [rbx + 0x1c]
jae 0x1000825e
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 0x18]
cmp eax, dword [rbx + 0x1c]
jb 0x10008245
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xchg dword [rbx + 0x18], eax
mov rax, qword [rbx + 0x20]
jmp 0x1000819f
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x70]
xor eax, eax
add rsp, 0x68
ret