Function at 0x18009ef50
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 - 0x4b8]
sub rsp, 0x5b8
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov rax, qword [0x1804cd010]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
mov r15, r9
mov rdi, r8
mov r14, rdx
mov rsi, rcx
mov r9, r8
mov r8d, 0x348
call fcn.1800a7490
test al, al
je 0x18009efaa
mov al, 1
jmp 0x18009f24c
mov qword [rbp - 0x68], rdi
test rdi, rdi
je 0x18009efbc
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
nop
mov dword [rsp + 0x40], 0xffffffff
xor ebx, ebx
mov qword [rsp + 0x44], rbx
mov r13d, 1
mov word [rsp + 0x4c], r13w
mov byte [r15], r13b
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
movdqu xmmword [rsp + 0x70], xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rsp + 0x58], rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x58]
mov rdx, r14
mov rcx, qword [rsi + 0x200]
call fcn.1802712d0
test al, al
je 0x18009f0b6
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 8]
test eax, eax
je 0x18009f0b6
mov qword [rsp + 0x58], rbx
mov rcx, qword [rsi + 0x1f8]
mov rax, qword [rcx]
lea r9, [rsp + 0x58]
mov r8, qword [rsp + 0x60]
mov edx, r13d
call qword [rax + 0x50]
test al, al
je 0x18009f0a6
mov rax, qword [rdi]
mov rdx, qword [rsp + 0x70]
mov rcx, rdi
call qword [rax + 0xa8]
mov rax, qword [rdi]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, rdi
call qword [rax + 0x160]
mov rax, qword [rdi]
mov r8d, dword [rsp + 0x48]
mov edx, dword [rsp + 0x44]
mov rcx, rdi
call qword [rax + 0xd8]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x18009f09f
mov rax, qword [rcx]
call qword [rax + 8]
mov bl, 1
jmp 0x18009f230
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x18009f0b6
mov rax, qword [rcx]
call qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r12d, eax
mov qword [rsp + 0x50], rbx
mov r10, qword [rsi + 0x1f8]
mov r11, qword [r10]
lea rcx, [rsi + 0x48]
test rsi, rsi
cmove rcx, rbx
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x3480001
lea r9, [rsp + 0x50]
mov r8, r14
mov edx, r13d
mov rcx, r10
call qword [r11 + 0x20]
test al, al
je 0x18009f21d
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18009f21d
mov rax, qword [rcx]
call qword [rax + 0x80]
mov ebx, eax
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rcx]
call qword [rdx + 0x88]
mov r8d, eax
cmp dword [rsp + 0x40], 0x22
je 0x18009f17f
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
xor r8d, r8d
movzx edx, word [rsp + 0x4c]
call qword [rax + 0x128]
test al, al
je 0x18009f176
movzx eax, word [rsp + 0x4c]
sub eax, 5
cmp eax, 3
ja 0x18009f176
mov r8d, dword [rsp + 0x44]
mov ebx, dword [rsp + 0x48]
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x48], r8d
jmp 0x18009f17f
mov r8d, dword [rsp + 0x48]
mov ebx, dword [rsp + 0x44]
mov rax, qword [rdi]
mov edx, ebx
mov rcx, rdi
call qword [rax + 0xd8]
mov rax, qword [rdi]
mov edx, dword [rsp + 0x40]
mov rcx, rdi
call qword [rax + 0x40]
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x88]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x80]
mov rax, qword [rdi]
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, rdi
call qword [rax + 0x160]
lea rcx, [rbp - 0x60]
call fcn.18009f340
nop
mov rax, qword [rdi]
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [rax + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r12d
cmp eax, 0x5dc
jbe 0x18009f210
lea rcx, [rsi + 0x48]
mov rax, qword [rcx]
call qword [rax]
test al, al
jne 0x18009f210
mov byte [r15], al
mov rdx, r14
mov rcx, rsi
call fcn.1800a6e10
mov bl, 1
lea rcx, [rbp - 0x60]
call fcn.18009f720
jmp 0x18009f21f
xor bl, bl
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18009f230
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rsp + 0x60]
call fcn.18009f270
nop
test rdi, rdi
je 0x18009f249
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 8]
movzx eax, bl
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.180388400
add rsp, 0x5b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret