Function at 0x18009f200
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 - 0x4c8]
sub rsp, 0x5c8
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov rax, qword [0x1804cc010]
xor rax, rsp
mov qword [rbp + 0x4b0], rax
mov r15, r9
mov rbx, r8
mov r14, rdx
mov rdi, rcx
mov rsi, qword [rbp + 0x530]
mov r9, r8
mov r8d, 0xa0
call fcn.1800a6d50
test al, al
je 0x18009f261
mov al, 1
jmp 0x18009f7dc
mov byte [r15], 0
mov byte [rsi], 1
mov qword [rbp - 0x58], rbx
test rbx, rbx
je 0x18009f27a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
nop
xor r13d, r13d
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x40], 0xffffffff
mov qword [rsp + 0x44], r13
mov esi, 1
mov word [rsp + 0x4c], si
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
movdqu xmmword [rbp - 0x80], xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rsp + 0x58], r13
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x58]
mov rdx, r14
mov rcx, qword [rdi + 0x200]
call fcn.18026f7c0
test al, al
je 0x18009f483
mov rax, qword [rbx]
mov rdx, qword [rsp + 0x58]
mov rcx, rbx
call qword [rax + 0x130]
mov rax, qword [rbx]
mov rdx, qword [rbp - 0x80]
mov rcx, rbx
call qword [rax + 0xa8]
mov rax, qword [rbx]
mov edx, dword [rsp + 0x40]
mov rcx, rbx
call qword [rax + 0x40]
mov rax, qword [rbx]
mov r8d, dword [rsp + 0x48]
mov edx, dword [rsp + 0x44]
mov rcx, rbx
call qword [rax + 0xd8]
mov qword [rsp + 0x68], r13
mov rcx, qword [rdi + 0x1f8]
mov rax, qword [rcx]
lea r9, [rsp + 0x68]
mov r8, qword [rbp - 0x70]
lea edx, [rsi + 3]
call qword [rax + 0x50]
test al, al
je 0x18009f37c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x118]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
xor r8d, r8d
movzx edx, word [rsp + 0x4c]
call qword [rax + 0x128]
mov rax, qword [rbx]
mov r8d, esi
mov rdx, qword [rsp + 0x68]
mov rcx, rbx
call qword [rax + 0x160]
jmp 0x18009f438
mov qword [rsp + 0x50], r13
mov rcx, qword [rdi + 0x1f8]
mov rax, qword [rcx]
lea r9, [rsp + 0x50]
mov r8, qword [rsp + 0x70]
mov edx, esi
call qword [rax + 0x50]
test al, al
je 0x18009f462
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x118]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
xor r8d, r8d
movzx edx, word [rsp + 0x4c]
call qword [rax + 0x128]
mov qword [rsp + 0x58], r13
mov rcx, qword [rdi + 0x1f8]
mov rax, qword [rcx]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 1
mov dword [rsp + 0x20], 0xa0
mov r9d, 0xa0
mov r8, qword [rsp + 0x50]
lea rdx, [rsp + 0x58]
call qword [rax + 0x28]
test al, al
je 0x18009f451
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x18009f451
mov rax, qword [rbx]
mov r8d, esi
mov rcx, rbx
call qword [rax + 0x160]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x18009f427
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18009f438
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x18009f7ab
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x18009f7ab
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x18009f462
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18009f473
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x18009f483
mov rax, qword [rcx]
call qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r12d, eax
lea rsi, [rdi + 0x48]
test rdi, rdi
cmove rsi, r13
mov rcx, qword [rdi + 0x1f8]
mov r10, qword [rcx]
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xa00004
lea r9, [rsp + 0x60]
mov r8, r14
mov edx, 2
call qword [r10 + 0x20]
mov rcx, qword [rsp + 0x60]
test al, al
je 0x18009f566
test rcx, rcx
je 0x18009f76c
mov rax, qword [rcx]
call qword [rax + 0x80]
mov esi, eax
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rcx]
call qword [rdx + 0x88]
mov r8d, eax
cmp dword [rsp + 0x40], 0x22
je 0x18009f546
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
xor r8d, r8d
movzx edx, word [rsp + 0x4c]
call qword [rax + 0x128]
test al, al
je 0x18009f53d
movzx eax, word [rsp + 0x4c]
sub eax, 5
cmp eax, 3
ja 0x18009f53d
mov r8d, dword [rsp + 0x44]
mov esi, dword [rsp + 0x48]
mov dword [rsp + 0x44], esi
mov dword [rsp + 0x48], r8d
jmp 0x18009f546
mov r8d, dword [rsp + 0x48]
mov esi, dword [rsp + 0x44]
mov rax, qword [rbx]
mov edx, esi
mov rcx, rbx
call qword [rax + 0xd8]
mov rax, qword [rbx]
mov edx, dword [rsp + 0x40]
mov rcx, rbx
call qword [rax + 0x40]
jmp 0x18009f762
test rcx, rcx
je 0x18009f576
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x50], r13
mov rcx, qword [rdi + 0x1f8]
mov rax, qword [rcx]
mov qword [rsp + 0x30], rsi
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0xa00001
lea r9, [rsp + 0x50]
mov r8, r14
mov edx, 1
call qword [rax + 0x20]
test al, al
jne 0x18009f5b8
xor dil, dil
jmp 0x18009f6b5
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18009f752
mov rax, qword [rcx]
xor r8d, r8d
movzx edx, word [rsp + 0x4c]
call qword [rax + 0x128]
test al, al
je 0x18009f5fc
movzx eax, word [rsp + 0x4c]
sub eax, 5
cmp eax, 3
ja 0x18009f5fc
mov r8d, dword [rsp + 0x44]
mov edx, dword [rsp + 0x48]
mov dword [rsp + 0x44], edx
mov dword [rsp + 0x48], r8d
jmp 0x18009f605
mov r8d, dword [rsp + 0x48]
mov edx, dword [rsp + 0x44]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0xd8]
mov rax, qword [rbx]
mov edx, dword [rsp + 0x40]
mov rcx, rbx
call qword [rax + 0x40]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x80]
cmp eax, dword [rsp + 0x44]
jne 0x18009f6ce
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, dword [rsp + 0x48]
jne 0x18009f6ce
mov byte [r15], 1
mov rax, qword [rbx]
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call qword [rax + 0x160]
lea rcx, [rbp - 0x50]
call fcn.18009ec00
nop
mov rax, qword [rbx]
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [rax + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r12d
cmp eax, 0xc8
jbe 0x18009f6a8
lea rcx, [rdi + 0x48]
mov rax, qword [rcx]
call qword [rax]
test al, al
jne 0x18009f6a8
mov rdx, r14
mov rcx, rdi
call fcn.1800a66d0
mov dil, 1
lea rcx, [rbp - 0x50]
call fcn.18009efe0
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18009f7ae
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x18009f7ae
mov qword [rsp + 0x58], r13
mov rcx, qword [rdi + 0x1f8]
mov rax, qword [rcx]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 1
mov dword [rsp + 0x20], 0xa0
mov r9d, 0xa0
mov r8, qword [rsp + 0x50]
lea rdx, [rsp + 0x58]
call qword [rax + 0x28]
test al, al
je 0x18009f741
mov rsi, qword [rsp + 0x58]
test rsi, rsi
je 0x18009f741
mov qword [rsp + 0x58], r13
mov rcx, qword [rsp + 0x60]
cmp rcx, rsi
je 0x18009f741
test rsi, rsi
je 0x18009f731
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x18009f73c
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rsp + 0x60], rsi
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x18009f752
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18009f762
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jne 0x18009f771
xor dil, dil
jmp 0x18009f7ae
mov rax, qword [rbx]
mov r8d, 1
mov rcx, rbx
call qword [rax + 0x160]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r12d
cmp eax, 0xc8
jbe 0x18009f7ab
lea rcx, [rdi + 0x48]
mov rax, qword [rcx]
call qword [rax]
test al, al
jne 0x18009f7ab
mov rdx, r14
mov rcx, rdi
call fcn.1800a66d0
mov dil, 1
lea rcx, [rsp + 0x70]
call fcn.18009eb30
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x18009f7ca
mov rdx, qword [rcx]
call qword [rdx + 8]
nop
test rbx, rbx
je 0x18009f7d8
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 8]
movzx eax, dil
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.1803868f0
add rsp, 0x5c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret