Function at 0x1400022f0
Capabilities:
Create thread
Terminate process
Terminate thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x88], rax
call fcn.140002098
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x58], 0x18
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x68], 0
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xa0]
mov qword [rax + 0x18], rcx
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x40]
lea r8, [0x140002858]
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x20], 0
jne 0x1400023e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0xa
lea rdx, [0x14000a8c0]
mov ecx, eax
call sub.api_ms_win_crt_convert_l1_1_0.dll__itoa
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
lea rcx, str.Failed_to_create_ReadShell_session_thread__error___s
call fcn.140003198
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x18], 0xffffffffffffffff
xor eax, eax
jmp 0x14000266d
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x40]
lea r8, [0x140002a24]
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x28], rax
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x28], 0
jne 0x14000248f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0xa
lea rdx, [0x14000a8c0]
mov ecx, eax
call sub.api_ms_win_crt_convert_l1_1_0.dll__itoa
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
lea rcx, str.Failed_to_create_ReadShell_session_thread__error___s
call fcn.140003198
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x18], 0xffffffffffffffff
xor edx, edx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
xor eax, eax
jmp 0x14000266d
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x20]
mov qword [rsp + rax + 0x70], rcx
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x28]
mov qword [rsp + rax + 0x70], rcx
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x10]
mov qword [rsp + rax + 0x70], rcx
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x140002510
cmp dword [rsp + 0x48], 1
je 0x14000253b
cmp dword [rsp + 0x48], 2
je 0x140002563
jmp 0x140002588
xor edx, edx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, 1
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
jmp 0x1400025d3
xor edx, edx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, 1
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
jmp 0x1400025d3
xor edx, edx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
xor edx, edx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
nop
jmp 0x1400025d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0xa
lea rdx, [0x14000a8c0]
mov ecx, eax
call sub.api_ms_win_crt_convert_l1_1_0.dll__itoa
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
lea rcx, str.WaitForMultipleObjects_error:__s
call fcn.140003198
nop
mov edx, 2
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.WS2_32.dll_shutdown]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140005ff0
add rsp, 0x98
ret