Function at 0x1400183c0
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.14004a410
sub rsp, rax
mov rax, qword [0x140072040]
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 0x140018f32
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 0x140018484
inc rcx
test eax, eax
jne 0x140018470
test edx, edx
je 0x1400184a5
lea rdx, [rbp + 0x1b0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140018460
nop dword [rax]
jmp 0x140018f32
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 0x1400184c0
xorps xmm0, xmm0
movups xmmword [rbp + 0x170], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x180], xmm1
lea rax, [rbp + 0x30a]
cmp r9, rax
jne 0x14001852a
movdqa xmm0, xmmword [0x1400621c0]
movdqu xmmword [rbp + 0x180], xmm0
mov word [rbp + 0x170], si
jmp 0x140018547
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.140016be0
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 0x1400185ec
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword [rbp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400185e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400185e7
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140049760
movdqa xmm0, xmmword [0x1400621c0]
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 0x140018eda
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 0x140018eb4
movabs rbx, 0x7fffffffffffffff
cmp dword [rsp + 0x54], 0
je 0x140018eb4
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 0x140018f65
lfence
cmp r14, 0xf
ja 0x1400187c7
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 0x140018827
mov rdi, r14
or rdi, 0xf
cmp rdi, rbx
jbe 0x1400187d8
mov rdi, rbx
jmp 0x1400187e5
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 0x140018891
nop word [rax + rax]
cmp rdx, qword [rbp + 0x140]
ja 0x1400188c4
mov qword [rbp + 0x140], rdx
lea rax, [rbp + 0x130]
test r9b, r9b
cmovne rax, r8
mov byte [rax + rdx], sil
jmp 0x1400188da
lfence
sub rdx, qword [rbp + 0x140]
lea rcx, [rbp + 0x130]
call fcn.1400059e0
nop word [rax + rax]
test dil, dil
je 0x140018be5
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.1400198e0
nop
mov rax, 0xffffffffffffffff
nop dword [rax]
lea rax, [rax + 1]
cmp byte [rbx + rax], 0
jne 0x140018930
lea r8, [rax + rbx]
mov r14d, 1
mov r9d, r14d
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.140019b00
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 0x140018b44
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.14001a5e0
nop
xor r8d, r8d
lea rcx, [rbp + 0x40]
call fcn.14001b120
test al, al
je 0x1400189d4
mov sil, 1
jmp 0x140018a62
cmp rbx, rdi
je 0x140018a62
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.14001ada0
mov rbx, rax
cmp rax, rdi
je 0x140018a45
nop dword [rax]
mov qword ds:[rbp + 0xe8], rbx
xor r8d, r8d
lea rcx, [rbp + 0x40]
call fcn.14001b120
test al, al
jne 0x1400189cc
lea rdx, [rbx + 1]
xor r9d, r9d
mov r8, rdi
lea rcx, [rbp + 0x40]
call fcn.14001ada0
mov rbx, rax
cmp rax, rdi
jne 0x140018a10
mov qword [rbp + 0xe8], rdi
xor r8d, r8d
lea rcx, [rbp + 0x40]
call fcn.14001b120
movzx esi, sil
test al, al
cmovne esi, r14d
mov rcx, qword [rbp + 0xc0]
test rcx, rcx
je 0x140018ac6
mov rdx, qword ds:[rbp + 0xd0]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018aaa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018ea6
call fcn.140049760
xor eax, eax
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], rax
lea rcx, [rbp + 0x80]
call fcn.14001a3e0
lea rcx, [rbp + 0x40]
call fcn.14001a3e0
nop dword [rax + rax]
test sil, sil
je 0x140018b3d
mov rdx, r12
cmp qword [r12 + 0x18], 7
jbe 0x140018af4
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 0x140018b12
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 0x140018b91
mov eax, 0xffffffff
lock xadd dword [rdx + 0x2c], eax
cmp eax, 1
jne 0x140018b91
mov rbx, qword ds:[rsp + 0x68]
test rbx, rbx
je 0x140018b91
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 [0x14004fd98]
test rbx, rbx
jne 0x140018b70
mov qword ds:[rsp + 0x68], rsi
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140018e34
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14004fd98]
mov r8, rax
test rax, rax
je 0x140018e34
mov rcx, qword [rax]
mov rax, qword [rcx]
mov edx, r14d
mov rcx, r8
call qword [0x14004fd98]
nop dword [rax + rax]
jmp 0x140018e34
mov r8, r15
cmp qword [r15 + 0x18], 7
jbe 0x140018bf2
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 0x140018f6b
lfence
cmp r14, 0xf
ja 0x140018c73
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 0x140018cc3
mov rdi, r14
or rdi, 0xf
cmp rdi, rbx
jbe 0x140018c84
mov rdi, rbx
jmp 0x140018c91
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 0x140018ce7
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 0x140018d33
nop dword [rax]
cmp rdx, qword [rbp + 0x160]
ja 0x140018d64
mov qword [rbp + 0x160], rdx
lea rax, [rbp + 0x150]
test r9b, r9b
cmovne rax, r8
mov byte [rax + rdx], sil
jmp 0x140018d7a
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.140019ca0
cmp rax, 0xffffffffffffffff
je 0x140018e27
lfence
mov rdx, r12
cmp qword [r12 + 0x18], 7
jbe 0x140018ddd
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 0x140018dfb
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 0x140018e76
inc rdx
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018e71
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018ead
call fcn.140049760
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 0x140018eb4
movzx edi, byte [rsp + 0x50]
jmp 0x140018728
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 0x140018f32
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018f2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018f2d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140049760
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x1310]
xor rcx, rsp
call fcn.140049740
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