Function at 0x140016d20
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create process suspended
Enumerate processes
Read file on windows

Disassembly:
mov qword ss:[rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1320]
mov eax, 0x1420
call fcn.140048fb0
sub rsp, rax
mov rax, qword [0x140071040]
xor rax, rsp
mov qword [rbp + 0x1310], rax
mov r12, r9
movzx edi, r8b
mov byte [rsp + 0x50], r8b
mov r15, rdx
mov rbx, rcx
xor esi, esi
xor edx, edx
mov r8d, 0x12c
lea rcx, [rbp + 0x1b4]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x1b0], 0x130
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r13, rax
lea rdx, [rbp + 0x1b0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140017892
nop word [rax + rax]
lea rcx, [rbp + 0x1dc]
mov r8, rbx
sub r8, rcx
nop dword [rax]
movzx edx, byte [rcx]
movzx eax, byte [rcx + r8]
sub edx, eax
jne 0x140016de4
inc rcx
test eax, eax
jne 0x140016dd0
test edx, edx
je 0x140016e05
lea rdx, [rbp + 0x1b0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140016dc0
nop dword [rax]
jmp 0x140017892
lea r9, [rbp + 0x30a]
mov r8d, dword [rbp + 0x1b8]
nop dword [rax]
nop word [rax + rax]
sub r9, 2
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8d, edx
test edx, edx
jne 0x140016e20
xorps xmm0, xmm0
movups xmmword [rbp + 0x170], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x180], xmm1
lea rax, [rbp + 0x30a]
cmp r9, rax
jne 0x140016e8a
movdqa xmm0, xmmword [0x140060dd0]
movdqu xmmword [rbp + 0x180], xmm0
mov word [rbp + 0x170], si
jmp 0x140016ea7
lea r8, [rbp + 0x30a]
sub r8, r9
sar r8, 1
mov rdx, r9
lea rcx, [rbp + 0x170]
call fcn.1400066a0
nop
mov r9d, 0xe
lea r8, str.memory.exe__p
lea rcx, [rbp + 0x170]
call fcn.140015540
xorps xmm0, xmm0
movups xmmword [rbp + 0x190], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1a0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x190], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1a0], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rbp + 0x188]
cmp rdx, 7
jbe 0x140016f4c
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword [rbp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016f47
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016f47
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140048300
movdqa xmm0, xmmword [0x140060dd0]
movdqu xmmword [rbp + 0x180], xmm0
mov word [rbp + 0x170], si
mov qword [rbp - 0x70], 0x18
mov qword [rbp - 0x60], 1
mov r14d, 1
mov qword [rbp - 0x68], rsi
xor r9d, r9d
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
xor r8d, r8d
mov edx, r14d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov dword [rbp - 0x30], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
movups xmmword [rbp + 0x18], xmm0
movups xmmword [rbp + 0x28], xmm0
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0x28], rax
psrldq xmm0, 4
movd eax, xmm0
or eax, 0x101
mov dword [rbp + 0xc], eax
mov word [rbp + 0x10], si
lea rdx, [rbp + 0x190]
cmp qword [rbp + 0x1a8], 7
cmova rdx, qword [rbp + 0x190]
lea rax, [rbp - 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14001783a
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x310]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x54]
mov r8d, 0x1000
lea rdx, [rbp + 0x310]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop dword [rax]
test eax, eax
je 0x140017814
movabs rbx, 0x7fffffffffffffff
cmp dword [rsp + 0x54], 0
je 0x140017814
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r9d, 0xffffffff
lea r8, [rbp + 0x310]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd r14, eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x130], xmm0
xor eax, eax
mov qword [rbp + 0x140], rax
mov qword [rbp + 0x148], rax
cmp r14, rbx
ja 0x1400178c5
lfence
cmp r14, 0xf
ja 0x140017127
mov qword [rbp + 0x140], r14
mov qword [rbp + 0x148], 0xf
mov r8, r14
xor edx, edx
lea rcx, [rbp + 0x130]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + r14 + 0x130], 0
jmp 0x140017187
mov rdi, r14
or rdi, 0xf
cmp rdi, rbx
jbe 0x140017138
mov rdi, rbx
jmp 0x140017145
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rcx, [rdi + 1]
call fcn.1400069a0
mov rbx, rax
mov qword [rbp + 0x130], rax
mov qword [rbp + 0x140], r14
mov qword [rbp + 0x148], rdi
mov r8, r14
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + r14], 0
movzx edi, byte [rsp + 0x50]
movabs rbx, 0x7fffffffffffffff
lea rax, [rbp + 0x130]
cmp qword [rbp + 0x148], 0xf
cmova rax, qword [rbp + 0x130]
xor esi, esi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
lea r9d, [rsi - 1]
lea r8, [rbp + 0x310]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rcx, [rbp + 0x130]
cmp qword [rbp + 0x148], 0xf
seta r9b
mov r8, qword [rbp + 0x130]
cmova rcx, r8
mov rdx, 0xffffffffffffffff
inc rdx
cmp byte [rcx + rdx], sil
jne 0x1400171f1
nop word [rax + rax]
cmp rdx, qword [rbp + 0x140]
ja 0x140017224
mov qword [rbp + 0x140], rdx
lea rax, [rbp + 0x130]
test r9b, r9b
cmovne rax, r8
mov byte [rax + rdx], sil
jmp 0x14001723a
lfence
sub rdx, qword [rbp + 0x140]
lea rcx, [rbp + 0x130]
call fcn.1400059e0
nop word [rax + rax]
test dil, dil
je 0x140017545
lea rbx, [rbp + 0x130]
cmp qword [rbp + 0x148], 0xf
cmova rbx, qword [rbp + 0x130]
mov qword [rsp + 0x68], rsi
lea rax, [rsp + 0x70]
mov qword [rbp - 0x40], rax
mov cl, 1
call qword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Init_bool_]
mov qword ds:[rbp - 0x78], rax
lea rcx, [rsp + 0x70]
call fcn.140018240
nop
mov rax, 0xffffffffffffffff
nop dword [rax]
lea rax, [rax + 1]
cmp byte [rbx + rax], 0
jne 0x140017290
lea r8, [rax + rbx]
mov r14d, 1
mov r9d, r14d
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.140018460
nop
lea rbx, [rbp + 0x130]
cmp qword [rbp + 0x148], 0xf
cmova rbx, qword [rbp + 0x130]
mov rdi, qword [rbp + 0x140]
add rdi, rbx
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x1400174a4
xor sil, sil
mov eax, dword [rdx + 0x20]
mov ecx, dword [rdx + 0x28]
mov dword [rsp + 0x38], 0x10
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x70]
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp + 0x40]
call fcn.140018c80
nop
xor r8d, r8d
lea rcx, [rbp + 0x40]
call fcn.1400197c0
test al, al
je 0x140017334
mov sil, 1
jmp 0x1400173c2
cmp rbx, rdi
je 0x1400173c2
mov eax, dword ds:[rbp + 0xfc]
btr eax, 0xd
bts eax, 8
mov dword [rbp + 0xfc], eax
lea rdx, [rbx + 1]
xor r9d, r9d
mov r8, rdi
lea rcx, [rbp + 0x40]
call fcn.140019440
mov rbx, rax
cmp rax, rdi
je 0x1400173a5
nop dword [rax]
mov qword ds:[rbp + 0xe8], rbx
xor r8d, r8d
lea rcx, [rbp + 0x40]
call fcn.1400197c0
test al, al
jne 0x14001732c
lea rdx, [rbx + 1]
xor r9d, r9d
mov r8, rdi
lea rcx, [rbp + 0x40]
call fcn.140019440
mov rbx, rax
cmp rax, rdi
jne 0x140017370
mov qword [rbp + 0xe8], rdi
xor r8d, r8d
lea rcx, [rbp + 0x40]
call fcn.1400197c0
movzx esi, sil
test al, al
cmovne esi, r14d
mov rcx, qword [rbp + 0xc0]
test rcx, rcx
je 0x140017426
mov rdx, qword ds:[rbp + 0xd0]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001740a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017806
call fcn.140048300
xor eax, eax
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], rax
lea rcx, [rbp + 0x80]
call fcn.140018a80
lea rcx, [rbp + 0x40]
call fcn.140018a80
nop dword [rax + rax]
test sil, sil
je 0x14001749d
mov rdx, r12
cmp qword [r12 + 0x18], 7
jbe 0x140017454
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140008ee0
mov rdx, r15
cmp qword [r15 + 0x18], 7
jbe 0x140017472
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
mov rcx, rax
call fcn.140008ee0
lea rdx, str.._This_is_bannable.
mov rcx, rax
call fcn.1400064a0
lea rdx, [0x140008380]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor esi, esi
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x1400174f1
mov eax, 0xffffffff
lock xadd dword [rdx + 0x2c], eax
cmp eax, 1
jne 0x1400174f1
mov rbx, qword ds:[rsp + 0x68]
test rbx, rbx
je 0x1400174f1
nop word [rax + rax]
mov rcx, rbx
lea rax, [rbx + 0x10]
mov rbx, qword [rax]
mov qword [rax], rsi
mov rax, qword [rcx]
mov edx, r14d
mov rax, qword [rax]
call qword [0x14004ed88]
test rbx, rbx
jne 0x1400174d0
mov qword ds:[rsp + 0x68], rsi
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140017794
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14004ed88]
mov r8, rax
test rax, rax
je 0x140017794
mov rcx, qword [rax]
mov rax, qword [rcx]
mov edx, r14d
mov rcx, r8
call qword [0x14004ed88]
nop dword [rax + rax]
jmp 0x140017794
mov r8, r15
cmp qword [r15 + 0x18], 7
jbe 0x140017552
mov r8, qword [r15]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd r14, eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x150], xmm0
xor eax, eax
mov qword [rbp + 0x160], rax
mov qword [rbp + 0x168], rax
cmp r14, rbx
ja 0x1400178cb
lfence
cmp r14, 0xf
ja 0x1400175d3
mov qword [rbp + 0x160], r14
mov qword [rbp + 0x168], 0xf
mov r8, r14
xor edx, edx
lea rcx, [rbp + 0x150]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + r14 + 0x150], sil
jmp 0x140017623
mov rdi, r14
or rdi, 0xf
cmp rdi, rbx
jbe 0x1400175e4
mov rdi, rbx
jmp 0x1400175f1
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rcx, [rdi + 1]
call fcn.1400069a0
mov rbx, rax
mov qword [rbp + 0x150], rax
mov qword [rbp + 0x160], r14
mov qword [rbp + 0x168], rdi
mov r8, r14
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + r14], sil
lea rax, [rbp + 0x150]
cmp qword [rbp + 0x168], 0xf
cmova rax, qword [rbp + 0x150]
mov r8, r15
cmp qword [r15 + 0x18], 7
jbe 0x140017647
mov r8, qword [r15]
xor esi, esi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rsi - 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rcx, [rbp + 0x150]
cmp qword [rbp + 0x168], 0xf
seta r9b
mov r8, qword [rbp + 0x150]
cmova rcx, r8
mov rdx, 0xffffffffffffffff
inc rdx
cmp byte [rcx + rdx], sil
jne 0x140017693
nop dword [rax]
cmp rdx, qword [rbp + 0x160]
ja 0x1400176c4
mov qword [rbp + 0x160], rdx
lea rax, [rbp + 0x150]
test r9b, r9b
cmovne rax, r8
mov byte [rax + rdx], sil
jmp 0x1400176da
lfence
sub rdx, qword [rbp + 0x160]
lea rcx, [rbp + 0x150]
call fcn.1400059e0
lea r9, ds:[rbp + 0x150]
cmp qword [rbp + 0x168], 0xf
cmova r9, qword [rbp + 0x150]
lea rcx, [rbp + 0x130]
cmp qword [rbp + 0x148], 0xf
cmova rcx, qword [rbp + 0x130]
mov rax, qword [rbp + 0x160]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rbp + 0x140]
call fcn.140018600
cmp rax, 0xffffffffffffffff
je 0x140017787
lfence
mov rdx, r12
cmp qword [r12 + 0x18], 7
jbe 0x14001773d
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140008ee0
mov rdx, r15
cmp qword [r15 + 0x18], 7
jbe 0x14001775b
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
mov rcx, rax
call fcn.140008ee0
lea rdx, str.._This_is_bannable.
mov rcx, rax
call fcn.1400064a0
lea rdx, [0x140008380]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
lea rcx, [rbp + 0x150]
call fcn.140005960
nop
mov rdx, qword ds:[rbp + 0x148]
cmp rdx, 0xf
jbe 0x1400177d6
inc rdx
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400177d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001780d
call fcn.140048300
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x54]
mov r8d, 0x1000
lea rdx, [rbp + 0x310]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140017814
movzx edi, byte [rsp + 0x50]
jmp 0x140017088
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword ds:[rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x1a8]
cmp rdx, 7
jbe 0x140017892
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001788d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001788d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140048300
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x1310]
xor rcx, rsp
call fcn.1400482e0
mov rbx, qword [rsp + 0x1460]
add rsp, 0x1420
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140003f80
nop
call fcn.140003f80
int3