Function at 0x14008c880
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x1401f4040]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r15d, r8d
mov dword [rsp + 0x3c], r8d
mov r13d, edx
mov dword [rsp + 0x38], edx
mov rsi, rcx
xor r12d, r12d
call fcn.140088310
test al, al
je 0x14008cec6
lea rcx, [rsi + 0x2c0]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x14008c8eb
mov rcx, qword [rcx]
cmp r8, 6
jne 0x14008cec6
lea rdx, str.Online
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14008cec6
cmp byte [rsi + 0x51c], r12b
jne 0x14008cec6
mov byte [rsi + 0x51c], 1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rax
mov r8d, dword [rsi + 0x44c]
mov edx, dword [rsi + 0x448]
lea rcx, [rbp - 0x80]
call fcn.140084a10
nop
mov edi, r12d
movss xmm7, dword [0x1401d1f9c]
cmp dword [rsi + 0x44c], r12d
jle 0x14008cc56
movabs r15, 0x8ad8f2fba9386823
lea r13, [0x140000000]
nop word [rax + rax]
xor ebx, ebx
xor r12d, r12d
cmp dword [rsi + 0x448], ebx
jle 0x14008cc3b
mov r8d, edi
mov edx, ebx
mov rcx, rsi
call fcn.14008ac00
mov r14, rax
mov rcx, qword [0x1401fd058]
mov r9, qword [rcx + 8]
movzx r10d, word [rax + 8]
mov r8, qword [rcx + 0x10]
sub r8, r9
mov rax, r15
imul r8
add rdx, r8
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r10, rdx
jb 0x14008c9e8
xor eax, eax
jmp 0x14008c9f2
imul rax, r10, 0x1d8
add rax, r9
movzx r15d, byte [rax + 9]
movss xmm0, dword [rsi + 0x428]
mulss xmm0, xmm7
movd xmm6, ebx
cvtdq2ps xmm6, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
ucomiss xmm6, xmm0
jp 0x14008ca39
jne 0x14008ca39
movss xmm0, dword [rsi + 0x42c]
mulss xmm0, xmm7
movd xmm6, edi
cvtdq2ps xmm6, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
ucomiss xmm6, xmm0
jp 0x14008ca39
je case.default.0x14008ca53
lea eax, [r15 - 1]
cmp eax, 0xc
ja case.default.0x14008ca53
cdqe
mov ecx, dword [r13 + rax*4 + 0x8cf20]
add rcx, r13
jmp rcx
test ebx, ebx
js case.default.0x14008ca53
cmp ebx, dword [rbp - 0x80]
jge case.default.0x14008ca53
test edi, edi
js case.default.0x14008ca53
cmp edi, dword [rbp - 0x7c]
jge case.default.0x14008ca53
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], edi
mov rdx, qword [rbp - 0x58]
cmp rdx, qword [rbp - 0x50]
je 0x14008ca9b
mov rax, qword [rsp + 0x30]
mov qword [rdx], rax
add qword [rbp - 0x58], 8
jmp case.default.0x14008ca53
lea r8, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.14008f610
jmp case.default.0x14008ca53
cmp byte [r14 + 0x28], 0
jmp 0x14008cbe4
cmp byte [r14 + 0x27], 0
je 0x14008cb18
test ebx, ebx
js case.default.0x14008ca53
cmp ebx, dword [rbp - 0x80]
jge case.default.0x14008ca53
test edi, edi
js case.default.0x14008ca53
cmp edi, dword [rbp - 0x7c]
jge case.default.0x14008ca53
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x44], edi
mov rdx, qword [rbp - 0x10]
cmp rdx, qword [rbp - 8]
je 0x14008cb05
mov rax, qword [rsp + 0x40]
mov qword [rdx], rax
add qword [rbp - 0x10], 8
jmp case.default.0x14008ca53
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.14008f610
jmp case.default.0x14008ca53
test ebx, ebx
js case.default.0x14008ca53
cmp ebx, dword [rbp - 0x80]
jge case.default.0x14008ca53
test edi, edi
js case.default.0x14008ca53
cmp edi, dword [rbp - 0x7c]
jge case.default.0x14008ca53
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x64], edi
mov rdx, qword [rbp - 0x28]
cmp rdx, qword [rbp - 0x20]
je 0x14008cb5e
mov rax, qword [rsp + 0x60]
mov qword [rdx], rax
add qword [rbp - 0x28], 8
jmp case.default.0x14008ca53
lea r8, [rsp + 0x60]
lea rcx, [rbp - 0x30]
call fcn.14008f610
jmp case.default.0x14008ca53
test ebx, ebx
js case.default.0x14008ca53
cmp ebx, dword [rbp - 0x80]
jge case.default.0x14008ca53
test edi, edi
js case.default.0x14008ca53
cmp edi, dword [rbp - 0x7c]
jge case.default.0x14008ca53
mov dword [rsp + 0x70], ebx
mov dword [rsp + 0x74], edi
mov rdx, qword [rbp - 0x40]
cmp rdx, qword [rbp - 0x38]
je 0x14008cbb4
mov rax, qword [rsp + 0x70]
mov qword [rdx], rax
add qword [rbp - 0x40], 8
jmp case.default.0x14008ca53
lea r8, [rsp + 0x70]
lea rcx, [rbp - 0x48]
call fcn.14008f610
jmp case.default.0x14008ca53
cmp byte [r14 + 0x28], 0
je case.default.0x14008ca53
jmp case.0x14008ca53.1
cmp byte [r14 + 0x29], 0
jne case.default.0x14008ca53
mov r8d, edi
mov edx, ebx
mov rcx, rsi
call fcn.14008bbf0
cmp eax, 1
jne case.default.0x14008ca53
test ebx, ebx
js case.default.0x14008ca53
cmp ebx, dword [rbp - 0x80]
jge case.default.0x14008ca53
test edi, edi
js case.default.0x14008ca53
cmp edi, dword [rbp - 0x7c]
jge case.default.0x14008ca53
mov rax, r12
shl rax, 5
movsxd rcx, edi
add rax, qword [rbp - 0x78]
mov rdx, rcx
mov r8, qword [rax]
and ecx, 0x1f
mov eax, 1
shl eax, cl
shr rdx, 5
not eax
and dword [r8 + rdx*4], eax
inc ebx
inc r12
cmp ebx, dword [rsi + 0x448]
movabs r15, 0x8ad8f2fba9386823
jl 0x14008c9a1
inc edi
cmp edi, dword [rsi + 0x44c]
jl 0x14008c990
mov r13d, dword [rsp + 0x38]
mov r15d, dword [rsp + 0x3c]
xor r12d, r12d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rax
movss xmm0, dword [rsi + 0x42c]
mulss xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
cvttss2si ebx, xmm0
movss xmm0, dword [rsi + 0x428]
mulss xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
cvttss2si r8d, xmm0
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r13d
mov r9d, ebx
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x80]
call fcn.140084bd0
nop
mov rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x50]
cmp rdx, r8
je 0x14008ccff
lea rcx, [rdx + 8]
cmp rcx, r8
je 0x14008ccf1
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [rcx]
mov dword [rdx], eax
mov eax, dword [rcx + 4]
mov dword [rdx + 4], eax
lea rdx, [rdx + 8]
add rcx, 8
cmp rcx, r8
jne 0x14008ccd0
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
sub r8, 8
mov qword [rsp + 0x50], r8
cmp rdx, r8
jne 0x14008cd0b
mov byte [rsi + 0x51c], 0
jmp 0x14008ce5a
mov rbx, qword [rsi]
mov ecx, 0x30
call fcn.14012adc0
mov r14, rax
mov qword [rsp + 0x70], rax
mov dword [rax], r15d
mov dword [rax + 4], r13d
mov qword [rax + 8], rbx
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], r12
mov rbx, qword [rsp + 0x50]
sub rbx, qword [rsp + 0x48]
sar rbx, 3
test rbx, rbx
je 0x14008cdf0
movabs rax, 0x1fffffffffffffff
cmp rbx, rax
ja 0x14008cf1a
lea rbx, [rbx*8]
test rbx, rbx
jne 0x14008cd73
mov rax, r12
jmp 0x14008cdb3
cmp rbx, 0x1000
jb 0x14008cdab
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x14008cf14
call fcn.14012adc0
mov rcx, rax
test rax, rax
je 0x14008cda4
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14008cdb3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14012adc0
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], rax
add rax, rbx
mov qword [r14 + 0x20], rax
mov rsi, qword [r14 + 0x10]
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r8, rdi
sub r8, rbx
mov rdx, rbx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
sub rdi, rbx
sar rdi, 3
lea rax, [rsi + rdi*8]
mov qword [r14 + 0x18], rax
lea rax, [0x14008c630]
mov qword [r14 + 0x28], rax
mov qword [rsp + 0x70], r14
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
mov r9, r14
lea r8, [0x140090a30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14008cf03
cmp dword [rsp + 0x68], 0
je 0x14008cef7
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14008cef7
lea rcx, [rbp - 0x80]
call fcn.140085610
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14008cebd
mov rax, qword [rsp + 0x58]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008ceaa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008ceaa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012b044
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
lea rcx, [rbp - 0x80]
call fcn.14008cf60
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14012ada0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x58]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x68], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.1400047e0
int3
call fcn.1400145a0
int3