Function at 0x180198620
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 [0x1804cc010]
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 [0x1803e7600]
movdqu xmmword [rbp - 0x31], xmm1
xor eax, eax
mov word [rbp - 0x41], ax
cmp qword [rcx + 8], rax
jne 0x180198968
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x41]
mov rdx, r12
mov rcx, rsi
call fcn.180197aa0
test al, al
je 0x180198968
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.1801985b0
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 0x180198729
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f19
jne 0x180198729
mov dword [rsp + 0x28], r14d
lea r8, [rbp - 0x41]
mov rdx, rsi
mov rcx, rdi
call fcn.1801992c0
nop
mov ecx, r15d
mov rax, qword [rsp + 0x38]
xchg dword [rax], ecx
cmp qword [rdi + 8], 0
je 0x18019874d
mov rcx, rdi
call fcn.180199890
cmp eax, 0x12e
jne 0x18019895e
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.1801985b0
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 0x1801987b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f19
jne 0x1801987b3
mov dword [rsp + 0x28], r15d
lea r8, [rbp - 0x41]
mov rdx, rsi
mov rcx, rdi
call fcn.1801992c0
nop
mov ecx, r12d
mov rax, qword [rbp - 0x79]
xchg dword [rax], ecx
xor r15b, r15b
cmp qword [rdi + 8], 0
je 0x18019894e
mov rcx, rdi
call fcn.180199890
cmp eax, 0x12e
jne 0x18019894e
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
movdqa xmm1, xmmword [0x1803e7600]
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.180198f50
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 8
jb 0x180198862
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18019885d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18019885d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rbp - 0x59], xmm0
mov word [rbp - 0x69], r12w
cmp qword [rbp - 0x11], 0
je 0x1801988f5
mov r15b, 1
mov rcx, qword [rdi + 8]
call fcn.180197970
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.1801985b0
mov qword [rdi + 8], rax
mov ecx, r12d
mov rax, qword [rbp - 0x71]
xchg dword [rax], ecx
cmp qword [rdi + 8], 0
jne 0x1801988ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f19
jne 0x1801988ec
mov dword [rsp + 0x28], r14d
lea r8, [rbp - 0x21]
mov rdx, rsi
mov rcx, rdi
call fcn.1801992c0
nop
mov ecx, r12d
mov rax, qword [rbp - 0x71]
xchg dword [rax], ecx
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x180198938
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180198933
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180198933
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
mov qword [rbp - 0x11], r12
mov qword [rbp - 9], 7
mov word [rbp - 0x21], r12w
test r15b, r15b
jne 0x18019895b
mov rcx, qword [rdi + 8]
call fcn.180197970
mov qword [rdi + 8], r12
xor r15d, r15d
cmp qword [rdi + 8], 0
setne bl
jmp 0x18019896d
xor bl, bl
xor r15d, r15d
mov rdx, qword [rbp - 0x29]
cmp rdx, 8
jb 0x1801989b0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801989ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801989ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rbp - 0x31], xmm0
mov word [rbp - 0x41], r15w
movzx eax, bl
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1803868f0
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret