Function at 0x140008ed0
Capabilities:
Create thread

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x140012040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x50], r8
mov rdi, rdx
mov r12, rcx
mov rdx, qword [rcx]
mov rbx, rdi
sub rbx, rdx
mov rax, qword [rcx + 8]
sub rax, rdx
sar rax, 4
movabs r9, 0xfffffffffffffff
cmp rax, r9
je 0x140009137
lea r8, [rax + 1]
mov qword [rsp + 0x60], r8
mov rcx, qword [rcx + 0x10]
sub rcx, rdx
sar rcx, 4
mov rdx, rcx
shr rdx, 1
mov rax, r9
sub rax, rdx
cmp rcx, rax
ja 0x140009131
lea rax, [rdx + rcx]
mov r15, r8
cmp rax, r8
cmovae r15, rax
cmp r15, r9
ja 0x140009131
mov rcx, r15
shl rcx, 4
mov qword [rsp + 0x48], r15
test rcx, rcx
jne 0x140008f83
xor esi, esi
mov qword [rsp + 0x48], r15
jmp 0x140008fc3
cmp rcx, 0x1000
jb 0x140008fbb
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140009131
mov rcx, rax
call fcn.14000a9d0
test rax, rax
je 0x140008fb4
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140008fc3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a9d0
mov rsi, rax
mov qword [rsp + 0x38], rsi
and rbx, 0xfffffffffffffff0
lea r13, [rbx + rsi]
mov qword [rsp + 0x58], r13
lea r14, [r13 + 0x10]
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x30], r14
mov ecx, 0x30
call fcn.14000a9d0
mov rbx, rax
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x40]
mov rcx, rax
call fcn.140001ed0
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + 0x20]
mov dword [rbx + 0x20], eax
mov eax, dword [rcx + 0x24]
mov dword [rbx + 0x24], eax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rbx + 0x28], rax
mov qword [rsp + 0x70], rbx
add r13, 8
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x1400098a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rbx, qword [rsp + 0x58]
mov qword [rbx], rax
test rax, rax
je 0x14000911d
mov qword [rsp + 0x30], rbx
mov rdx, qword [r12 + 8]
mov rax, qword [r12]
cmp rdi, rdx
jne 0x140009098
cmp rax, rdx
je 0x1400090e7
mov rcx, rsi
sub rcx, rax
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmm1, xmmword [rax]
movups xmmword [rax], xmm0
movups xmmword [rcx + rax], xmm1
add rax, 0x10
cmp rax, rdx
jne 0x140009080
jmp 0x1400090e7
cmp rax, rdi
je 0x1400090b9
mov rcx, rsi
sub rcx, rax
xorps xmm0, xmm0
movups xmm1, xmmword [rax]
movups xmmword [rax], xmm0
movups xmmword [rcx + rax], xmm1
add rax, 0x10
cmp rax, rdi
jne 0x1400090a3
mov qword [rsp + 0x30], rsi
mov rax, qword [r12 + 8]
cmp rdi, rax
je 0x1400090e7
sub r14, rdi
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmm1, xmmword [rdi]
movups xmmword [rdi], xmm0
movups xmmword [r14 + rdi], xmm1
add rdi, 0x10
cmp rdi, rax
jne 0x1400090d0
mov r9, r15
mov r8, qword [rsp + 0x60]
mov rdx, rsi
mov rcx, r12
call fcn.140009460
mov rax, rbx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000a9b0
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov dword [r13], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.140001140
int3
call fcn.140009440
int3