Function at 0x140003740
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create two anonymous pipes
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x14001c040]
xor rax, rsp
mov qword [rbp + 0x128], rax
mov r15, rdx
mov rsi, rcx
xor r12d, r12d
mov qword [rbp - 0x68], 0x18
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x60], r12
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rax
mov dword [rbp - 0x50], 0x68
psrldq xmm0, 0xc
movd eax, xmm0
or eax, 0x101
mov dword [rbp - 0x14], eax
mov word [rbp - 0x10], r12w
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xf0], rax
mov qword [rbp - 0x78], r12
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x80], r12
xor r9d, r9d
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x14000474a
xor r9d, r9d
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x14000474a
mov rax, qword [rsp + 0x78]
mov qword [rbp + 8], rax
mov rax, qword [rbp - 0x80]
mov qword [rbp + 0x10], rax
mov r10, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140003848
mov r10, qword [rsi]
cmp qword [rsi + 0x10], 6
jb 0x14000389c
mov r8, r10
lea r11, str.asuser
nop dword [rax]
cmp word [r8], 0x61
jne 0x140003891
mov edx, 6
mov rcx, r11
mov r9, r8
sub r9, r11
movzx eax, word [rcx + r9]
cmp ax, word [rcx]
jne 0x140003891
add rcx, 2
sub rdx, 1
jne 0x140003875
sub r8, r10
sar r8, 1
jmp 0x1400038a3
cmp r8, r10
je 0x14000389c
sub r8, 2
jmp 0x140003860
mov r8, 0xffffffffffffffff
mov rax, qword [rsi + 0x10]
test r8, r8
jne 0x140003bb7
cmp rax, 6
je 0x140003a9d
mov rax, rsi
cmp qword [rsi + 0x18], 7
jbe 0x1400038c7
mov rax, qword [rsi]
cmp word [rax + 0xc], 0x20
jne 0x140003a9d
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd0], xmm1
mov r8d, 0x1f
lea rdx, str.Command_completed_successfully_
lea rcx, [rbp + 0xc0]
call fcn.1400093f0
nop
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x80]
call fcn.140002c80
nop
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], 0xf
cmova rdx, qword [rbp + 0x80]
xor r9d, r9d
mov r8d, dword [rbp + 0x90]
mov rcx, qword [r15]
call qword [sym.imp.WS2_32.dll_send]
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
mov rax, qword [rsi + 0x10]
cmp rax, 7
jb 0x14000478d
add rax, 0xfffffffffffffff9
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
cmp qword [rsi + 0x18], 7
jbe 0x140003978
mov rsi, qword [rsi]
lea rdx, [rsi + 0xe]
lea rcx, [rbp + 0x60]
call fcn.1400093f0
nop
lea r8, [rbp + 0xe0]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x60]
call fcn.1400034f0
movzx ebx, al
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x1400039e0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400039db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400039db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400109f0
movdqa xmm0, xmmword [0x1400155f0]
movdqu xmmword [rbp + 0x70], xmm0
mov word [rbp + 0x60], r12w
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x140003a36
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003a31
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003a31
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400109f0
movdqa xmm0, xmmword [0x140015600]
movdqu xmmword [rbp + 0x90], xmm0
mov byte [rbp + 0x80], 0
mov rdx, qword [rbp + 0xd8]
cmp rdx, 7
jbe 0x140003f90
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003f8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003f8b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, str.Incorrect_command_format_after_asuser._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.1400087b0
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
mov r8d, 0x28
lea rdx, str.Incorrect_command_format_after_asuser.
lea rcx, [rbp + 0x40]
call fcn.1400093f0
nop
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0xa0]
call fcn.140002c80
lea rdx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0xf
cmova rdx, qword [rbp + 0xa0]
xor r9d, r9d
mov r8d, dword [rbp + 0xb0]
mov rcx, qword [r15]
call qword [sym.imp.WS2_32.dll_send]
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0xf
jbe 0x140003b54
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003b4f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400109f0
movdqa xmm0, xmmword [0x140015600]
movdqu xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xa0], 0
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x14000475d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003bad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003bad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400109f0
jmp 0x14000475d
mov r10, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140003bc4
mov r10, qword [rsi]
cmp rax, 6
jb 0x140004624
mov r8, r10
lea r11, str.system
nop dword [rax + rax]
cmp word [r8], 0x73
jne 0x140003ca0
mov edx, 6
mov rcx, r11
mov r9, r8
sub r9, r11
nop dword [rax]
movzx eax, word [rcx + r9]
cmp ax, word [rcx]
jne 0x140003ca0
add rcx, 2
sub rdx, 1
jne 0x140003c00
sub r8, r10
sar r8, 1
jne 0x140004624
cmp qword [rsi + 0x10], 6
je 0x1400043d7
mov rax, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140003c3c
mov rax, qword [rsi]
cmp word [rax + 0xc], 0x20
jne 0x1400043d7
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], r12
mov qword [rbp + 0xd8], r12
mov r8d, 0x1f
lea rdx, str.Command_completed_successfully_
lea rcx, [rbp + 0xc0]
call fcn.1400093f0
nop
cmp qword [rbp + 0xd0], 0
jne 0x140003cb2
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
movdqa xmm1, xmmword [0x140015600]
movdqu xmmword [rbp + 0x50], xmm1
mov byte [rbp + 0x40], 0
jmp 0x140003dd7
cmp r8, r10
je 0x140004624
sub r8, 2
jmp 0x140003be0
lea r8, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 7
cmova r8, qword [rbp + 0xc0]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.140008110
nop
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rcx, qword [rbp + 0x20]
lea r8, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 7
cmova r8, qword [rbp + 0xc0]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rcx, [rbx - 1]
mov rdx, qword [rbp + 0x30]
cmp rcx, rdx
ja 0x140003d6c
mov qword [rbp + 0x30], rcx
lea rax, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rax, qword [rbp + 0x20]
mov byte [rax + rcx], 0
jmp 0x140003db7
mov rdi, rcx
sub rdi, rdx
mov r8, qword [rbp + 0x38]
mov rax, r8
sub rax, rdx
cmp rdi, rax
ja 0x140003da8
mov qword [rbp + 0x30], rcx
lea rbx, [rbp + 0x20]
cmp r8, 0xf
cmova rbx, qword [rbp + 0x20]
add rbx, rdx
mov r8, rdi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rdi + rbx], 0
jmp 0x140003db7
mov r9, rdi
mov rdx, rdi
lea rcx, [rbp + 0x20]
call fcn.140009b90
movups xmm0, xmmword [rbp + 0x20]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rbp + 0x30]
movups xmmword [rbp + 0x50], xmm1
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x38], recv
mov byte [rbp + 0x20], 0
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova rdx, qword [rbp + 0x40]
xor r9d, r9d
mov r8d, dword [rbp + 0x50]
mov rcx, qword [r15]
call qword [sym.imp.WS2_32.dll_send]
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x90], xmm1
mov rax, qword [rsi + 0x10]
cmp rax, 7
jb 0x140004787
add rax, 0xfffffffffffffff9
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
cmp qword [rsi + 0x18], 7
jbe 0x140003e34
mov rsi, qword [rsi]
lea rdx, [rsi + 0xe]
lea rcx, [rbp + 0x80]
call fcn.1400093f0
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], 7
cmova rdx, qword [rbp + 0x80]
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
mov rdx, qword [rbp + 0x98]
cmp rdx, 7
jbe 0x140003ee0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003edb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003edb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400109f0
movdqa xmm0, xmmword [0x1400155f0]
movdqu xmmword [rbp + 0x90], xmm0
mov word [rbp + 0x80], r12w
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x140003f36
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003f31
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003f31
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400109f0
movdqa xmm0, xmmword [0x140015600]
movdqu xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0x40], 0
mov rdx, qword [rbp + 0xd8]
cmp rdx, 7
jbe 0x140003f90
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003f8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003f8b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400109f0
test ebx, ebx
jne 0x140004392
lea rdx, str.CreateProcess_failed__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.1400087b0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
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___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140014108]
call fcn.1400087b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea r9, [rbp + 0x122]
nop
sub r9, 2
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx ecx, dx
shl cx, 2
lea eax, [rcx + rdx]
add ax, ax
sub r8w, ax
add r8w, 0x30
mov word [r9], r8w
mov r8d, edx
test edx, edx
jne 0x140003fe0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rbp + 0x122]
cmp r9, rax
jne 0x140004043
movdqa xmm0, xmmword [0x1400155f0]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r12w
jmp 0x14000405e
lea r8, [rbp + 0x122]
sub r8, r9
sar r8, 1
mov rdx, r9
lea rcx, [rsp + 0x50]
call fcn.1400093f0
nop
mov r8, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
sub rax, r8
mov r14d, socket
cmp rax, r14
jb 0x14000410e
lea rax, [r8 + 0x16]
mov qword [rsp + 0x60], rax
lea rsi, [rsp + 0x50]
cmp rcx, 7
cmova rsi, qword [rsp + 0x50]
lea rax, [0x14001416c]
lea r13, str.CreateProcess_failed:
cmp rax, rsi
jbe 0x1400040c6
lea rax, [rsi + r8*2]
cmp r13, rax
ja 0x1400040c6
cmp rsi, r13
ja 0x1400040bb
mov rdi, r12
jmp 0x1400040c9
mov rdi, rsi
sub rdi, r13
sar rdi, 1
jmp 0x1400040c9
mov rdi, r14
lea rcx, [rsi + 0x2c]
lea r8, [r8*2 + 2]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
lea rbx, [rdi + rdi]
mov r8, rbx
mov rdx, r13
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [r13 + 0x2c]
lea rdx, [rdx + rdi*2]
lea rcx, [rsi + rbx]
sub r14, rdi
lea r8, [r14 + r14]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x50]
jmp 0x140004120
mov qword [rsp + 0x28], r14
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.14000a610
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r12
mov qword [rbp + 0x58], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140004193
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000418e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000418e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400109f0
movdqa xmm0, xmmword [0x1400155f0]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r12w
cmp qword [rbp + 0x50], 0
jne 0x1400041cf
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
movdqa xmm1, xmmword [0x140015600]
movdqu xmmword [rbp + 0x70], xmm1
mov byte [rbp + 0x60], 0
lea rdx, [rbp + 0x60]
jmp 0x1400042ee
lea r8, [rbp + 0x40]
cmp qword [rbp + 0x58], 7
cmova r8, qword [rbp + 0x40]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.140008110
nop
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rdx, qword [rbp + 0x20]
lea r8, [rbp + 0x40]
cmp qword [rbp + 0x58], 7
cmova r8, qword [rbp + 0x40]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdx
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rcx, [rbx - 1]
mov rdx, qword [rbp + 0x30]
cmp rcx, rdx
ja 0x140004277
mov qword [rbp + 0x30], rcx
lea rax, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rax, qword [rbp + 0x20]
mov byte [rax + rcx], 0
jmp 0x1400042c2
mov rdi, rcx
sub rdi, rdx
mov r8, qword [rbp + 0x38]
mov rax, r8
sub rax, rdx
cmp rdi, rax
ja 0x1400042b3
mov qword [rbp + 0x30], rcx
lea rbx, [rbp + 0x20]
cmp r8, 0xf
cmova rbx, qword [rbp + 0x20]
add rbx, rdx
mov r8, rdi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + rdi], 0
jmp 0x1400042c2
mov r9, rdi
mov rdx, rdi
lea rcx, [rbp + 0x20]
call fcn.140009b90
movups xmm0, xmmword [rbp + 0x20]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rbp + 0x30]
movdqu xmmword [rbp + 0x70], xmm1
lea rdx, [rbp + 0x60]
movq rcx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 0xf
cmova rdx, rcx
xor r9d, r9d
mov r8d, dword [rbp + 0x70]
mov rcx, qword [r15]
call qword [sym.imp.WS2_32.dll_send]
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x14000433c
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004337
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004337
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400109f0
movdqa xmm0, xmmword [0x140015600]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x1400043be
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000438b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000438b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400109f0
jmp 0x1400043be
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9, r15
mov r8, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp + 0xe0]
call fcn.140003280
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000475d
lea rdx, str.Incorrect_command_format_after_system._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.1400087b0
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r12
mov qword [rbp + 0x78], r12
mov r8d, 0x28
lea rdx, str.Incorrect_command_format_after_system.
lea rcx, [rbp + 0x60]
call fcn.1400093f0
nop
cmp qword [rbp + 0x70], 0
jne 0x140004444
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
movdqa xmm1, xmmword [0x140015600]
movdqu xmmword [rbp + 0xb0], xmm1
mov byte [rbp + 0xa0], 0
lea rdx, [rbp + 0xa0]
jmp 0x14000456c
lea r8, [rbp + 0x60]
cmp qword [rbp + 0x78], 7
cmova r8, qword [rbp + 0x60]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.140008110
nop
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rcx, qword [rbp + 0x20]
lea r8, [rbp + 0x60]
cmp qword [rbp + 0x78], 7
cmova r8, qword [rbp + 0x60]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rcx, [rbx - 1]
mov rdx, qword [rbp + 0x30]
cmp rcx, rdx
ja 0x1400044ec
mov qword [rbp + 0x30], rcx
lea rax, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rax, qword [rbp + 0x20]
mov byte [rax + rcx], 0
jmp 0x140004537
mov rdi, rcx
sub rdi, rdx
mov r8, qword [rbp + 0x38]
mov rax, r8
sub rax, rdx
cmp rdi, rax
ja 0x140004528
mov qword [rbp + 0x30], rcx
lea rbx, [rbp + 0x20]
cmp r8, 0xf
cmova rbx, qword [rbp + 0x20]
add rbx, rdx
mov r8, rdi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + rdi], 0
jmp 0x140004537
mov r9, rdi
mov rdx, rdi
lea rcx, [rbp + 0x20]
call fcn.140009b90
movups xmm0, xmmword [rbp + 0x20]
movups xmmword [rbp + 0xa0], xmm0
movups xmm1, xmmword [rbp + 0x30]
movdqu xmmword [rbp + 0xb0], xmm1
lea rdx, [rbp + 0xa0]
movq rcx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 0xf
cmova rdx, rcx
xor r9d, r9d
mov r8d, dword [rbp + 0xb0]
mov rcx, qword [r15]
call qword [sym.imp.WS2_32.dll_send]
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0xf
jbe 0x1400045c3
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400045be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400045be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400109f0
movdqa xmm0, xmmword [0x140015600]
movdqu xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xa0], 0
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x14000475d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003bad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003bad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, str.Unknown_command_prefix_or_incorrect_format._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.1400087b0
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
mov r8d, 0x2b
lea rdx, str.Unknown_command_prefix_or_incorrect_format.
lea rcx, [rbp + 0xa0]
call fcn.1400093f0
nop
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x80]
call fcn.140002c80
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], 0xf
cmova rdx, qword [rbp + 0x80]
xor r9d, r9d
mov r8d, dword [rbp + 0x90]
mov rcx, qword [r15]
call qword [sym.imp.WS2_32.dll_send]
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x1400046e7
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400046e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400046e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400109f0
movdqa xmm0, xmmword [0x140015600]
movdqu xmmword [rbp + 0x90], xmm0
mov byte [rbp + 0x80], 0
mov rdx, qword [rbp + 0xb8]
cmp rdx, 7
jbe 0x14000475d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003bad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003bad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, str.Failed_to_create_pipes._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.1400087b0
mov rcx, qword [rbp + 0x128]
xor rcx, rsp
call fcn.1400103e0
mov rbx, qword [rsp + 0x280]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140008640
nop
call fcn.140008640
int3