Function at 0x140001b70
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rcx
xor edx, edx
mov r14, qword [rcx + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r14
cmp rax, 9
jb 0x140001da0
cmp qword [rsi + 0x18], 0xf
jbe 0x140001bbe
mov rsi, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], rdx
lea rbp, [r14 + 9]
mov ebx, recv
lea rdi, [rsp + 0x28]
cmp rbp, rbx
jbe 0x140001c5e
mov rbx, rbp
or rbx, 0xf
cmp rbx, rcx
jbe 0x140001c1f
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400039d0
test rax, rax
je 0x140001d71
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140001c59
mov eax, socket
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x140001c39
mov rdi, rdx
jmp 0x140001c59
cmp rcx, 0x1000
jb 0x140001c51
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001da6
jmp 0x140001c00
call fcn.1400039d0
mov rdi, rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rbx
movsd xmm0, qword [str.net_stop]
movsd qword [rdi], xmm0
movzx ecx, byte [0x1400056a8]
mov byte [rdi + 8], cl
lea rcx, [rdi + 9]
mov r8, r14
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rbp], 0
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ebx, eax
test eax, eax
je 0x140001cfb
lea rdx, str.Command_failed:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400031d0
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
mov rcx, rax
call fcn.1400037c0
lea rdx, str._with_error_code
mov rcx, rax
call fcn.1400031d0
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
jmp 0x140001d2c
lea rdx, str.Command_succeeded:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400031d0
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
mov rcx, rax
call fcn.1400037c0
lea rdx, [0x1400033b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140001d7d
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d78
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d78
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003a0c
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400039b0
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
call fcn.140001210
int3
call fcn.140001170
int3