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

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x188], rbx
mov rax, qword [0x1804ca010]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rax, r8
mov rsi, rdx
mov r14, rcx
mov ebx, dword [rbp + 0x98]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
movdqa xmm1, xmmword [0x1803e6740]
movdqu xmmword [rbp + 0x10], xmm1
xor r15d, r15d
mov word [rbp], r15w
movdqu xmmword [rbp - 0x10], xmm0
movdqu xmmword [rbp - 0x10], xmm1
mov word [rbp - 0x20], r15w
mov dword [rsp + 0x50], r15d
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r15w
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
movdqu xmmword [rbp - 0x30], xmm0
movdqu xmmword [rbp - 0x30], xmm1
mov word [rbp - 0x40], r15w
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x50]
lea r8, [rbp - 0x20]
lea rdx, [rbp]
mov rcx, rax
call fcn.18018b340
test al, al
je 0x18019963d
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
lea rdi, [r14 + 0x30]
mov qword [rsp + 0x60], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xchg dword [rdi], eax
cmp qword [rbp - 0x70], r15
jne 0x1801994c2
mov eax, r15d
jmp 0x1801994d0
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rax, qword [rbp - 0x80]
cmp qword [rbp - 0x50], 0
jne 0x1801994dc
mov r9, r15
jmp 0x1801994ea
lea r9, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae r9, qword [rbp - 0x60]
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rdx, qword [rbp - 0x20]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x20], rax
movzx r8d, word [rsp + 0x50]
mov rcx, rsi
call fcn.180198ae0
mov qword [rsp + 0x48], rax
mov ecx, r15d
mov rax, qword [rsp + 0x60]
xchg dword [rax], ecx
mov rsi, qword [rsp + 0x48]
test rsi, rsi
je 0x180199604
lea rax, [0x1803cdb80]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], r15
mov qword [rsp + 0x68], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xchg dword [rdi], eax
lea r8, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae r8, qword [rbp - 0x40]
mov dword [rsp + 0x30], ebx
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea rdx, [0x1803cdba0]
mov rcx, qword [rsp + 0x48]
call fcn.180198b60
mov qword [rsp + 0x40], rax
mov ecx, r15d
mov rax, qword [rsp + 0x68]
xchg dword [rax], ecx
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x1801996a2
mov dword [rsp + 0x78], 0x80
call fcn.18019a670
mov rcx, rax
lea r9, [rsp + 0x78]
mov r8d, 0x1f
mov rdx, rbx
call fcn.18019ad40
test eax, eax
je 0x1801996a2
mov qword [rsp + 0x58], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xchg dword [rdi], eax
call fcn.18019a670
mov rcx, rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
call fcn.18019a980
nop
mov ecx, r15d
test eax, eax
mov rax, qword [rsp + 0x58]
xchg dword [rax], ecx
jne 0x18019967b
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x180199623
call fcn.18019a670
mov rcx, rax
mov rdx, rbx
call fcn.18019a9f0
mov qword [rsp + 0x40], r15
test rsi, rsi
je 0x18019963d
call fcn.18019a670
mov rcx, rax
mov rdx, rsi
call fcn.18019a9f0
mov qword [rsp + 0x48], r15
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x1801996b1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801996ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801996ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rax, qword [rsp + 0x48]
mov qword [r14 + 0x18], rax
mov rsi, r15
mov qword [rsp + 0x48], r15
mov rax, qword [rsp + 0x40]
mov qword [r14 + 8], rax
mov rbx, r15
mov qword [rsp + 0x40], rbx
jmp 0x180199609
mov rsi, qword [rsp + 0x48]
jmp 0x180199609
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x40], r15w
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x180199706
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180199701
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180199701
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x18019975a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180199755
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180199755
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r15w
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x1801997ae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801997a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801997a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], r15w
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x180199803
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801997fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801997fe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], r15w
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.180385c10
mov rbx, qword [rsp + 0x188]
add rsp, 0x140
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret