Function at 0x18019df20
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 [0x1804e0010]
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 [0x1803f7240]
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.18018fe90
test al, al
je 0x18019e1ad
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 0x18019e032
mov eax, r15d
jmp 0x18019e040
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rax, qword [rbp - 0x80]
cmp qword [rbp - 0x50], 0
jne 0x18019e04c
mov r9, r15
jmp 0x18019e05a
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.18019d650
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 0x18019e174
lea rax, [0x1803ddaa8]
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, [0x1803dda50]
mov rcx, qword [rsp + 0x48]
call fcn.18019d6d0
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 0x18019e212
mov dword [rsp + 0x78], 0x80
call fcn.18019f1e0
mov rcx, rax
lea r9, [rsp + 0x78]
mov r8d, 0x1f
mov rdx, rbx
call fcn.18019f8b0
test eax, eax
je 0x18019e212
mov qword [rsp + 0x58], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xchg dword [rdi], eax
call fcn.18019f1e0
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.18019f4f0
nop
mov ecx, r15d
test eax, eax
mov rax, qword [rsp + 0x58]
xchg dword [rax], ecx
jne 0x18019e1eb
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x18019e193
call fcn.18019f1e0
mov rcx, rax
mov rdx, rbx
call fcn.18019f560
mov qword [rsp + 0x40], r15
test rsi, rsi
je 0x18019e1ad
call fcn.18019f1e0
mov rcx, rax
mov rdx, rsi
call fcn.18019f560
mov qword [rsp + 0x48], r15
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x18019e221
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18019e21c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18019e21c
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 0x18019e179
mov rsi, qword [rsp + 0x48]
jmp 0x18019e179
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x40], r15w
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x18019e276
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18019e271
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18019e271
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x18019e2ca
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18019e2c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18019e2c5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r15w
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x18019e31e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18019e319
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18019e319
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], r15w
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x18019e373
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18019e36e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18019e36e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], r15w
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.180393f50
mov rbx, qword [rsp + 0x188]
add rsp, 0x140
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret