Function at 0x180198710
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 [0x1804ca010]
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 [0x1803e6740]
movdqu xmmword [rbp - 0x31], xmm1
xor eax, eax
mov word [rbp - 0x41], ax
cmp qword [rcx + 8], rax
jne 0x180198a58
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x41]
mov rdx, r12
mov rcx, rsi
call fcn.180197b90
test al, al
je 0x180198a58
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.1801986a0
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 0x180198819
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f19
jne 0x180198819
mov dword [rsp + 0x28], r14d
lea r8, [rbp - 0x41]
mov rdx, rsi
mov rcx, rdi
call fcn.1801993b0
nop
mov ecx, r15d
mov rax, qword [rsp + 0x38]
xchg dword [rax], ecx
cmp qword [rdi + 8], 0
je 0x18019883d
mov rcx, rdi
call fcn.180199980
cmp eax, 0x12e
jne 0x180198a4e
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.1801986a0
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 0x1801988a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f19
jne 0x1801988a3
mov dword [rsp + 0x28], r15d
lea r8, [rbp - 0x41]
mov rdx, rsi
mov rcx, rdi
call fcn.1801993b0
nop
mov ecx, r12d
mov rax, qword [rbp - 0x79]
xchg dword [rax], ecx
xor r15b, r15b
cmp qword [rdi + 8], 0
je 0x180198a3e
mov rcx, rdi
call fcn.180199980
cmp eax, 0x12e
jne 0x180198a3e
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
movdqa xmm1, xmmword [0x1803e6740]
movdqu xmmword [rbp - 0x59], xmm1
mov word [rbp - 0x69], r12w
mov r8d, 8
lea rdx, str.Location
lea rcx, [rbp - 0x69]
call fcn.180004e70
nop
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x21]
mov rcx, rdi
call fcn.180199040
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 8
jb 0x180198952
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18019894d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18019894d
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 - 0x59], xmm0
mov word [rbp - 0x69], r12w
cmp qword [rbp - 0x11], 0
je 0x1801989e5
mov r15b, 1
mov rcx, qword [rdi + 8]
call fcn.180197a60
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.1801986a0
mov qword [rdi + 8], rax
mov ecx, r12d
mov rax, qword [rbp - 0x71]
xchg dword [rax], ecx
cmp qword [rdi + 8], 0
jne 0x1801989dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f19
jne 0x1801989dc
mov dword [rsp + 0x28], r14d
lea r8, [rbp - 0x21]
mov rdx, rsi
mov rcx, rdi
call fcn.1801993b0
nop
mov ecx, r12d
mov rax, qword [rbp - 0x71]
xchg dword [rax], ecx
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x180198a28
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180198a23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180198a23
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rbp - 0x11], r12
mov qword [rbp - 9], 7
mov word [rbp - 0x21], r12w
test r15b, r15b
jne 0x180198a4b
mov rcx, qword [rdi + 8]
call fcn.180197a60
mov qword [rdi + 8], r12
xor r15d, r15d
cmp qword [rdi + 8], 0
setne bl
jmp 0x180198a5d
xor bl, bl
xor r15d, r15d
mov rdx, qword [rbp - 0x29]
cmp rdx, 8
jb 0x180198aa0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180198a9b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180198a9b
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 - 0x31], xmm0
mov word [rbp - 0x41], r15w
movzx eax, bl
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.180385c10
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret