Function at 0x18011c0c0
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 [0x1802240e0]
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 [0x1801c14e0]
movdqu xmmword [rbp - 0x31], xmm1
xor eax, eax
mov word [rbp - 0x41], ax
cmp qword [rcx + 8], rax
jne 0x18011c408
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x41]
mov rdx, r12
mov rcx, rsi
call fcn.18011b560
test al, al
je 0x18011c408
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.18011c050
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 0x18011c1c9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f19
jne 0x18011c1c9
mov dword [rsp + 0x28], r14d
lea r8, [rbp - 0x41]
mov rdx, rsi
mov rcx, rdi
call fcn.18011cd60
nop
mov ecx, r15d
mov rax, qword [rsp + 0x38]
xchg dword [rax], ecx
cmp qword [rdi + 8], 0
je 0x18011c1ed
mov rcx, rdi
call fcn.18011d330
cmp eax, 0x12e
jne 0x18011c3fe
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.18011c050
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 0x18011c253
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f19
jne 0x18011c253
mov dword [rsp + 0x28], r15d
lea r8, [rbp - 0x41]
mov rdx, rsi
mov rcx, rdi
call fcn.18011cd60
nop
mov ecx, r12d
mov rax, qword [rbp - 0x79]
xchg dword [rax], ecx
xor r15b, r15b
cmp qword [rdi + 8], 0
je 0x18011c3ee
mov rcx, rdi
call fcn.18011d330
cmp eax, 0x12e
jne 0x18011c3ee
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
movdqa xmm1, xmmword [0x1801c14e0]
movdqu xmmword [rbp - 0x59], xmm1
mov word [rbp - 0x69], r12w
mov r8d, 8
lea rdx, str.Location
lea rcx, [rbp - 0x69]
call fcn.1800055c0
nop
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x21]
mov rcx, rdi
call fcn.18011c9f0
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 8
jb 0x18011c302
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18011c2fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18011c2fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18017df04
movdqa xmm0, xmmword [0x1801c14e0]
movdqu xmmword [rbp - 0x59], xmm0
mov word [rbp - 0x69], r12w
cmp qword [rbp - 0x11], 0
je 0x18011c395
mov r15b, 1
mov rcx, qword [rdi + 8]
call fcn.18006f850
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.18011c050
mov qword [rdi + 8], rax
mov ecx, r12d
mov rax, qword [rbp - 0x71]
xchg dword [rax], ecx
cmp qword [rdi + 8], 0
jne 0x18011c38c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f19
jne 0x18011c38c
mov dword [rsp + 0x28], r14d
lea r8, [rbp - 0x21]
mov rdx, rsi
mov rcx, rdi
call fcn.18011cd60
nop
mov ecx, r12d
mov rax, qword [rbp - 0x71]
xchg dword [rax], ecx
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x18011c3d8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18011c3d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18011c3d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18017df04
mov qword [rbp - 0x11], r12
mov qword [rbp - 9], 7
mov word [rbp - 0x21], r12w
test r15b, r15b
jne 0x18011c3fb
mov rcx, qword [rdi + 8]
call fcn.18006f850
mov qword [rdi + 8], r12
xor r15d, r15d
cmp qword [rdi + 8], 0
setne bl
jmp 0x18011c40d
xor bl, bl
xor r15d, r15d
mov rdx, qword [rbp - 0x29]
cmp rdx, 8
jb 0x18011c450
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18011c44b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18011c44b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18017df04
movdqa xmm0, xmmword [0x1801c14e0]
movdqu xmmword [rbp - 0x31], xmm0
mov word [rbp - 0x41], r15w
movzx eax, bl
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.18017dee0
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret