Function at 0x140032710
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, [rax - 0x598]
sub rsp, 0x660
vmovaps xmmword [rax - 0x48], xmm6
vmovaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x14011e7d8]
xor rax, rsp
mov qword [rbp + 0x530], rax
mov byte [rsp + 0x51], r9b
mov qword [rsp + 0x60], r8
mov byte [rsp + 0x50], dl
mov qword [rbp - 0x60], rcx
mov rsi, qword [rbp + 0x5c0]
mov qword [rsp + 0x70], rsi
mov rbx, qword [rbp + 0x5c8]
mov r12, qword [rbp + 0x5d0]
mov r13, qword [rbp + 0x5d8]
mov r15, qword [rbp + 0x5e0]
xor edx, edx
mov r8d, 0x4c8
lea rcx, [rbp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov rcx, rsi
call fcn.14005ba20
mov rdi, rax
mov qword [rsp + 0x58], 0
cmp dword [rsi], 1
jne 0x1400327da
mov rax, qword [rbx]
mov qword [rsp + 0x58], rax
mov rcx, qword [rbx + 8]
sub rcx, rax
sar rcx, 2
cmp rcx, rdi
jae 0x1400327da
mov rdx, rdi
mov rcx, rbx
call fcn.140032210
mov rax, qword [rbx]
mov qword [rsp + 0x58], rax
mov rsi, qword [r12 + 8]
mov rdx, qword [r12]
mov rcx, rsi
sub rcx, rdx
lea rbx, [rdi*4]
cmp rcx, rbx
jae 0x14003282e
mov rax, qword [r12 + 0x10]
sub rax, rdx
cmp rbx, rax
jbe 0x140032815
lea r8, [rsp + 0x52]
mov rdx, rbx
mov rcx, r12
call fcn.140029fb0
jmp 0x14003282e
sub rbx, rcx
mov r8, rbx
xor edx, edx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
lea rax, [rsi + rbx]
mov qword [r12 + 8], rax
mov rax, qword [r13 + 8]
sub rax, qword [r13]
sar rax, 2
cmp rax, rdi
jae 0x14003284a
mov rdx, rdi
mov rcx, r13
call fcn.140032210
mov r14d, dword [rbp + 0x5e8]
cmp r14d, 1
jge 0x14003285f
call sub.MSVCP140.dll__Thrd_hardware_concurrency
mov r14d, eax
lea rsi, [rdi + 0x3fff]
shr rsi, 0xe
cmp esi, 2
jl 0x140032b33
cmp r14d, 2
jl 0x140032b33
lea rbx, [rbp + 0x60]
cmp byte [rsp + 0x50], 0
cmove rbx, r15
mov edx, 2
lea rcx, [rbp + 0x10]
call sub.MSVCP140.dll__Mtx_init_in_situ
nop
mov qword [rbp - 0x68], 0
lea rax, [rbp + 0x10]
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x68]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rbx
mov r9, qword [rsp + 0x60]
mov qword [rbp - 0x38], r9
mov qword [rbp - 0x30], rdi
mov rcx, qword [rsp + 0x70]
mov qword [rbp - 0x28], rcx
movzx eax, byte [rsp + 0x51]
mov byte [rbp - 0x20], al
mov rax, qword [rsp + 0x58]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r13
mov dword [rbp], 0x4000
cmp r14d, esi
cmovl esi, r14d
lea eax, [rsi - 1]
movsxd r14, eax
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rbp - 0x80], xmm0
xor r13d, r13d
mov esi, r13d
mov qword [rbp - 0x70], r13
mov r12d, r13d
test eax, eax
je 0x1400329b1
movabs rax, 0xfffffffffffffff
cmp r14, rax
ja 0x140032d1b
mov rbx, r14
shl rbx, 4
cmp rbx, 0x1000
jb 0x14003296c
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x140032d21
call fcn.1400eae84
mov rcx, rax
test rax, rax
je 0x140032b07
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
lea rsi, [rbx + rax]
mov rdi, rax
jmp 0x14003298c
test rbx, rbx
je 0x140032982
mov rcx, rbx
call fcn.1400eae84
mov rdi, rax
lea rsi, [rbx + rax]
jmp 0x14003298c
mov rax, r13
mov rdi, r13
lea rsi, [rbx + r13]
mov r12, rsi
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x70], rsi
shl r14, 4
mov r8, r14
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov r14, rsi
mov qword [rbp - 0x78], rsi
jmp 0x1400329b9
mov r14, qword [rbp - 0x78]
mov rdi, qword [rbp - 0x80]
mov rbx, rdi
cmp rdi, r12
je 0x140032a65
vmovsd xmm6, qword [rbp]
vmovups xmm7, xmmword [rbp - 0x10]
nop
mov ecx, 0x58
call fcn.1400eae84
test rax, rax
je 0x1400329fe
vmovups ymm0, ymmword [rbp - 0x50]
vmovups ymmword [rax], ymm0
vmovups ymm0, ymmword [rbp - 0x30]
vmovups ymmword [rax + 0x20], ymm0
vmovups xmmword [rax + 0x40], xmm7
vmovsd qword [rax + 0x50], xmm6
jmp 0x140032a01
mov rax, r13
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x140028ad0]
xor edx, edx
xor ecx, ecx
vzeroupper
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140032d27
cmp dword [rbx + 8], 0
jne 0x140032b0e
vpxor xmm0, xmm0, xmm0
vmovups xmm1, xmmword [rsp + 0x60]
vmovdqa xmmword [rsp + 0x60], xmm0
vmovups xmmword [rbx], xmm1
add rbx, 0x10
cmp rbx, r12
jne 0x1400329d0
lea rcx, [rbp - 0x50]
call fcn.14002bd40
mov rbx, rdi
cmp rdi, r14
je 0x140032abd
cmp dword [rbx + 8], 0
je 0x140032d10
call sub.MSVCP140.dll__Thrd_id
cmp dword [rbx + 8], eax
je 0x140032d42
vmovups xmm0, xmmword [rbx]
vmovups xmmword [rsp + 0x70], xmm0
xor edx, edx
lea rcx, [rsp + 0x70]
call sub.MSVCP140.dll__Thrd_join
test eax, eax
jne 0x140032d37
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, r14
jne 0x140032a76
test rdi, rdi
je 0x140032b28
mov rax, rdi
cmp rdi, r14
je 0x140032adf
nop word [rax + rax]
cmp dword [rax + 8], 0
jne 0x140032b15
add rax, 0x10
cmp rax, r14
jne 0x140032ad0
sub rsi, rdi
and rsi, 0xfffffffffffffff0
mov rax, rdi
cmp rsi, 0x1000
jb 0x140032b1c
add rsi, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140032b1c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rdx, rsi
mov rcx, rdi
call fcn.1400eaec0
nop
lea rcx, [rbp + 0x10]
call sub.MSVCP140.dll__Mtx_destroy_in_situ
jmp 0x140032b7e
lea rax, [rbp + 0x60]
cmp byte [rsp + 0x50], 0
cmove rax, r15
mov qword [rsp + 0x40], rax
mov rax, qword [r13]
mov qword [rsp + 0x38], rax
mov rax, qword [r12]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
movzx eax, byte [rsp + 0x51]
mov byte [rsp + 0x20], al
mov r9, qword [rsp + 0x60]
mov r8, rdi
xor edx, edx
mov rcx, qword [rsp + 0x70]
call fcn.140032530
cmp byte [rsp + 0x50], 0
je 0x140032cda
mov rcx, qword [rbp + 0x60]
vxorps xmm1, xmm1, xmm1
test rcx, rcx
js 0x140032b9d
vcvtsi2sd xmm1, xmm1, rcx
jmp 0x140032bb2
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
vcvtsi2sd xmm1, xmm1, rax
vaddsd xmm1, xmm1, xmm1
vmovsd xmm0, qword [rbp + 0x68]
vdivsd xmm0, xmm0, xmm1
vxorpd xmm1, xmm1, xmm1
vucomisd xmm1, xmm0
ja 0x140032bcb
vsqrtsd xmm6, xmm0, xmm0
jmp 0x140032bd4
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
vmovaps xmm6, xmm0
vmovsd xmm1, qword [0x1400f55d8]
lea rcx, [rbp + 0x60]
call fcn.140031610
vmovaps xmm7, xmm0
vmovsd xmm1, qword [0x1400f55e0]
lea rcx, [rbp + 0x60]
call fcn.140031610
mov rax, qword [rbp - 0x60]
cmp qword [rax + 0x18], 0x10
jb 0x140032c08
mov rax, qword [rax]
vmovsd qword [rsp + 0x28], xmm7
vmovsd qword [rsp + 0x20], xmm0
vmovsd xmm3, qword [rbp + 0x70]
vmovq r9, xmm3
vmovaps xmm2, xmm6
vmovq r8, xmm6
mov rdx, rax
lea rcx, str.__50s:_rmse__.8f__maxerr__.8f__95pct__.4f__median__.4f_n
call fcn.140034840
mov rax, qword [rbp + 0x60]
add qword [r15], rax
vmovsd xmm0, qword [rbp + 0x68]
vaddsd xmm1, xmm0, qword [r15 + 8]
vmovsd qword [r15 + 8], xmm1
vmovsd xmm0, qword [rbp + 0x70]
vcomisd xmm0, qword [r15 + 0x10]
jbe 0x140032c61
vmovsd qword [r15 + 0x10], xmm0
lea rcx, [r15 + 0x20]
lea rdx, [rbp + 0x78]
sub rdx, r15
lea r9, [rbp + 0x60]
sub r9, r15
lea r10, [rbp + 0x68]
sub r10, r15
lea r11, [rbp + 0x70]
sub r11, r15
lea rbx, [rbp + 0x80]
sub rbx, r15
mov r8d, 0x19
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdx + rcx - 0x20]
add qword [rcx - 8], rax
mov rax, qword [r9 + rcx]
add qword [rcx], rax
mov rax, qword [r10 + rcx]
add qword [rcx + 8], rax
mov rax, qword [r11 + rcx]
add qword [rcx + 0x10], rax
mov rax, qword [rdx + rcx]
add qword [rcx + 0x18], rax
mov rax, qword [rbx + rcx]
add qword [rcx + 0x20], rax
lea rcx, [rcx + 0x30]
sub r8, 1
jne 0x140032ca0
mov rcx, qword [rbp + 0x530]
xor rcx, rsp
call fcn.1400eafe0
lea r11, [rsp + 0x660]
mov rbx, qword [r11 + 0x58]
vmovaps xmm6, xmmword [r11 - 0x10]
vmovaps 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 sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
call fcn.140030d10
int3
call fcn.140030870
nop
mov dword [rsp + 0x68], r13d
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 2
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3