Function at 0x18009ee50
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 [0x1804ca010]
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.1800a7390
test al, al
je 0x18009eeaa
mov al, 1
jmp 0x18009f14c
mov qword [rbp - 0x68], rdi
test rdi, rdi
je 0x18009eebc
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.18026eae0
test al, al
je 0x18009efb6
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 8]
test eax, eax
je 0x18009efb6
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 0x18009efa6
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 0x18009ef9f
mov rax, qword [rcx]
call qword [rax + 8]
mov bl, 1
jmp 0x18009f130
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x18009efb6
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 0x18009f11d
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18009f11d
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 0x18009f07f
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 0x18009f076
movzx eax, word [rsp + 0x4c]
sub eax, 5
cmp eax, 3
ja 0x18009f076
mov r8d, dword [rsp + 0x44]
mov ebx, dword [rsp + 0x48]
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x48], r8d
jmp 0x18009f07f
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.18009f240
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 0x18009f110
lea rcx, [rsi + 0x48]
mov rax, qword [rcx]
call qword [rax]
test al, al
jne 0x18009f110
mov byte [r15], al
mov rdx, r14
mov rcx, rsi
call fcn.1800a6d10
mov bl, 1
lea rcx, [rbp - 0x60]
call fcn.18009f620
jmp 0x18009f11f
xor bl, bl
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18009f130
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rsp + 0x60]
call fcn.18009f170
nop
test rdi, rdi
je 0x18009f149
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 8]
movzx eax, bl
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.180385c10
add rsp, 0x5b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret