Function at 0x7ff6989ed050
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x7ff698a89018]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14d, r8d
mov r15, rdx
xor edx, edx
cmp ecx, 0x7b
ja 0x7ff6989ed094
movsxd rax, ecx
lea rdx, [0x7ff698a88af0]
mov rdx, qword [rdx + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], 0
mov edi, 0xf
mov qword [rbp - 0x10], rdi
mov byte [rbp - 0x28], 0
test rdx, rdx
jne 0x7ff6989ed0da
mov qword [rbp - 0x18], 0xa
movsd xmm0, qword [0x7ff698a666b0]
movsd qword [rbp - 0x28], xmm0
movzx eax, word [0x7ff698a666b8]
mov word [rbp - 0x20], ax
mov byte [rbp - 0x1e], dl
jmp 0x7ff6989ed0f8
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x7ff6989ed0e1
lea rcx, [rbp - 0x28]
call fcn.7ff6989f38e0
mov rdi, qword [rbp - 0x10]
cmp r14d, 1
jne 0x7ff6989ed22f
cmp rdi, 7
jb 0x7ff6989ed139
lea rbx, [rbp - 0x28]
cmp rdi, 0x10
cmovae rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], 7
lea r8d, [r14 + 6]
lea rdx, [0x7ff698a666c0]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + 7], 0
jmp 0x7ff6989ed22b
mov rcx, rdi
shr rcx, 1
movabs rsi, 0x7fffffffffffffff
mov rax, rsi
sub rax, rcx
cmp rdi, rax
jbe 0x7ff6989ed181
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.7ff698a5c02c
test rax, rax
je 0x7ff6989ed21b
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x7ff6989ed1be
lea rax, [rcx + rdi]
mov esi, 0xf
cmp rax, rsi
cmova rsi, rax
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x7ff6989ed1ad
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x7ff6989ed2df
jmp 0x7ff6989ed162
test rcx, rcx
je 0x7ff6989ed1bc
call fcn.7ff698a5c02c
mov rbx, rax
jmp 0x7ff6989ed1be
xor ebx, ebx
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x10], rsi
mov rax, qword [0x7ff698a666c0]
mov dword [rbx], eax
movzx eax, word [0x7ff698a666c4]
mov word [rbx + 4], ax
movzx eax, byte [0x7ff698a666c6]
mov byte [rbx + 6], al
mov byte [rbx + 7], 0
cmp rdi, 0x10
jb 0x7ff6989ed227
lea rdx, [rdi + 1]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6989ed222
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff6989ed222
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff698a5b9ac
mov qword [rbp - 0x28], rbx
mov rdi, qword [rbp - 0x10]
mov dword [rbp - 0x30], 0x42aa0000
mov dword [rbp - 0x2c], 0x41a00000
lea rcx, [rbp - 0x28]
cmp rdi, 0x10
cmovae rcx, qword [rbp - 0x28]
lea rdx, [rbp - 0x30]
call fcn.7ff6989d6fa0
test al, al
je 0x7ff6989ed27b
test r14d, r14d
jne 0x7ff6989ed27b
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8, r15
xor edx, edx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_CreateThread]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x7ff6989ed2b9
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6989ed2b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff6989ed2b4
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff698a5b9ac
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.7ff698a5be00
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.7ff6989f2c60
nop
int3