Function at 0x1801b4d10
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub rsp, 0x88
cmp byte [0x1805b1ae6], 0
jne 0x1801b4d57
cmp byte [0x180573ee1], 0
jne 0x1801b51e0
mov rax, qword [0x1805d8408]
cmp rax, qword [0x1805d8410]
mov byte [0x180573ee1], 1
je 0x1801b51e0
mov qword [0x1805d8410], rax
add rsp, 0x88
ret
mov rax, qword [0x18058c9e8]
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0x80], rbp
xor ebp, ebp
mov qword [rsp + 0x78], rsi
mov rcx, qword [rax + 0x188]
mov qword [rsp + 0x70], rdi
movaps xmmword [rsp + 0x50], xmm6
mov rsi, qword [rcx]
test rsi, rsi
je 0x1801b4e0c
mov rsi, qword [rsi + 0x10]
mov ebx, ebp
mov eax, dword [rsi + 0x188]
test eax, eax
jle 0x1801b4e0c
mov edi, ebp
cmp ebx, eax
jge 0x1801b4dfc
mov rax, qword [rsi + 0x180]
mov rcx, qword [rdi + rax]
test rcx, rcx
je 0x1801b4dfc
mov rax, qword [0x18058c9e8]
call qword [rax + 0x190]
mov dword [rsp + 0x90], eax
test eax, eax
je 0x1801b4e0c
mov rdx, qword [0x1805d8410]
cmp rdx, qword [0x1805d8418]
je 0x1801b4de8
mov dword [rdx], eax
add qword [0x1805d8410], 4
jmp 0x1801b4dfc
lea r8, [rsp + 0x90]
lea rcx, [0x1805d8408]
call fcn.18015b190
mov eax, dword [rsi + 0x188]
inc ebx
add rdi, 0x10
cmp ebx, eax
jl 0x1801b4da4
mov rdi, qword [0x1805d8410]
xorps xmm6, xmm6
mov rbx, qword [0x1805d8408]
cmp rbx, rdi
je 0x1801b4fe3
mov qword [rsp + 0x68], r14
movabs r14, 0x3fef770d40960d5a
mov qword [rsp + 0x60], r15
movabs r15, 0x1c99bb7b6e96d16f
movaps xmmword [rsp + 0x40], xmm7
movss xmm7, dword [0x1805043d0]
movss xmm0, dword [0x1805b1b58]
ucomiss xmm0, xmm6
mov esi, dword [rbx]
je 0x1801b4fc7
mov ecx, esi
call fcn.180167810
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], esi
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x90], rbp
mov qword [0x180587120], rax
mov dword [rsp + 0x90], 1
mov rax, qword [rsp + 0x90]
mov qword [0x180587128], rax
mov dword [0x1805870f8], ebp
mov qword [0x1805dd278], r14
mov dword [0x1805870e8], 2
call fcn.1801e4620
movss xmm0, dword [0x1805b1b48]
mov qword [rsp + 0x98], rbp
mov qword [rsp + 0x90], rbp
movups xmm1, xmmword [rax]
mov dword [rsp + 0x90], esi
movsd xmm2, qword [rax + 0x10]
mov rax, qword [rsp + 0x90]
subss xmm0, xmm1
mov qword [0x180587120], rax
shufps xmm1, xmm1, 0xaa
mov dword [0x1805870f8], ebp
mov qword [0x1805dd278], r15
mulss xmm0, xmm7
mov dword [0x1805870e8], 4
movss dword [rsp + 0x90], xmm0
mov eax, dword [rsp + 0x90]
movss xmm0, dword [0x1805b1b50]
mov dword [rsp + 0x98], eax
subss xmm0, xmm1
mov rax, qword [rsp + 0x98]
mov qword [0x180587128], rax
mov qword [rsp + 0x98], rbp
mulss xmm0, xmm7
movss dword [rsp + 0x90], xmm0
mov eax, dword [rsp + 0x90]
movss xmm0, dword [0x1805b1b58]
mov dword [rsp + 0x98], eax
subss xmm0, xmm2
mov rax, qword [rsp + 0x98]
mov qword [0x180587130], rax
mov qword [rsp + 0x98], rbp
mulss xmm0, xmm7
movss dword [rsp + 0x90], xmm0
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0x98]
mov qword [0x180587138], rax
call fcn.1801e4620
add rbx, 4
cmp rbx, rdi
jne 0x1801b4e51
movaps xmm7, xmmword [rsp + 0x40]
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
cmp byte [0x1805b1b04], bpl
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0xa0]
je 0x1801b51b5
movss xmm0, dword [0x1805b1b58]
ucomiss xmm0, xmm6
je 0x1801b51b5
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1805f2000]
cmp eax, 0x190
jbe 0x1801b51b5
movss xmm0, dword [0x1805b1b48]
movabs rax, 0xe3ad2bdbaee269ac
mov qword [0x1805dd278], rax
movss dword [rsp + 0x90], xmm0
mov eax, dword [rsp + 0x90]
movss xmm0, dword [0x1805b1b50]
movss dword [rsp + 0x90], xmm0
movss xmm0, dword [0x1805b1b58]
mov qword [rsp + 0x98], rbp
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0x98]
mov qword [0x180587120], rax
mov eax, dword [rsp + 0x90]
movss dword [rsp + 0x90], xmm0
mov qword [rsp + 0x98], rbp
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0x98]
mov qword [0x180587128], rax
mov eax, dword [rsp + 0x90]
mov qword [rsp + 0x98], rbp
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0x98]
mov qword [0x180587130], rax
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 6
mov rax, qword [rsp + 0x90]
mov qword [0x180587138], rax
mov qword [rsp + 0x98], rbp
mov dword [rsp + 0x90], 0x447a0000
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0x98]
mov qword [0x180587140], rax
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 1
mov rax, qword [rsp + 0x90]
mov qword [0x180587148], rax
movzx eax, byte [0x1805b1b04]
mov qword [rsp + 0x98], rbp
mov dword [0x1805870f8], ebp
mov qword [0x180587150], rbp
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov dword [0x1805870e8], 8
movss dword [rsp + 0x90], xmm0
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0x98]
mov qword [0x180587158], rax
call fcn.1801e4620
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1805f2000], eax
mov rax, qword [0x1805d8408]
cmp rax, qword [0x1805d8410]
movaps xmm6, xmmword [rsp + 0x50]
mov rbp, qword [rsp + 0x80]
je 0x1801b51d9
mov qword [0x1805d8410], rax
mov byte [0x180573ee1], 0
add rsp, 0x88
ret