Function at 0x1400adb60
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x14016f8a0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, r9
lea rax, [0x1400ae000]
mov rbp, r8
mov qword [rsp + 0x58], rax
mov r15, rdx
lea r8, [rsp + 0x58]
mov rdi, rcx
lea rdx, [0x1400ae0a0]
xor r14d, r14d
lea rcx, [0x140177fb0]
xor r9d, r9d
mov qword [rsp + 0x60], r14
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
mov ebx, r14d
test rsi, rsi
je 0x1400adbe3
mov rbx, qword [rsi]
test rbx, rbx
cmove rbx, r14
cmp dword [rsi + 0xc], 1
jne 0x1400adbe3
mov r13b, 1
mov dword [rdi + 8], 4
jmp 0x1400adbe6
xor r13b, r13b
mov rcx, qword [rdi]
mov r12d, 1
mov edx, r12d
mov r8d, 0x50
call fcn.1400a2dd0
mov rcx, qword [rdi]
mov r14, rax
mov qword [rax], rcx
mov qword [rax + 0x20], rbp
mov qword [rax + 0x18], r15
movups xmm0, xmmword [rdi]
movups xmmword [rax + 0x30], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rax + 0x40], xmm1
test r13b, r13b
je 0x1400adc27
call fcn.1400a8d80
lea rax, [rdi + 0x18]
xor r15d, r15d
mov qword [rsp + 0x28], rax
lea r8, [0x1400ae0c0]
mov r9, r14
mov dword [rsp + 0x20], r15d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x10], rax
test rax, rax
jne 0x1400adc6d
call fcn.1400a8d40
lea ecx, [r15 + 0xc]
call fcn.1400a32b0
lea eax, [r15 - 1]
jmp 0x1400adf65
test rsi, rsi
je 0x1400adf47
cmp qword [rsi + 0x10], r15
lea rdx, [rsi + 0x10]
jbe 0x1400adcb6
cmp qword [0x140177fe0], r15
je 0x1400adcb6
mov rcx, qword [rdi]
call fcn.1400a57a0
mov rbx, rax
test rax, rax
je 0x1400adcb6
mov rcx, rax
call fcn.140048db0
mov rcx, qword [rdi + 0x10]
mov rdx, rax
call qword [0x140177fe0]
mov rcx, rbx
call fcn.1400a59a0
cmp dword [rsi + 8], r15d
jl 0x1400adf47
call fcn.1400a3910
mov rbx, rax
test rax, rax
je 0x1400add06
mov r8, qword [rax]
mov edx, 2
mov rcx, rax
call qword [rhtons + 8]
cmp eax, 4
jl 0x1400add06
mov ecx, dword [rsi + 8]
lea r9, str.id_p:_cpu_affinity_of_cpu_id__i_was_specified__attempting_to_honor_the_value.
mov r10, qword [rbx]
mov edx, 4
mov dword [rsp + 0x28], ecx
mov rcx, rbx
mov qword [rsp + 0x20], rdi
lea r8d, [rdx - 2]
call qword [r10]
mov r14d, dword [rsi + 8]
lea rax, [0x1400adfa0]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x48]
mov qword [rsp + 0x50], r15
lea rdx, [0x1400ae0a0]
xor bpl, bpl
lea rcx, [0x140177fb8]
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
cmp qword [0x140177fc0], r15
je 0x1400add80
mov rax, qword [0x140177fc8]
test rax, rax
je 0x1400add80
call rax
movzx ebx, ax
mov esi, r15d
test ebx, ebx
je 0x1400add80
nop dword [rax + rax]
xor ecx, ecx
call qword [0x140177fc0]
lea ecx, [rax + rsi]
cmp ecx, r14d
ja 0x1400add79
mov esi, ecx
add ebx, r12d
jne 0x1400add60
jmp 0x1400add80
movzx ebp, r14b
sub bpl, sil
movzx ecx, bpl
xorps xmm0, xmm0
shl r12, cl
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x58], r12
call fcn.1400a3910
mov rbx, rax
test rax, rax
je 0x1400adde6
mov r8, qword [rax]
mov edx, 2
mov rcx, rax
call qword [rhtons + 8]
cmp eax, 5
jl 0x1400adde6
movzx ecx, word [rsp + 0x60]
lea r9, str.id_p:_computed_mask__llx_on_group__hu.
mov rax, qword [rsp + 0x58]
mov edx, 5
mov r10, qword [rbx]
mov dword [rsp + 0x30], ecx
mov rcx, rbx
mov qword [rsp + 0x28], rax
lea r8d, [rdx - 3]
mov qword [rsp + 0x20], rdi
call qword [r10]
mov rax, qword [0x140177fd0]
test rax, rax
je 0x1400adf47
cmp qword [0x140177fd8], r15
je 0x1400adf47
mov rcx, qword [rdi + 0x10]
lea rdx, [rsp + 0x58]
xor r8d, r8d
call rax
mov esi, eax
call fcn.1400a3910
mov rbx, rax
test rax, rax
je 0x1400ade5a
mov r8, qword [rax]
mov edx, 2
mov rcx, rax
call qword [rhtons + 8]
cmp eax, 5
jl 0x1400ade5a
mov r10, qword [rbx]
lea r9, str.id_p:_SetThreadGroupAffinity___result__hhi.
mov edx, 5
movsx ecx, sil
mov dword [rsp + 0x28], ecx
mov rcx, rbx
mov qword [rsp + 0x20], rdi
lea r8d, [rdx - 3]
call qword [r10]
test esi, esi
je 0x1400adefe
mov rcx, qword [rdi + 0x10]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], r15d
xor r8d, r8d
mov byte [rsp + 0x42], bpl
call qword [0x140177fd8]
mov esi, eax
call fcn.1400a3910
mov rbx, rax
test rax, rax
je 0x1400adec7
mov r8, qword [rax]
mov edx, 2
mov rcx, rax
call qword [rhtons + 8]
cmp eax, 5
jl 0x1400adec7
mov r10, qword [rbx]
lea r9, str.id_p:_SetThreadIdealProcessorEx___result__hhi.
mov edx, 5
movsx ecx, sil
mov dword [rsp + 0x28], ecx
mov rcx, rbx
mov qword [rsp + 0x20], rdi
lea r8d, [rdx - 3]
call qword [r10]
test esi, esi
jne 0x1400adf47
call fcn.1400a3910
mov rsi, rax
test rax, rax
je 0x1400adf47
mov r8, qword [rax]
mov edx, 2
mov rcx, rax
call qword [rhtons + 8]
cmp eax, 3
jl 0x1400adf47
mov rbx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.id_p:_SetThreadIdealProcessorEx___failed_with__x.
jmp 0x1400adf2f
call fcn.1400a3910
mov rsi, rax
test rax, rax
je 0x1400adf47
mov r8, qword [rax]
mov edx, 2
mov rcx, rax
call qword [rhtons + 8]
cmp eax, 3
jl 0x1400adf47
mov rbx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.id_p:_SetThreadGroupAffinity___failed_with__x.
mov r8d, 2
mov dword [rsp + 0x28], eax
mov rcx, rsi
mov qword [rsp + 0x20], rdi
lea edx, [r8 + 1]
call qword [rbx]
test r13b, r13b
je 0x1400adf5c
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x10], r15
jmp 0x1400adf63
mov dword [rdi + 8], 2
xor eax, eax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400b91a0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret