Function at 0x14005d550
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rbx, rdx
mov rsi, rcx
mov rdx, qword [rcx]
mov r14, rbx
sub r14, rdx
mov rax, qword [rcx + 8]
sub rax, rdx
sar rax, 4
movabs r8, 0xfffffffffffffff
cmp rax, r8
je 0x14005d7f3
lea r12, [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 0x14005d7ed
lea rax, [rdx + rcx]
mov rcx, r12
cmp rax, r12
cmovae rcx, rax
cmp rcx, r8
ja 0x14005d7ed
mov r15, rcx
shl r15, 4
mov qword [rsp + 0x38], rcx
test r15, r15
jne 0x14005d5eb
xor edi, edi
mov qword [rsp + 0x38], rcx
jmp 0x14005d628
cmp r15, 0x1000
jb 0x14005d61d
lea rcx, [r15 + 0x27]
cmp rcx, r15
jbe 0x14005d7ed
call fcn.140129c6c
test rax, rax
je 0x14005d7d2
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14005d628
mov rcx, r15
call fcn.140129c6c
mov rdi, rax
mov qword [rsp + 0x98], rdi
and r14, 0xfffffffffffffff0
lea r13, [r14 + rdi]
mov qword [rsp + 0x30], r13
lea r14, [r13 + 0x10]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x90], r14
mov ecx, Ordinal_60
call fcn.140129c6c
mov rcx, qword [rsp + 0xa8]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
mov rcx, qword [rsp + 0xa0]
movups xmm0, xmmword [rcx]
movups xmmword [rax + 0x10], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x20], xmm1
movsd xmm0, qword [rcx + 0x20]
movsd qword [rax + 0x30], xmm0
mov qword [rsp + 0x48], rax
add r13, 8
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14005e170]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x30]
mov qword [rcx], rax
test rax, rax
je 0x14005d7d9
mov qword [rsp + 0x90], rcx
mov rdx, qword [rsi + 8]
mov rax, qword [rsi]
mov rcx, rdi
cmp rbx, rdx
jne 0x14005d6fb
cmp rax, rdx
je 0x14005d747
nop
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 0x14005d6e0
jmp 0x14005d747
cmp rax, rbx
je 0x14005d719
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 0x14005d700
mov qword [rsp + 0x90], rdi
mov rax, qword [rsi + 8]
cmp rbx, rax
je 0x14005d747
sub r14, rbx
nop dword [rax]
xorps xmm0, xmm0
movups xmm1, xmmword [rbx]
movups xmmword [rbx], xmm0
movups xmmword [r14 + rbx], xmm1
add rbx, 0x10
cmp rbx, rax
jne 0x14005d730
mov rcx, qword [rsi]
test rcx, rcx
je 0x14005d7a0
mov rdx, qword [rsi + 8]
mov rax, rcx
cmp rcx, rdx
je 0x14005d76f
nop dword [rax + rax]
cmp dword [rax + 8], 0
jne 0x14005d7cb
add rax, 0x10
cmp rax, rdx
jne 0x14005d760
mov rdx, qword [rsi + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
cmp rdx, 0x1000
jb 0x14005d79b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005d7d2
mov rcx, r8
call fcn.140129cbc
mov qword [rsi], rdi
shl r12, 4
add r12, rdi
mov qword [rsi + 8], r12
lea rcx, [r15 + rdi]
mov qword [rsi + 0x10], rcx
mov rax, qword [rsp + 0x30]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
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]
nop
mov dword [r13], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.14000a020
int3
call fcn.14004c220
int3