Function at 0x140008b00
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, 0x60
mov rax, qword [0x14012d040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], r9
mov rbx, rdx
mov rsi, rcx
mov rdx, qword [rcx]
mov r12, rbx
sub r12, rdx
mov rax, qword [rcx + 8]
sub rax, rdx
sar rax, 4
movabs r8, 0xfffffffffffffff
cmp rax, r8
je 0x140008df9
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 0x140008df3
lea rax, [rdx + rcx]
mov r14, r13
cmp rax, r13
cmovae r14, rax
cmp r14, r8
ja 0x140008df3
mov r15, r14
shl r15, 4
mov qword [rsp + 0x38], r14
cmp r15, 0x1000
jb 0x140008bd1
lea rcx, [r15 + 0x27]
cmp rcx, r15
jbe 0x140008df3
call fcn.140013a30
test rax, rax
je 0x140008dd7
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140008bf4
test r15, r15
je 0x140008bed
mov rcx, r15
call fcn.140013a30
mov rdi, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
jmp 0x140008bf9
xor edi, edi
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], rdi
and r12, 0xfffffffffffffff0
add r12, rdi
lea r14, [r12 + 0x10]
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x30], r14
mov ecx, 0x28
call fcn.140013a30
mov r9, rax
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rax]
mov dword [r9], ecx
mov rax, qword [rsp + 0xc8]
mov ecx, dword [rax]
mov dword [r9 + 4], ecx
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax]
mov dword [r9 + 8], ecx
mov rax, qword [rsp + 0xb8]
mov ecx, dword [rax]
mov dword [r9 + 0xc], ecx
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rax]
mov qword [r9 + 0x10], rcx
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [r9 + 0x18], rax
lea rax, [0x140003550]
mov qword [r9 + 0x20], rax
mov qword [rsp + 0x50], r9
lea rax, [r12 + 8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
lea r8, [0x1400090e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [r12], rax
test rax, rax
je 0x140008dde
mov qword [rsp + 0x30], r12
mov rdx, qword [rsi + 8]
mov rax, qword [rsi]
cmp rbx, rdx
jne 0x140008ce8
cmp rax, rdx
je 0x140008d37
mov rcx, rdi
sub rcx, rax
nop word [rax + rax]
xorps xmm0, xmm0
movups xmm1, xmmword [rax]
movups xmmword [rax], xmm0
movups xmmword [rax + rcx], xmm1
add rax, 0x10
cmp rax, rdx
jne 0x140008cd0
jmp 0x140008d37
cmp rax, rbx
je 0x140008d09
mov rcx, rdi
sub rcx, rax
xorps xmm0, xmm0
movups xmm1, xmmword [rax]
movups xmmword [rax], xmm0
movups xmmword [rcx + rax], xmm1
add rax, 0x10
cmp rax, rbx
jne 0x140008cf3
mov qword [rsp + 0x30], rdi
mov rax, qword [rsi + 8]
cmp rbx, rax
je 0x140008d37
sub r14, rbx
nop word [rax + rax]
xorps xmm0, xmm0
movups xmm1, xmmword [rbx]
movups xmmword [rbx], xmm0
movups xmmword [rbx + r14], xmm1
add rbx, 0x10
cmp rbx, rax
jne 0x140008d20
mov rcx, qword [rsi]
test rcx, rcx
je 0x140008d90
mov rdx, qword [rsi + 8]
mov rax, rcx
cmp rcx, rdx
je 0x140008d5f
nop dword [rax + rax]
cmp dword [rax + 8], 0
jne 0x140008dd0
add rax, 0x10
cmp rax, rdx
jne 0x140008d50
mov rdx, qword [rsi + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
cmp rdx, 0x1000
jb 0x140008d8b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140008dd7
mov rcx, r8
call fcn.140013a6c
mov qword [rsi], rdi
shl r13, 4
add r13, rdi
mov qword [rsi + 8], r13
lea rcx, [r15 + rdi]
mov qword [rsi + 0x10], rcx
mov rax, r12
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140013a10
lea r11, [rsp + 0x60]
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]
nop
mov dword [r12 + 8], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.1400011f0
int3
call fcn.140001530
int3