Function at 0x18009f940
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 [0x1804cd010]
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.1800a7490
test al, al
je 0x18009f9a1
mov al, 1
jmp 0x18009ff1c
mov byte [r15], 0
mov byte [rsi], 1
mov qword [rbp - 0x58], rbx
test rbx, rbx
je 0x18009f9ba
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.1802712d0
test al, al
je 0x18009fbc3
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 0x18009fabc
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 0x18009fb78
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 0x18009fba2
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 0x18009fb91
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x18009fb91
mov rax, qword [rbx]
mov r8d, esi
mov rcx, rbx
call qword [rax + 0x160]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x18009fb67
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18009fb78
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x18009feeb
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x18009feeb
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x18009fba2
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18009fbb3
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x18009fbc3
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 0x18009fca6
test rcx, rcx
je 0x18009feac
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 0x18009fc86
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 0x18009fc7d
movzx eax, word [rsp + 0x4c]
sub eax, 5
cmp eax, 3
ja 0x18009fc7d
mov r8d, dword [rsp + 0x44]
mov esi, dword [rsp + 0x48]
mov dword [rsp + 0x44], esi
mov dword [rsp + 0x48], r8d
jmp 0x18009fc86
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 0x18009fea2
test rcx, rcx
je 0x18009fcb6
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 0x18009fcf8
xor dil, dil
jmp 0x18009fdf5
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18009fe92
mov rax, qword [rcx]
xor r8d, r8d
movzx edx, word [rsp + 0x4c]
call qword [rax + 0x128]
test al, al
je 0x18009fd3c
movzx eax, word [rsp + 0x4c]
sub eax, 5
cmp eax, 3
ja 0x18009fd3c
mov r8d, dword [rsp + 0x44]
mov edx, dword [rsp + 0x48]
mov dword [rsp + 0x44], edx
mov dword [rsp + 0x48], r8d
jmp 0x18009fd45
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 0x18009fe0e
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, dword [rsp + 0x48]
jne 0x18009fe0e
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.18009f340
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 0x18009fde8
lea rcx, [rdi + 0x48]
mov rax, qword [rcx]
call qword [rax]
test al, al
jne 0x18009fde8
mov rdx, r14
mov rcx, rdi
call fcn.1800a6e10
mov dil, 1
lea rcx, [rbp - 0x50]
call fcn.18009f720
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18009feee
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x18009feee
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 0x18009fe81
mov rsi, qword [rsp + 0x58]
test rsi, rsi
je 0x18009fe81
mov qword [rsp + 0x58], r13
mov rcx, qword [rsp + 0x60]
cmp rcx, rsi
je 0x18009fe81
test rsi, rsi
je 0x18009fe71
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x18009fe7c
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rsp + 0x60], rsi
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x18009fe92
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18009fea2
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jne 0x18009feb1
xor dil, dil
jmp 0x18009feee
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 0x18009feeb
lea rcx, [rdi + 0x48]
mov rax, qword [rcx]
call qword [rax]
test al, al
jne 0x18009feeb
mov rdx, r14
mov rcx, rdi
call fcn.1800a6e10
mov dil, 1
lea rcx, [rsp + 0x70]
call fcn.18009f270
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x18009ff0a
mov rdx, qword [rcx]
call qword [rdx + 8]
nop
test rbx, rbx
je 0x18009ff18
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 8]
movzx eax, dil
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.180388400
add rsp, 0x5c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret