Function at 0x140002330
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, rcx
mov r13, qword [rcx + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, 0xa
jb 0x140002848
mov r12, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x140002390
mov r12, qword [r14]
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x29], xmm1
lea r15, [r13 + 0xa]
mov edi, recv
mov ebx, edi
lea rsi, [rbp - 0x39]
movabs rax, 0x8000000000000000
mov edx, socket
cmp r15, rbx
jbe 0x14000242e
mov rbx, r15
or rbx, rdi
cmp rbx, rcx
jbe 0x1400023ef
mov rbx, rcx
add rax, 0x27
mov rcx, rax
call fcn.1400039d0
test rax, rax
je 0x14000241b
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14000242a
cmp rbx, rdx
cmovb rbx, rdx
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x140002403
xor esi, esi
jmp 0x14000242a
cmp rcx, 0x1000
jb 0x140002422
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000283c
jmp 0x1400023d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400039d0
mov rsi, rax
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], rbx
movsd xmm0, qword [str.sc_config]
movsd qword [rsi], xmm0
movzx ecx, word [0x140005728]
mov word [rsi + 8], cx
lea rcx, [rsi + 0xa]
mov r8, r13
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + r15], 0
mov rcx, qword [rbp - 0x29]
mov rdx, qword [rbp - 0x21]
mov rax, rdx
sub rax, rcx
cmp rax, 0xc
jb 0x1400024ac
lea rax, [rcx + 0xc]
mov qword [rbp - 0x29], rax
lea rbx, [rbp - 0x39]
cmp rdx, 0xf
cmova rbx, qword [rbp - 0x39]
add rbx, rcx
mov r8d, recv
lea rdx, str._start_auto
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xc], 0
lea rax, [rbp - 0x39]
jmp 0x1400024ca
mov qword [rsp + 0x20], recv
lea r9, str._start_auto
mov edx, recv
lea rcx, [rbp - 0x39]
call fcn.1400033f0
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
xor r12d, r12d
mov qword [rbp + 0x1f], r12
mov qword [rbp + 0x27], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1f], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], rdi
mov byte [rax], r12b
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x140002534
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000252f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000252f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003a0c
movdqa xmm0, xmmword [0x1400065f0]
movdqu xmmword [rbp - 0x29], xmm0
mov byte [rbp - 0x39], 0
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 0xf
cmova rcx, qword [rbp + 0xf]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ebx, eax
test eax, eax
je 0x1400025a8
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, [rbp + 0xf]
cmp qword [rbp + 0x27], 0xf
cmova rdx, qword [rbp + 0xf]
mov r8, qword [rbp + 0x1f]
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 0x1400025d5
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, [rbp + 0xf]
cmp qword [rbp + 0x27], 0xf
cmova rdx, qword [rbp + 0xf]
mov r8, qword [rbp + 0x1f]
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]
mov r15, qword [r14 + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 0xa
jb 0x140002836
cmp qword [r14 + 0x18], 0xf
jbe 0x14000260d
mov r14, qword [r14]
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
lea rsi, [r15 + 0xa]
lea rbx, [rbp - 0x11]
cmp rsi, 0xf
jbe 0x14000269d
mov rdi, rsi
or rdi, 0xf
cmp rdi, rcx
jbe 0x14000265e
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400039d0
test rax, rax
je 0x140002701
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140002699
cmp rdi, 0x16
mov eax, socket
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x140002679
mov rbx, r12
jmp 0x140002699
cmp rcx, 0x1000
jb 0x140002691
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002842
jmp 0x14000263f
call fcn.1400039d0
mov rbx, rax
mov qword [rbp - 0x11], rbx
mov qword [rbp - 1], rsi
mov qword [rbp + 7], rdi
movsd xmm0, qword [str.net_start]
movsd qword [rbx], xmm0
movzx ecx, word [0x1400056b8]
mov word [rbx + 8], cx
lea rcx, [rbx + 0xa]
mov r8, r15
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rsi], 0
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x14000270d
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002708
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002708
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003a0c
movups xmm0, xmmword [rbp - 0x11]
movups xmmword [rbp + 0xf], xmm0
movups xmm1, xmmword [rbp - 1]
movups xmmword [rbp + 0x1f], xmm1
lea rcx, [rbp + 0xf]
movq r8, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 0xf
cmova rcx, r8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ebx, eax
test eax, eax
je 0x14000278d
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, [rbp + 0xf]
cmp qword [rbp + 0x27], 0xf
cmova rdx, qword [rbp + 0xf]
mov r8, qword [rbp + 0x1f]
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 0x1400027ba
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, [rbp + 0xf]
cmp qword [rbp + 0x27], 0xf
cmova rdx, qword [rbp + 0xf]
mov r8, qword [rbp + 0x1f]
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 [rbp + 0x27]
cmp rdx, 0xf
jbe 0x140002809
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002804
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002804
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003a0c
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400039b0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001210
nop
call fcn.140001170
nop
call fcn.140001170
nop
call fcn.140001210
int3