Function at 0x140022b20
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov ecx, dword [0x1414d3c40]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x1414ce0b0], eax
jg 0x140022bae
lea rax, [0x140485020]
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rdx, r14
lea rcx, [0x140485028]
call fcn.14000ada0
lea rax, [0x140303d48]
mov qword [0x140485020], rax
lea rcx, [0x1402f80e0]
call fcn.1402b8654
nop
lea rcx, [0x1414ce0b0]
call fcn.1402b8794
jmp 0x140022b57
lea rcx, [0x1414ce0b0]
call fcn.1402b87f4
cmp dword [0x1414ce0b0], 0xffffffff
jne 0x140022b57
mov ecx, 0x130
call fcn.1402b8280
mov r14, rax
mov qword [rsp + 0xb0], rax
xor edi, edi
test rax, rax
je 0x140022e20
mov qword [rax], rdi
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 0xffffffff
mov byte [rax + 0x14], dil
lea rcx, [rax + 0x18]
lea edx, [rdi + 2]
call fcn.1402b69a8
nop
lea rcx, [r14 + 0x68]
call fcn.1402b6af0
nop
lea rcx, [r14 + 0xb0]
call fcn.1402b6af0
nop
lea rbx, [r14 + 0xf8]
mov qword [rsp + 0xb8], rbx
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
lea ecx, [rdi + 0x38]
call fcn.1402b8280
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
lea r15, [r14 + 0x108]
mov qword [rsp + 0xb8], r15
mov qword [r15], rdi
mov qword [r15 + 8], rdi
lea ecx, [rdi + 0x20]
call fcn.1402b8280
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [r15], rax
mov qword [r14 + 0x118], rdi
mov qword [r14 + 0x120], rdi
mov qword [r14 + 0x128], rdi
lea ecx, [rdi + 0x10]
call fcn.1402b8280
mov qword [r14 + 0x118], rax
add rax, 0x10
mov qword [r14 + 0x128], rax
mov rax, qword [r14 + 0x118]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
lea r12, [rax + 0x10]
mov qword [r14 + 0x120], r12
mov rsi, qword [r14 + 0x118]
cmp rsi, r12
je 0x140022e00
movabs r13, 0x7ffffffffffffff
nop
mov ecx, 8
call fcn.1402b8280
test rax, rax
je 0x140022cf4
mov qword [rax], r14
jmp 0x140022cf7
mov rax, rdi
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x14000b2b0]
xor edx, edx
xor ecx, ecx
call fcn.1402c453c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140022e11
cmp dword [rsi + 8], 0
jne 0x140022e0b
xorps xmm0, xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movups xmmword [rsi], xmm1
mov ebx, dword [rsi + 8]
mov rbp, qword [r15]
mov rax, qword [rbp + 8]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], edi
mov rcx, rbp
cmp byte [rax + 0x19], 0
jne 0x140022d8d
mov qword [rsp + 0x50], rax
cmp dword [rax + 0x1c], ebx
jae 0x140022d79
mov dword [rsp + 0x58], edi
mov rax, qword [rax + 0x10]
jmp 0x140022d87
mov dword [rsp + 0x58], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140022d65
cmp byte [rcx + 0x19], 0
jne 0x140022d98
cmp ebx, dword [rcx + 0x1c]
jae 0x140022de6
cmp qword [r15 + 8], r13
je 0x140022e05
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], rdi
mov ecx, 0x20
call fcn.1402b8280
nop
mov dword [rax + 0x1c], ebx
mov qword [rax], rbp
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rbp
mov word [rax + 0x18], 0
mov qword [rsp + 0x48], rdi
movups xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
mov r8, rax
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.140011e70
mov edx, 2
mov rcx, rsi
call fcn.140023a20
add rsi, 0x10
cmp rsi, r12
jne 0x140022ce0
jmp 0x140022b76
call fcn.140012ba0
int3
call fcn.1402c43f0
nop
mov dword [rsp + 0x38], edi
mov ecx, 6
call fcn.1402b6e64
nop
mov r14, rdi
jmp 0x140022b76