Function at 0x140057700
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov qword [rsp + 0x50], r8
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x58], rcx
mov rdx, qword [rcx]
mov r15, rbx
sub r15, rdx
mov rax, qword [rcx + 8]
sub rax, rdx
sar rax, 4
movabs r8, 0xfffffffffffffff
cmp rax, r8
je 0x140057989
lea r13, [rax + 1]
mov rcx, qword [rcx + 0x10]
sub rcx, rdx
sar rcx, 4
mov rdx, rcx
shr rdx, 1
mov rax, r8
sub rax, rdx
cmp rcx, rax
ja 0x140057983
lea rax, [rdx + rcx]
mov r14, r13
cmp rax, r13
cmovae r14, rax
cmp r14, r8
ja 0x140057983
mov r12, r14
shl r12, 4
mov qword [rsp + 0x38], r14
cmp r12, 0x1000
jb 0x1400577c8
lea rcx, [r12 + 0x27]
cmp rcx, r12
jbe 0x140057983
call fcn.1400d8404
test rax, rax
je 0x14005797c
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400577eb
test r12, r12
je 0x1400577e4
mov rcx, r12
call fcn.1400d8404
mov rdi, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
jmp 0x1400577f0
xor edi, edi
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], rdi
and r15, 0xfffffffffffffff0
lea r14, [r15 + rdi]
mov qword [rsp + 0x48], r14
lea rax, [r14 + 0x10]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x30], rax
mov ecx, 8
call fcn.1400d8404
mov r9, rax
test r9, r9
je 0x140057828
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [r9], rax
mov qword [rsp + 0x50], r9
add r14, 8
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0
lea r8, [0x140058140]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x48]
mov qword [rcx], rax
test rax, rax
je 0x14005798f
mov qword [rsp + 0x30], rcx
mov rdx, qword [rsi + 8]
mov rax, qword [rsi]
mov rcx, rdi
cmp rbx, rdx
jne 0x14005789b
cmp rax, rdx
je 0x1400578e7
nop dword [rax]
xorps xmm0, xmm0
movups xmm1, xmmword [rax]
movups xmmword [rax], xmm0
movups xmmword [rcx], xmm1
lea rcx, [rcx + 0x10]
add rax, 0x10
cmp rax, rdx
jne 0x140057880
jmp 0x1400578e7
cmp rax, rbx
je 0x1400578b9
xorps xmm0, xmm0
movups xmm1, xmmword [rax]
movups xmmword [rax], xmm0
movups xmmword [rcx], xmm1
lea rcx, [rcx + 0x10]
add rax, 0x10
cmp rax, rbx
jne 0x1400578a0
mov qword [rsp + 0x30], rdi
mov rax, qword [rsi + 8]
cmp rbx, rax
je 0x1400578e7
sub r15, rbx
lea rcx, [r15 + rdi]
nop
xorps xmm0, xmm0
movups xmm1, xmmword [rbx]
movups xmmword [rbx], xmm0
movups xmmword [rbx + rcx + 0x10], xmm1
add rbx, 0x10
cmp rbx, rax
jne 0x1400578d0
mov rcx, qword [rsi]
test rcx, rcx
je 0x140057940
mov rdx, qword [rsi + 8]
mov rax, rcx
cmp rcx, rdx
je 0x14005790f
nop dword [rax + rax]
cmp dword [rax + 8], 0
jne 0x140057975
add rax, 0x10
cmp rax, rdx
jne 0x140057900
mov rdx, qword [rsi + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
cmp rdx, 0x1000
jb 0x14005793b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005797c
mov rcx, r8
call fcn.1400d8440
mov qword [rsi], rdi
shl r13, 4
add r13, rdi
mov qword [rsi + 8], r13
lea rcx, [r12 + rdi]
mov qword [rsi + 0x10], rcx
mov rax, qword [rsp + 0x48]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005190
int3
call fcn.140025370
nop
mov dword [r14], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3