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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0xc8
mov qword [rbp - 0x49], 0xfffffffffffffffe
mov rax, qword [0x1804cd010]
xor rax, rsp
mov qword [rbp - 1], rax
mov r13, r9
mov r12, r8
mov rsi, rdx
mov rdi, rcx
mov r15d, dword [rbp + 0x77]
mov dword [rsp + 0x34], r15d
mov r14d, 0x80400000
mov byte [rsp + 0x30], 0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
movdqa xmm1, xmmword [0x1803e8770]
movdqu xmmword [rbp - 0x31], xmm1
xor eax, eax
mov word [rbp - 0x41], ax
cmp qword [rcx + 8], rax
jne 0x180199018
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x41]
mov rdx, r12
mov rcx, rsi
call fcn.180198150
test al, al
je 0x180199018
mov eax, 0x80c0f000
cmp byte [rsp + 0x30], 0
cmovne r14d, eax
lea rbx, [rdi + 0x30]
mov qword [rsp + 0x38], rbx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xchg dword [rbx], eax
lea rdx, [rbp - 0x41]
cmp qword [rbp - 0x29], 8
cmovae rdx, qword [rbp - 0x41]
mov dword [rsp + 0x20], r14d
mov r9d, r15d
mov r8, r13
mov rcx, rsi
call fcn.180198c60
mov qword [rdi + 8], rax
xor r15d, r15d
mov ecx, r15d
mov rax, qword [rsp + 0x38]
xchg dword [rax], ecx
cmp qword [rdi + 8], r15
jne 0x180198dd9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f19
jne 0x180198dd9
mov dword [rsp + 0x28], r14d
lea r8, [rbp - 0x41]
mov rdx, rsi
mov rcx, rdi
call fcn.180199970
nop
mov ecx, r15d
mov rax, qword [rsp + 0x38]
xchg dword [rax], ecx
cmp qword [rdi + 8], 0
je 0x180198dfd
mov rcx, rdi
call fcn.180199f40
cmp eax, 0x12e
jne 0x18019900e
mov qword [rbp - 0x79], rbx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xchg dword [rbx], eax
mov r15d, r14d
or r15d, 0x80200000
mov dword [rsp + 0x20], r15d
mov r9d, dword [rsp + 0x34]
mov r8, r13
mov rdx, r12
mov rcx, rsi
call fcn.180198c60
mov qword [rdi + 8], rax
xor r12d, r12d
mov ecx, r12d
mov rax, qword [rbp - 0x79]
xchg dword [rax], ecx
cmp qword [rdi + 8], r12
jne 0x180198e63
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f19
jne 0x180198e63
mov dword [rsp + 0x28], r15d
lea r8, [rbp - 0x41]
mov rdx, rsi
mov rcx, rdi
call fcn.180199970
nop
mov ecx, r12d
mov rax, qword [rbp - 0x79]
xchg dword [rax], ecx
xor r15b, r15b
cmp qword [rdi + 8], 0
je 0x180198ffe
mov rcx, rdi
call fcn.180199f40
cmp eax, 0x12e
jne 0x180198ffe
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
movdqa xmm1, xmmword [0x1803e8770]
movdqu xmmword [rbp - 0x59], xmm1
mov word [rbp - 0x69], r12w
mov r8d, 8
lea rdx, str.Location
lea rcx, [rbp - 0x69]
call fcn.180004ea0
nop
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x21]
mov rcx, rdi
call fcn.180199600
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 8
jb 0x180198f12
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180198f0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180198f0d
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 - 0x59], xmm0
mov word [rbp - 0x69], r12w
cmp qword [rbp - 0x11], 0
je 0x180198fa5
mov r15b, 1
mov rcx, qword [rdi + 8]
call fcn.180198020
mov qword [rbp - 0x71], rbx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xchg dword [rbx], eax
lea rdx, [rbp - 0x21]
cmp qword [rbp - 9], 8
cmovae rdx, qword [rbp - 0x21]
mov dword [rsp + 0x20], r14d
mov r9d, dword [rsp + 0x34]
mov r8, r13
mov rcx, rsi
call fcn.180198c60
mov qword [rdi + 8], rax
mov ecx, r12d
mov rax, qword [rbp - 0x71]
xchg dword [rax], ecx
cmp qword [rdi + 8], 0
jne 0x180198f9c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f19
jne 0x180198f9c
mov dword [rsp + 0x28], r14d
lea r8, [rbp - 0x21]
mov rdx, rsi
mov rcx, rdi
call fcn.180199970
nop
mov ecx, r12d
mov rax, qword [rbp - 0x71]
xchg dword [rax], ecx
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x180198fe8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180198fe3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180198fe3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
mov qword [rbp - 0x11], r12
mov qword [rbp - 9], 7
mov word [rbp - 0x21], r12w
test r15b, r15b
jne 0x18019900b
mov rcx, qword [rdi + 8]
call fcn.180198020
mov qword [rdi + 8], r12
xor r15d, r15d
cmp qword [rdi + 8], 0
setne bl
jmp 0x18019901d
xor bl, bl
xor r15d, r15d
mov rdx, qword [rbp - 0x29]
cmp rdx, 8
jb 0x180199060
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18019905b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18019905b
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 - 0x31], xmm0
mov word [rbp - 0x41], r15w
movzx eax, bl
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.180388400
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret