Function at 0x140001c30
Capabilities:
Connect socket
Encode data using xor
Execute command
Get file attributes
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x430]
sub rsp, 0x530
mov rax, qword [0x14000a010]
xor rax, rsp
mov qword [rbp + 0x420], rax
xor esi, esi
mov ecx, 0x202
lea rdx, [rbp + 0x280]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140001ceb
xor r8d, r8d
lea edx, [rsi + 1]
mov edi, 2
mov ecx, edi
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
mov qword [rsp + 0x30], rax
lea r8, [rbp + 0x1e4]
lea rdx, str.127.0.0.1
mov ecx, edi
call qword [sym.imp.WS2_32.dll_InetPtonW]
mov word [rbp + 0x1e0], di
mov ecx, 0x29a
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x1e2], ax
lea r8d, [rsi + 0x10]
lea rdx, [rbp + 0x1e0]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x140001cf6
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x14000258e
call fcn.1400016d0
mov r14, qword [0x14000a188]
mov r12, qword [0x14000a1c8]
movabs r15, 0x7fffffffffffffff
mov rax, r15
sub rax, r14
cmp rax, r12
jb 0x1400025c6
lea rax, [0x14000a178]
cmp qword [0x14000a190], 0x10
cmovae rax, qword [0x14000a178]
mov qword [rbp - 0x60], rax
lea rcx, [0x14000a1b8]
cmp qword [0x14000a1d0], 0x10
cmovae rcx, qword [0x14000a1b8]
mov qword [rbp - 0x58], rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rsi
lea r13, [r12 + r14]
mov ebx, recv
lea rdi, [rbp - 0x80]
lea ecx, [rbx + 7]
lea rdx, [rbx - 0x10]
cmp r13, rbx
jbe 0x140001df6
mov rbx, r13
or rbx, 0xf
cmp rbx, r15
jbe 0x140001d91
mov rbx, r15
jmp 0x140001d98
cmp rbx, rcx
cmovb rbx, rcx
mov rcx, rbx
add rcx, 1
cmovb rcx, rdx
cmp rcx, 0x1000
jb 0x140001ddc
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400025cc
mov rcx, rax
call fcn.140004790
test rax, rax
je 0x140001f0f
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
mov rax, qword [rbp - 0x60]
jmp 0x140001df2
test rcx, rcx
je 0x140001def
call fcn.140004790
mov rdi, rax
mov rax, qword [rbp - 0x60]
jmp 0x140001df2
mov rdi, rsi
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], rbx
mov r8, r14
mov rdx, rax
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rdi + r14]
mov r8, r12
mov rdx, qword [rbp - 0x58]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r13], sil
lea rdx, [0x14000a050]
cmp qword [0x14000a068], 0x10
cmovae rdx, qword [0x14000a050]
mov r8, qword [0x14000a060]
lea rcx, [rbp - 0x80]
call fcn.140003dc0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], recv
mov byte [rax], 0
lea rdx, [rsp + 0x50]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, rcx
movq r8, xmm1
lea r14, [0x14000a198]
mov rcx, r14
call fcn.140003dc0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140001edd
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ed7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001ed7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004a1c
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140001f1b
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f16
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001f16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004a1c
mov rcx, qword [0x14000a198]
mov r12, qword [0x14000a1a8]
cmp qword [0x14000a1b0], 0x10
jb 0x140001f40
lea rdi, [rcx + r12]
lea rbx, [rcx + r12]
mov r14, rcx
jmp 0x140001f48
lea rdi, [r14 + r12]
lea rbx, [r14 + r12]
mov r13, rdi
cmp r14, rbx
je 0x140001fba
movsx ecx, byte [r14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x140001f66
inc r14
cmp r14, rbx
jne 0x140001f50
mov r12, qword [0x14000a1a8]
mov rcx, qword [0x14000a198]
cmp r14, rbx
je 0x140001fba
lea r15, [r14 + 1]
cmp r15, rbx
je 0x140001fb0
movsx ecx, byte [r15]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x140001f9a
movzx eax, byte [r15]
mov byte [r14], al
inc r14
inc r15
cmp r15, rbx
jne 0x140001f82
mov r12, qword [0x14000a1a8]
mov rcx, qword [0x14000a198]
movabs r15, 0x7fffffffffffffff
mov rdx, r14
mov rax, r12
cmp qword [0x14000a1b0], 0x10
jae 0x140001fd4
lea rcx, [0x14000a198]
mov r13, rdi
sub rdx, rcx
sub r13, r14
sub rax, rdx
cmp rax, r13
cmovb r13, rax
add rcx, rdx
sub r12, r13
mov r8, r12
sub r8, rdx
inc r8
lea rdx, [rcx + r13]
call sub.VCRUNTIME140.dll_memmove
mov qword [0x14000a1a8], r12
movups xmm0, xmmword [0x14000a178]
movaps xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x14000a188]
movaps xmmword [rsp + 0x60], xmm1
lea rdx, [rsp + 0x50]
lea rcx, [0x140006678]
call fcn.140001210
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f4], xmm0
movups xmmword [rbp + 0x204], xmm0
movups xmmword [rbp + 0x214], xmm0
movups xmmword [rbp + 0x224], xmm0
movups xmmword [rbp + 0x234], xmm0
movups xmmword [rbp + 0x244], xmm0
movups xmmword [rbp + 0x254], xmm0
movups xmmword [rbp + 0x264], xmm0
mov dword [rbp + 0x1f0], esi
movups xmmword [rbp - 0x80], xmm0
cmp qword [0x14000a060], 0x10
mov edi, reloc.WS2_32.dll_recv
cmovb rdi, qword [0x14000a060]
cmp qword [0x14000a068], 0x10
lea r14, [0x14000a050]
cmovae r14, qword [0x14000a050]
cmp rdi, r15
ja 0x1400025d2
cmp rdi, 0x10
jae 0x1400020cc
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], recv
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memmove
jmp 0x14000215f
mov rax, rdi
or rax, 0xf
cmp rax, r15
ja 0x1400020e8
mov r15, rax
cmp rax, 0x16
mov eax, socket
cmovb r15, rax
mov rcx, r15
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x14000212f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400025c0
mov rcx, rax
call fcn.140004790
test rax, rax
je 0x1400021b1
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140002141
test rcx, rcx
je 0x14000213e
call fcn.140004790
mov rbx, rax
jmp 0x140002141
mov rbx, rsi
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], r15
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], 0
lea r8, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae r8, qword [rbp - 0x80]
mov edx, 0x40
lea rcx, [rbp + 0x1f4]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x1400021bd
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400021b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400021b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004a1c
lea r8, str.placeholder
mov edx, 0x40
lea rcx, [rbp + 0x234]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
xor r9d, r9d
mov r8d, 0x84
lea rdx, [rbp + 0x1f0]
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0x84
jne 0x14000258e
xor edx, edx
mov r8d, 0x114
lea rcx, [rbp + 0xc0]
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
mov r8d, 0x114
lea rdx, [rbp + 0xc0]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 0x114
jne 0x14000258e
cmp dword [rbp + 0xc0], 0
jne 0x140002535
movsxd rcx, dword [rbp + 0xc4]
call fcn.140004a24
mov rbx, rax
xor r9d, r9d
mov r8d, dword [rbp + 0xc4]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, dword [rbp + 0xc4]
jne 0x140002304
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x50]
call fcn.1400037f0
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
cmp dword [rbp + rcx - 0x40], 0
jne 0x1400022fb
movsxd r8, dword [rbp + 0xc4]
mov rdx, rbx
lea rcx, [rbp - 0x50]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp - 0x48]
call fcn.140003d10
test rax, rax
jne 0x1400022dd
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rcx, str.Menu.dll
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea edx, [rax + 2]
lea rcx, str.Menu.dll
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop
lea rcx, [rbp - 0x50]
call fcn.1400014f0
mov ebx, 8
mov eax, dword [rbp + 0xc8]
cmp eax, 2
jne 0x1400023ce
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 0x21
mov qword [rsp + 0x50], rax
movdqa xmm0, xmmword [0x140006890]
movdqu xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x140006880]
movdqu xmmword [rsp + 0x68], xmm1
mov word [rsp + 0x78], 0xded7
xor ecx, ecx
mov dword [rsp + 0x7a], ecx
mov word [rsp + 0x7e], cx
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x43]
xor byte [rsp + rcx + 0x58], al
inc rcx
mov rax, qword [rsp + 0x50]
cmp rcx, rax
jb 0x140002370
mov byte [rsp + rax + 0x58], 0
lea rcx, [rsp + 0x58]
call fcn.1400011b0
mov eax, 0xb
mov qword [rsp + 0x30], rax
movdqa xmm0, xmmword [0x140006860]
movdqu xmmword [rsp + 0x38], xmm0
mov rcx, rsi
nop
lea eax, [rcx - 0x43]
xor byte [rsp + rcx + 0x38], al
inc rcx
mov rax, qword [rsp + 0x30]
cmp rcx, rax
jb 0x1400023b0
mov byte [rsp + rax + 0x38], 0
jmp 0x1400024d9
cmp eax, 1
jne 0x14000241e
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 0xb
mov qword [rsp + 0x30], rax
movdqa xmm0, xmmword [0x140006860]
movdqu xmmword [rsp + 0x38], xmm0
mov rcx, rsi
nop dword [rax]
lea eax, [rcx - 0x43]
xor byte [rsp + rcx + 0x38], al
inc rcx
mov rax, qword [rsp + 0x30]
cmp rcx, rax
jb 0x140002400
mov byte [rsp + rax + 0x38], 0
jmp 0x1400024d9
test eax, eax
jne 0x1400024e4
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 0x24
mov qword [rsp + 0x50], rax
movdqa xmm0, xmmword [0x140006890]
movdqu xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x140006870]
movdqu xmmword [rsp + 0x68], xmm1
mov dword [rsp + 0x78], 0xeaabb7b5
mov byte [rsp + 0x7c], 0xe1
xor ecx, ecx
mov word [rsp + 0x7d], cx
mov byte [rsp + 0x7f], cl
mov rcx, rsi
nop word [rax + rax]
lea eax, [rcx - 0x43]
xor byte [rsp + rcx + 0x58], al
inc rcx
mov rax, qword [rsp + 0x50]
cmp rcx, rax
jb 0x140002480
mov byte [rsp + rax + 0x58], 0
lea rcx, [rsp + 0x58]
call fcn.1400011b0
mov qword [rsp + 0x30], rbx
movdqa xmm0, xmmword [0x140006850]
movdqu xmmword [rsp + 0x38], xmm0
mov rcx, rsi
nop dword [rax]
lea eax, [rcx - 0x43]
xor byte [rsp + rcx + 0x38], al
inc rcx
mov rax, qword [rsp + 0x30]
cmp rcx, rax
jb 0x1400024c0
mov byte [rsp + rax + 0x38], 0
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov qword [rsp + 0x30], rbx
movdqa xmm0, xmmword [0x140006840]
movdqu xmmword [rsp + 0x38], xmm0
nop word [rax + rax]
lea eax, [rsi - 0x43]
xor byte [rsp + rsi + 0x38], al
inc rsi
mov rbx, qword [rsp + 0x30]
cmp rsi, rbx
jb 0x140002510
mov byte [rsp + rbx + 0x38], 0
lea rcx, [rsp + 0x38]
call fcn.1400011b0
jmp 0x14000258e
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 6
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0xe1fbffff
mov dword [rsp + 0x3c], 0xc3c8e1
nop
lea eax, [rsi - 0x43]
xor byte [rsp + rsi + 0x38], al
inc rsi
mov rax, qword [rsp + 0x30]
cmp rsi, rax
jb 0x140002560
mov byte [rsp + rax + 0x38], 0
lea rcx, [rsp + 0x38]
call fcn.1400011b0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.140004770
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001370
int3
call fcn.140001410
int3
call fcn.140001370
int3
call fcn.140001410
int3