Function at 0x140005160
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 [0x1400c4040]
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 [0x1400c57fc], eax
jle 0x14000520e
lea rcx, [0x1400c57fc]
call fcn.1400845a0
cmp dword [0x1400c57fc], 0xffffffff
jne 0x14000520e
mov rdx, qword [0x1400c54a8]
mov rax, qword [rdx + 0x4020]
mov byte [rax + 0xed], 1
mov rax, qword [rdx + 0x4020]
mov rdx, qword [rax + 0x2d8]
mov qword [0x1400c5830], rdx
lea rcx, [0x1400c57fc]
call fcn.140084534
mov eax, dword [rsi + r13]
cmp dword [0x1400c583c], eax
jle 0x14000524f
lea rcx, [0x1400c583c]
call fcn.1400845a0
cmp dword [0x1400c583c], 0xffffffff
jne 0x14000524f
mov rax, qword [0x1400c54a8]
add rax, 0x38d8
mov qword [0x1400c5800], rax
lea rcx, [0x1400c583c]
call fcn.140084534
mov r12d, 0x288
mov eax, dword [rsi + r13]
cmp dword [0x1400c5860], eax
jle 0x1400052bf
lea rcx, [0x1400c5860]
call fcn.1400845a0
cmp dword [0x1400c5860], 0xffffffff
jne 0x1400052bf
mov rax, qword [0x1400c54a8]
mov rdx, qword [rax + 0x4020]
cmp qword [rdx + 0x1e0], rbx
jne 0x140005299
cmp qword [rax + 0x4d80], rbx
mov eax, r12d
je 0x14000529e
mov eax, 0x258
movss xmm0, dword [rdx + rax]
subss xmm0, dword [rdx + 0x138]
movss dword [0x1400c57f8], xmm0
lea rcx, [0x1400c5860]
call fcn.140084534
mov rax, qword [0x1400c54a8]
cmp dword [rax + 0x3f78], 9
jne 0x140005342
mov ecx, 8
call fcn.140084618
lea rcx, [0x1400c5550]
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, [0x14000b200]
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 0x140005821
cmp dword [rbp - 0x41], 0
je 0x140005815
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 0x140005815
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x49], xmm0
mov eax, dword [rsi + r13]
cmp dword [0x1400c5838], eax
jle 0x1400053a3
lea rcx, [0x1400c5838]
call fcn.1400845a0
cmp dword [0x1400c5838], 0xffffffff
jne 0x1400053a3
mov dword [rbp - 0x29], 0x3f4ccccd
mov dword [rbp - 0x25], 0x3f4ccccd
mov dword [rbp - 0x21], 0x3f4ccccd
mov rax, qword [0x1400c5800]
movss xmm0, dword [rax]
movss dword [rbp - 0x1d], xmm0
lea rcx, [rbp - 0x29]
call fcn.14003a610
mov dword [0x1400c585c], eax
lea rcx, [0x1400c5838]
call fcn.140084534
lea r8, [0x1400c5578]
cmp qword [0x1400c5590], 0xf
cmova r8, qword [0x1400c5578]
mov rax, qword [0x1400c54a8]
mov rcx, qword [rax + 0x4020]
movsd xmm0, qword [rcx + 0x138]
movsd qword [rbp - 0x29], xmm0
mov r14, qword [0x1400c5480]
mov r15d, dword [0x1400c585c]
mov rbx, 0xffffffffffffffff
xorps xmm6, xmm6
movss xmm7, dword [0x1400b4878]
test r15d, 0xff000000
je 0x140005472
mov rcx, rbx
inc rcx
cmp byte [r8 + rcx], 0
jne 0x140005401
add rcx, r8
cmp r8, rcx
je 0x140005472
mov rdx, qword [0x1400c5830]
test r14, r14
jne 0x140005427
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.140072130
mov r15d, dword [0x1400c585c]
mov r14, qword [0x1400c5480]
lea rdi, [0x1400c5558]
mov rax, rdi
cmp qword [0x1400c5570], 0xf
cmova rax, qword [0x1400c5558]
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 [0x1400b48f0]
movaps xmm2, xmm7
lea rdx, [rbp - 0x29]
mov rcx, r14
call fcn.140071d20
cmp qword [0x1400c5570], 0xf
cmova rdi, qword [0x1400c5558]
mov rax, qword [0x1400c54a8]
mov rcx, qword [rax + 0x4020]
cmp qword [rcx + 0x1e0], 0
jne 0x1400054ec
cmp qword [rax + 0x4d80], 0
je 0x1400054f2
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 0x140005596
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140005534
add rbx, rdi
cmp rdi, rbx
je 0x140005596
mov rdx, qword [0x1400c5830]
test r14, r14
jne 0x140005559
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.140072130
mov dword [rbp - 0x49], 0
mov dword [rbp - 0x45], 0x40800000
lea rcx, [rbp - 0x49]
call fcn.14007c8b0
cmp byte [0x1400c5550], 0
je 0x1400057d4
movss xmm7, dword [0x1400b4798]
movss xmm8, dword [0x1400b47e8]
mov eax, dword [rsi + r13]
cmp dword [0x1400c5828], eax
jle 0x140005628
lea rcx, [0x1400c5828]
call fcn.1400845a0
cmp dword [0x1400c5828], 0xffffffff
jne 0x140005628
mov rax, qword [0x1400c5800]
movss xmm0, dword [rax]
mulss xmm0, xmm7
movss dword [rsp + 0x20], xmm0
movaps xmm3, xmm8
movss xmm2, dword [0x1400b4788]
movaps xmm1, xmm6
lea rcx, [0x1400c5818]
call fcn.140001350
lea rcx, [0x1400c5828]
call fcn.140084534
mov eax, dword [rsi + r13]
cmp dword [0x1400c5858], eax
jle 0x14000567c
lea rcx, [0x1400c5858]
call fcn.1400845a0
cmp dword [0x1400c5858], 0xffffffff
jne 0x14000567c
mov rax, qword [0x1400c5800]
movss xmm0, dword [rax]
movss dword [rsp + 0x20], xmm0
movaps xmm3, xmm8
movaps xmm2, xmm7
movaps xmm1, xmm6
lea rcx, [0x1400c5808]
call fcn.140001350
lea rcx, [0x1400c5858]
call fcn.140084534
mov eax, dword [rsi + r13]
cmp dword [0x1400c5840], eax
jle 0x1400056d4
lea rcx, [0x1400c5840]
call fcn.1400845a0
cmp dword [0x1400c5840], 0xffffffff
jne 0x1400056d4
mov rax, qword [0x1400c5800]
movss xmm0, dword [rax]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x1400b47d8]
movaps xmm2, xmm6
movaps xmm1, xmm6
lea rcx, [0x1400c5848]
call fcn.140001350
lea rcx, [0x1400c5840]
call fcn.140084534
cmp byte [0x1400c5551], 0
je 0x1400057d4
mov qword [rbp - 0x49], 0
lea rcx, [rbp - 0x49]
call fcn.14007c8b0
mov r11, qword [0x1400c54a8]
mov rax, qword [r11 + 0x4020]
movsd xmm9, qword [rax + 0x138]
movss xmm1, dword [0x1400c57f8]
movaps xmm8, xmm1
mulss xmm8, dword [0x1400c5554]
movsd qword [rbp - 0x49], xmm9
movaps xmm0, xmm9
addss xmm0, xmm1
movss dword [rbp - 0x29], xmm0
movss xmm7, dword [rbp - 0x45]
addss xmm7, dword [0x1400b4868]
movss dword [rbp - 0x25], xmm7
lea rcx, [0x1400c5818]
call fcn.14003a610
mov r9d, eax
xor ebx, ebx
mov dword [rsp + 0x28], ebx
movss xmm6, dword [0x1400b4854]
movss dword [rsp + 0x20], xmm6
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x49]
mov rcx, qword [0x1400c5830]
call fcn.14006d8c0
addss xmm9, xmm8
movss dword [rbp - 0x29], xmm9
movss dword [rbp - 0x25], xmm7
lea rcx, [0x1400c5808]
call fcn.14003a610
mov r9d, eax
mov dword [rsp + 0x28], ebx
movss dword [rsp + 0x20], xmm6
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x49]
mov rcx, qword [0x1400c5830]
call fcn.14006d8c0
movss xmm0, dword [0x1400c57f8]
movss dword [rbp - 0x29], xmm0
mov dword [rbp - 0x25], 0x41100000
lea rcx, [rbp - 0x29]
call fcn.14007c8b0
mov rcx, qword [rbp - 0x19]
xor rcx, rsp
call fcn.1400844d0
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