Function at 0x140005200
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
mov rax, qword [0x1400c4028]
xor rax, rsp
mov qword [rbp - 0x19], rax
xor ebx, ebx
mov r13d, 8
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov eax, dword [rsi + r13]
cmp dword [0x1400c5854], eax
jle 0x1400052ae
lea rcx, [0x1400c5854]
call fcn.140083ed0
cmp dword [0x1400c5854], 0xffffffff
jne 0x1400052ae
mov rdx, qword [0x1400c5538]
mov rax, qword [rdx + 0x4020]
mov byte [rax + 0xed], 1
mov rax, qword [rdx + 0x4020]
mov rdx, qword [rax + 0x2d8]
mov qword [0x1400c5888], rdx
lea rcx, [0x1400c5854]
call fcn.140083e64
mov eax, dword [rsi + r13]
cmp dword [0x1400c5894], eax
jle 0x1400052ef
lea rcx, [0x1400c5894]
call fcn.140083ed0
cmp dword [0x1400c5894], 0xffffffff
jne 0x1400052ef
mov rax, qword [0x1400c5538]
add rax, 0x38d8
mov qword [0x1400c5858], rax
lea rcx, [0x1400c5894]
call fcn.140083e64
mov r12d, 0x288
mov eax, dword [rsi + r13]
cmp dword [0x1400c58b8], eax
jle 0x14000535f
lea rcx, [0x1400c58b8]
call fcn.140083ed0
cmp dword [0x1400c58b8], 0xffffffff
jne 0x14000535f
mov rax, qword [0x1400c5538]
mov rdx, qword [rax + 0x4020]
cmp qword [rdx + 0x1e0], rbx
jne 0x140005339
cmp qword [rax + 0x4d80], rbx
mov eax, r12d
je 0x14000533e
mov eax, 0x258
movss xmm0, dword [rdx + rax]
subss xmm0, dword [rdx + 0x138]
movss dword [0x1400c5850], xmm0
lea rcx, [0x1400c58b8]
call fcn.140083e64
mov rax, qword [0x1400c5538]
cmp dword [rax + 0x3f78], 9
jne 0x1400053e2
mov ecx, 8
call fcn.140083f48
lea rcx, [0x1400c40a0]
mov qword [rax], rcx
mov qword [rbp - 0x29], rax
lea rcx, [rbp - 0x41]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14000b120]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x49], rax
test rax, rax
je 0x1400058c1
cmp dword [rbp - 0x41], 0
je 0x1400058b5
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x29]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400058b5
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x49], xmm0
mov eax, dword [rsi + r13]
cmp dword [0x1400c5890], eax
jle 0x140005443
lea rcx, [0x1400c5890]
call fcn.140083ed0
cmp dword [0x1400c5890], 0xffffffff
jne 0x140005443
mov dword [rbp - 0x29], 0x3f4ccccd
mov dword [rbp - 0x25], 0x3f4ccccd
mov dword [rbp - 0x21], 0x3f4ccccd
mov rax, qword [0x1400c5858]
movss xmm0, dword [rax]
movss dword [rbp - 0x1d], xmm0
lea rcx, [rbp - 0x29]
call fcn.140039c80
mov dword [0x1400c58b4], eax
lea rcx, [0x1400c5890]
call fcn.140083e64
lea r8, [0x1400c40d8]
cmp qword [0x1400c40f0], 0x10
cmovae r8, qword [0x1400c40d8]
mov rax, qword [0x1400c5538]
mov rcx, qword [rax + 0x4020]
movsd xmm0, qword [rcx + 0x138]
movsd qword [rbp - 0x29], xmm0
mov r14, qword [0x1400c5510]
mov r15d, dword [0x1400c58b4]
mov rbx, 0xffffffffffffffff
xorps xmm6, xmm6
movss xmm7, dword [0x1400b45b8]
test r15d, 0xff000000
je 0x140005512
mov rcx, rbx
inc rcx
cmp byte [r8 + rcx], 0
jne 0x1400054a1
add rcx, r8
cmp r8, rcx
je 0x140005512
mov rdx, qword [0x1400c5888]
test r14, r14
jne 0x1400054c7
mov rax, qword [rdx + 0x38]
mov r14, qword [rax + 8]
movups xmm0, xmmword [rdx + 0x88]
movups xmmword [rbp - 0x39], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm6
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r8
lea rax, [rbp - 0x39]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
lea r9, [rbp - 0x29]
movaps xmm2, xmm7
mov rcx, r14
call fcn.140071a50
mov r15d, dword [0x1400c58b4]
mov r14, qword [0x1400c5510]
lea rdi, [0x1400c40b8]
mov rax, rdi
cmp qword [0x1400c40d0], 0x10
cmovae rax, qword [0x1400c40b8]
xor ecx, ecx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm6
movss xmm3, dword [0x1400b4630]
movaps xmm2, xmm7
lea rdx, [rbp - 0x29]
mov rcx, r14
call fcn.140071640
cmp qword [0x1400c40d0], 0x10
cmovae rdi, qword [0x1400c40b8]
mov rax, qword [0x1400c5538]
mov rcx, qword [rax + 0x4020]
cmp qword [rcx + 0x1e0], 0
jne 0x14000558c
cmp qword [rax + 0x4d80], 0
je 0x140005592
mov r12d, 0x258
movss xmm0, dword [rcx + r12]
movsd xmm1, qword [rcx + 0x138]
subss xmm0, dword [rcx + 0x138]
subss xmm0, dword [rbp - 0x29]
addss xmm0, xmm1
movss dword [rbp - 0x49], xmm0
movaps xmm0, xmm1
shufps xmm0, xmm0, 0x55
movsd qword [rbp - 0x29], xmm1
addss xmm0, xmm6
movss dword [rbp - 0x45], xmm0
test r15d, 0xff000000
je 0x140005636
inc rbx
cmp byte [rdi + rbx], 0
jne 0x1400055d4
add rbx, rdi
cmp rdi, rbx
je 0x140005636
mov rdx, qword [0x1400c5888]
test r14, r14
jne 0x1400055f9
mov rax, qword [rdx + 0x38]
mov r14, qword [rax + 8]
movups xmm0, xmmword [rdx + 0x88]
movups xmmword [rbp - 0x39], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm6
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdi
lea rax, [rbp - 0x39]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
lea r9, [rbp - 0x49]
movaps xmm2, xmm7
mov rcx, r14
call fcn.140071a50
mov dword [rbp - 0x49], 0
mov dword [rbp - 0x45], 0x40800000
lea rcx, [rbp - 0x49]
call fcn.14007c190
cmp byte [0x1400c40b0], 0
je 0x140005874
movss xmm7, dword [0x1400b44d8]
movss xmm8, dword [0x1400b4528]
mov eax, dword [rsi + r13]
cmp dword [0x1400c5880], eax
jle 0x1400056c8
lea rcx, [0x1400c5880]
call fcn.140083ed0
cmp dword [0x1400c5880], 0xffffffff
jne 0x1400056c8
mov rax, qword [0x1400c5858]
movss xmm0, dword [rax]
mulss xmm0, xmm7
movss dword [rsp + 0x20], xmm0
movaps xmm3, xmm8
movss xmm2, dword [0x1400b44c8]
movaps xmm1, xmm6
lea rcx, [0x1400c5870]
call fcn.140001350
lea rcx, [0x1400c5880]
call fcn.140083e64
mov eax, dword [rsi + r13]
cmp dword [0x1400c58b0], eax
jle 0x14000571c
lea rcx, [0x1400c58b0]
call fcn.140083ed0
cmp dword [0x1400c58b0], 0xffffffff
jne 0x14000571c
mov rax, qword [0x1400c5858]
movss xmm0, dword [rax]
movss dword [rsp + 0x20], xmm0
movaps xmm3, xmm8
movaps xmm2, xmm7
movaps xmm1, xmm6
lea rcx, [0x1400c5860]
call fcn.140001350
lea rcx, [0x1400c58b0]
call fcn.140083e64
mov eax, dword [rsi + r13]
cmp dword [0x1400c5898], eax
jle 0x140005774
lea rcx, [0x1400c5898]
call fcn.140083ed0
cmp dword [0x1400c5898], 0xffffffff
jne 0x140005774
mov rax, qword [0x1400c5858]
movss xmm0, dword [rax]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x1400b4518]
movaps xmm2, xmm6
movaps xmm1, xmm6
lea rcx, [0x1400c58a0]
call fcn.140001350
lea rcx, [0x1400c5898]
call fcn.140083e64
cmp byte [0x1400c40b1], 0
je 0x140005874
mov qword [rbp - 0x49], 0
lea rcx, [rbp - 0x49]
call fcn.14007c190
mov r11, qword [0x1400c5538]
mov rax, qword [r11 + 0x4020]
movsd xmm9, qword [rax + 0x138]
movss xmm1, dword [0x1400c5850]
movaps xmm8, xmm1
mulss xmm8, dword [0x1400c40b4]
movsd qword [rbp - 0x49], xmm9
movaps xmm0, xmm9
addss xmm0, xmm1
movss dword [rbp - 0x29], xmm0
movss xmm7, dword [rbp - 0x45]
addss xmm7, dword [0x1400b45a8]
movss dword [rbp - 0x25], xmm7
lea rcx, [0x1400c5870]
call fcn.140039c80
mov r9d, eax
xor ebx, ebx
mov dword [rsp + 0x28], ebx
movss xmm6, dword [0x1400b4594]
movss dword [rsp + 0x20], xmm6
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x49]
mov rcx, qword [0x1400c5888]
call fcn.14006d1e0
addss xmm9, xmm8
movss dword [rbp - 0x29], xmm9
movss dword [rbp - 0x25], xmm7
lea rcx, [0x1400c5860]
call fcn.140039c80
mov r9d, eax
mov dword [rsp + 0x28], ebx
movss dword [rsp + 0x20], xmm6
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x49]
mov rcx, qword [0x1400c5888]
call fcn.14006d1e0
movss xmm0, dword [0x1400c5850]
movss dword [rbp - 0x29], xmm0
mov dword [rbp - 0x25], 0x41100000
lea rcx, [rbp - 0x29]
call fcn.14007c190
mov rcx, qword [rbp - 0x19]
xor rcx, rsp
call fcn.140083e00
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x41], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3