Function at 0x18015dc80
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 [0x180268080]
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 [0x1801f4bb0]
movdqu xmmword [rbp - 0x31], xmm1
xor eax, eax
mov word [rbp - 0x41], ax
cmp qword [rcx + 8], rax
jne 0x18015dfc2
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x41]
mov rdx, r12
mov rcx, rsi
call fcn.18015d120
test al, al
je 0x18015dfc2
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.18015dc10
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 0x18015dd89
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f19
jne 0x18015dd89
mov dword [rsp + 0x28], r14d
lea r8, [rbp - 0x41]
mov rdx, rsi
mov rcx, rdi
call fcn.18015e830
nop
mov ecx, r15d
mov rax, qword [rsp + 0x38]
xchg dword [rax], ecx
cmp qword [rdi + 8], 0
je 0x18015ddad
mov rcx, rdi
call fcn.18015ee10
cmp eax, 0x12e
jne 0x18015dfb8
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.18015dc10
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 0x18015de13
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f19
jne 0x18015de13
mov dword [rsp + 0x28], r15d
lea r8, [rbp - 0x41]
mov rdx, rsi
mov rcx, rdi
call fcn.18015e830
nop
mov ecx, r12d
mov rax, qword [rbp - 0x79]
xchg dword [rax], ecx
xor r15b, r15b
cmp qword [rdi + 8], 0
je 0x18015dfa8
mov rcx, rdi
call fcn.18015ee10
cmp eax, 0x12e
jne 0x18015dfa8
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
movdqa xmm1, xmmword [0x1801f4bb0]
movdqu xmmword [rbp - 0x59], xmm1
mov word [rbp - 0x69], r12w
mov r8d, 8
lea rdx, str.Location
lea rcx, [rbp - 0x69]
call fcn.1800099c0
nop
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x21]
mov rcx, rdi
call fcn.18015e5b0
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 8
jb 0x18015debf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18015deba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18015e03e
call fcn.18017ebfc
movdqa xmm0, xmmword [0x1801f4bb0]
movdqu xmmword [rbp - 0x59], xmm0
mov word [rbp - 0x69], r12w
cmp qword [rbp - 0x11], 0
je 0x18015df52
mov r15b, 1
mov rcx, qword [rdi + 8]
call fcn.180033550
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.18015dc10
mov qword [rdi + 8], rax
mov ecx, r12d
mov rax, qword [rbp - 0x71]
xchg dword [rax], ecx
cmp qword [rdi + 8], 0
jne 0x18015df49
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f19
jne 0x18015df49
mov dword [rsp + 0x28], r14d
lea r8, [rbp - 0x21]
mov rdx, rsi
mov rcx, rdi
call fcn.18015e830
nop
mov ecx, r12d
mov rax, qword [rbp - 0x71]
xchg dword [rax], ecx
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x18015df92
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18015df8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18015e044
call fcn.18017ebfc
mov qword [rbp - 0x11], r12
mov qword [rbp - 9], 7
mov word [rbp - 0x21], r12w
test r15b, r15b
jne 0x18015dfb5
mov rcx, qword [rdi + 8]
call fcn.180033550
mov qword [rdi + 8], r12
xor r15d, r15d
cmp qword [rdi + 8], 0
setne bl
jmp 0x18015dfc7
xor bl, bl
xor r15d, r15d
mov rdx, qword [rbp - 0x29]
cmp rdx, 8
jb 0x18015e003
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18015dffe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18015e038
call fcn.18017ebfc
movdqa xmm0, xmmword [0x1801f4bb0]
movdqu xmmword [rbp - 0x31], xmm0
mov word [rbp - 0x41], r15w
movzx eax, bl
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.18017e6e0
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.18018341c
nop
call fcn.18018341c
nop
call fcn.18018341c
int3