Function at 0x140005990
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, 0x90
mov rax, qword [0x140084080]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x68], r9
mov rsi, rdx
mov r15, rcx
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x48], rax
mov rdx, qword [rcx]
mov rbx, rsi
sub rbx, rdx
mov rax, qword [rcx + 8]
sub rax, rdx
sar rax, 4
movabs r8, 0xfffffffffffffff
cmp rax, r8
je 0x140005d02
lea rdi, [rax + 1]
mov qword [rsp + 0x60], rdi
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 0x140005cfc
lea rax, [rdx + rcx]
mov rcx, rdi
cmp rax, rdi
cmovae rcx, rax
cmp rcx, r8
ja 0x140005cfc
mov r13, rcx
shl r13, 4
mov qword [rsp + 0x50], rcx
test r13, r13
jne 0x140005a56
xor r14d, r14d
mov qword [rsp + 0x50], rcx
jmp 0x140005a93
cmp r13, 0x1000
jb 0x140005a88
lea rcx, [r13 + 0x27]
cmp rcx, r13
jbe 0x140005cfc
call fcn.140067360
test rax, rax
je 0x140005ce3
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x140005a93
mov rcx, r13
call fcn.140067360
mov r14, rax
mov qword [rsp + 0x40], r14
and rbx, 0xfffffffffffffff0
lea rax, [rbx + r14]
mov qword [rsp + 0x30], rax
lea r12, [rax + 0x10]
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x38], r12
mov ecx, 0x40
call fcn.140067360
mov rdx, rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xf8]
mov rcx, qword [rax]
mov qword [rdx], rcx
lea rbx, [rdx + 8]
mov qword [rsp + 0x80], rbx
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx + 8]
sub rax, qword [rcx]
je 0x140005b39
mov rdx, rax
mov rcx, rbx
call fcn.1400056c0
mov rdi, qword [rbx]
mov rax, qword [rsp + 0x48]
mov rbx, qword [rax + 8]
mov rdx, qword [rax]
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rdi]
mov rdx, qword [rsp + 0x58]
mov qword [rdx + 0x10], rax
mov rdi, qword [rsp + 0x60]
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rax]
mov qword [rdx + 0x20], rcx
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax]
mov qword [rdx + 0x28], rcx
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov qword [rdx + 0x30], rax
lea rax, [0x140002a60]
mov qword [rdx + 0x38], rax
mov qword [rsp + 0x80], rdx
mov rbx, qword [rsp + 0x30]
add rbx, 8
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rdx
lea r8, [0x140006020]
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 0x140005cea
mov qword [rsp + 0x38], rcx
mov rdx, qword [r15 + 8]
mov rax, qword [r15]
cmp rsi, rdx
jne 0x140005be8
cmp rax, rdx
je 0x140005c37
mov rcx, r14
sub rcx, rax
nop dword [rax]
xorps xmm0, xmm0
movups xmm1, xmmword [rax]
movups xmmword [rax], xmm0
movups xmmword [rcx + rax], xmm1
add rax, 0x10
cmp rax, rdx
jne 0x140005bd0
jmp 0x140005c37
cmp rax, rsi
je 0x140005c09
mov rcx, r14
sub rcx, rax
xorps xmm0, xmm0
movups xmm1, xmmword [rax]
movups xmmword [rax], xmm0
movups xmmword [rcx + rax], xmm1
add rax, 0x10
cmp rax, rsi
jne 0x140005bf3
mov qword [rsp + 0x38], r14
mov rax, qword [r15 + 8]
cmp rsi, rax
je 0x140005c37
sub r12, rsi
nop word [rax + rax]
xorps xmm0, xmm0
movups xmm1, xmmword [rsi]
movups xmmword [rsi], xmm0
movups xmmword [r12 + rsi], xmm1
add rsi, 0x10
cmp rsi, rax
jne 0x140005c20
mov rcx, qword [r15]
test rcx, rcx
je 0x140005c94
mov rdx, qword [r15 + 8]
mov rax, rcx
cmp rcx, rdx
je 0x140005c63
nop dword [rax + rax]
cmp dword [rax + 8], 0
jne 0x140005cdc
add rax, 0x10
cmp rax, rdx
jne 0x140005c50
mov rdx, qword [r15 + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
cmp rdx, 0x1000
jb 0x140005c8f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005ce3
mov rcx, r8
call fcn.1400675dc
mov qword [r15], r14
shl rdi, 4
add rdi, r14
mov qword [r15 + 8], rdi
lea rcx, [r14 + r13]
mov qword [r15 + 0x10], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140067340
lea r11, [rsp + 0x90]
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 [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.140001880
int3
call fcn.1400057b0
int3