Function at 0x180199970
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 [0x1804cd010]
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 [0x1803e8770]
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.18018b900
test al, al
je 0x180199bfd
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 0x180199a82
mov eax, r15d
jmp 0x180199a90
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rax, qword [rbp - 0x80]
cmp qword [rbp - 0x50], 0
jne 0x180199a9c
mov r9, r15
jmp 0x180199aaa
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.1801990a0
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 0x180199bc4
lea rax, [0x1803cfba0]
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, [0x1803cfbc0]
mov rcx, qword [rsp + 0x48]
call fcn.180199120
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 0x180199c62
mov dword [rsp + 0x78], 0x80
call fcn.18019ac30
mov rcx, rax
lea r9, [rsp + 0x78]
mov r8d, 0x1f
mov rdx, rbx
call fcn.18019b300
test eax, eax
je 0x180199c62
mov qword [rsp + 0x58], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xchg dword [rdi], eax
call fcn.18019ac30
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.18019af40
nop
mov ecx, r15d
test eax, eax
mov rax, qword [rsp + 0x58]
xchg dword [rax], ecx
jne 0x180199c3b
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x180199be3
call fcn.18019ac30
mov rcx, rax
mov rdx, rbx
call fcn.18019afb0
mov qword [rsp + 0x40], r15
test rsi, rsi
je 0x180199bfd
call fcn.18019ac30
mov rcx, rax
mov rdx, rsi
call fcn.18019afb0
mov qword [rsp + 0x48], r15
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x180199c71
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180199c6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180199c6c
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 0x180199bc9
mov rsi, qword [rsp + 0x48]
jmp 0x180199bc9
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x40], r15w
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x180199cc6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180199cc1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180199cc1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x180199d1a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180199d15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180199d15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r15w
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x180199d6e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180199d69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180199d69
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], r15w
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x180199dc3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180199dbe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180199dbe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], r15w
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.180388400
mov rbx, qword [rsp + 0x188]
add rsp, 0x140
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret