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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe0
mov ebx, dword [rsp + 0x120]
mov rbp, r8
movaps xmmword [rax - 0x48], xmm6
mov r13d, ecx
movaps xmmword [rax - 0x58], xmm7
mov r15d, ecx
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
imul eax, ecx, 0x42c
movaps xmmword [rsp + 0x70], xmm12
mov dword [rsp + 0x60], eax
cmp ecx, eax
ja 0x180021ac8
movsxd r14, dword [rsp + 0x120]
lea rsi, [0x180000000]
movss xmm12, dword [0x18005712c]
mov r12d, dword [rsp + 0x120]
movss xmm6, dword [rsp + 0x120]
movss xmm7, dword [rsp + 0x120]
movss xmm8, dword [rsp + 0x120]
movss xmm9, dword [rsp + 0x120]
movss xmm11, dword [rsp + 0x120]
movss xmm10, dword [rsp + 0x120]
cmp r15d, 0x4c37
ja 0x180021ab6
je 0x180021a4d
cmp r15d, 0x1b
je 0x1800219de
cmp r15d, 0x63
je 0x1800218d9
cmp r15d, 0x6d
jne 0x180021b24
mov r9, qword [0x180062598]
xor r8d, r8d
xor edx, edx
mov ecx, 0x113
call fcn.180021380
test al, al
je 0x1800218d2
mov rcx, qword [0x180062598]
lea rdx, [rsp + 0x120]
mov r8d, 0x15b
mov byte [rsp + 0x120], 1
call fcn.18000bd30
xor edx, edx
mov r8d, 0x112
mov rcx, rbp
call fcn.18001f780
test al, al
jne 0x180021b1c
mov rcx, qword [0x180062598]
lea edx, [r15 + 0x11]
call fcn.18000fce0
xor eax, eax
jmp 0x180021aca
lea r9, [rbp + 8]
mov r10d, 0x7e
lea r11, [0x18004eaf4]
lea rdi, [0x18004eb6c]
xor edx, edx
lea r8d, [rdx + 6]
cmp edx, 5
ja case.default.0x18002190a
mov ecx, dword [rsi + rdx*4 + 0x21b3c]
add rcx, rsi
jmp rcx
movss xmm0, dword [rbp + r14*4 + 4]
subss xmm0, xmm6
movss dword [rbp + r14*4 + 4], xmm0
jmp case.default.0x18002190a
movaps xmm0, xmm7
addss xmm0, dword [rbp + r14*4]
movss dword [rbp + r14*4], xmm0
jmp case.default.0x18002190a
movss xmm0, dword [r9]
movss xmm1, dword [r9 + 4]
subss xmm0, xmm7
subss xmm1, xmm6
movss dword [r9], xmm0
movss dword [r9 + 4], xmm1
jmp case.default.0x18002190a
movaps xmm0, xmm10
movaps xmm7, xmm9
mulss xmm0, xmm11
movaps xmm6, xmm11
mulss xmm7, xmm8
mulss xmm6, xmm9
subss xmm7, xmm0
movaps xmm0, xmm10
mulss xmm0, xmm8
addss xmm6, xmm0
jmp case.default.0x18002190a
mov r14, r10
jmp case.default.0x18002190a
movss xmm9, dword [r9]
movaps xmm8, xmm12
movss xmm10, dword [rbp + r14*4 + 4]
subss xmm8, dword [rdi]
subss xmm9, dword [rbp + r14*4]
addss xmm10, dword [r9 + 4]
movss xmm11, dword [r11]
inc edx
sub r8, 1
jne 0x1800218f7
sub rdi, 4
add r11, 4
sub r10, 2
add r9, 8
cmp r10, 0x40
jg 0x1800218f1
jmp 0x180021b1c
mov eax, dword [rdx]
lea r9, [rsp + 0x138]
mov qword [rsp + 0x50], 0
xor r8d, r8d
mov qword [rsp + 0x48], rbp
xor edx, edx
mov dword [rsp + 0x120], eax
mov ecx, 0x86
lea rax, [rsp + 0x120]
mov dword [rsp + 0x138], 0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call fcn.180036b70
jmp 0x180021b1c
mov rcx, qword [rbp + 0x28]
xor r12d, r12d
call qword [rbp + 0x20]
test al, al
je 0x180021b1c
mov esi, 0x7f
mov eax, esi
sub eax, 0x7f
je 0x180021a75
cmp eax, 0x7f
jne 0x180021aa2
call qword [rbp + 0x50]
jmp 0x180021aa2
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, 0x3f
mov rcx, rbp
mov edi, eax
call fcn.180029b60
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, edi
mul ecx
mov r12d, edx
shr r12d, 6
add esi, 0x7f
cmp esi, 0xfe
jbe 0x180021a64
lea rsi, [0x180000000]
jmp 0x180021b1c
cmp r15d, 0x9801
je 0x180021b08
cmp r15d, 0xe3cb
jne 0x180021b24
mov eax, ebx
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [0x180062598]
mov edx, 0x7e
call fcn.18000fce0
mov ebx, r12d
mov rdx, qword [rsp + 0x128]
imul eax, r13d, 0xb2
add r15d, eax
cmp r15d, dword [rsp + 0x60]
jbe 0x180021841
jmp 0x180021ac8