Function at 0x1800044f0
Capabilities:
Connect socket
Encode data using xor
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket
Terminate process

Disassembly:
sub rsp, 0x338
mov rax, qword [0x18006d3c0]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov ecx, 0x202
lea rdx, [rsp + 0x70]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x180004561
mov qword [rsp + 0x340], rbx
xor r8d, r8d
mov qword [rsp + 0x330], rdi
mov edx, 1
mov edi, 2
mov ecx, edi
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x180004579
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rbx, qword [rsp + 0x340]
mov rdi, qword [rsp + 0x330]
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.180055030
add rsp, 0x338
ret
lea rcx, str.127.0.0.1
mov word [rsp + 0x60], di
call qword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, 0x63df
mov dword [rsp + 0x64], eax
call qword [sym.imp.WS2_32.dll_htons]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x60]
mov rcx, rbx
mov word [rsp + 0x62], ax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1800045d0
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movups xmm0, xmmword [str.AOJI]
movzx eax, word [0x18005fdf8]
xor ecx, ecx
cmp dword [0x18006d428], edi
movups xmm1, xmmword [0x18005fde0]
mov word [rsp + 0x48], ax
movzx eax, byte [0x18005fdfa]
movups xmmword [rsp + 0x20], xmm0
mov byte [rsp + 0x4a], al
movsd xmm0, qword [0x18005fdf0]
movsd qword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x30], xmm1
jl 0x180004756
movdqa xmm0, xmmword [str.6666666666666666]
lea rdx, [rsp + 0x24]
movdqa xmm4, xmmword [0x180062d10]
movdqa xmm3, xmmword [0x180063050]
movdqa xmm5, xmmword [str.3333]
movdqa xmmword [rsp + 0x50], xmm0
mov r8d, dword [rsp + 0x50]
movaps xmmword [rsp + 0x320], xmm6
movdqa xmm6, xmmword [0x180062d30]
nop dword [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm4
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movd dword [rdx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x28
jl 0x180004660
movaps xmm6, xmmword [rsp + 0x320]
cmp ecx, 0x2b
jge 0x18000479f
movsxd rax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
inc ecx
sub al, dl
add al, 0x36
xor byte [r8 - 1], al
cmp ecx, 0x2b
jl 0x180004770
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800047b0
xor r9d, r9d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_send]
xor r9d, r9d
lea rdx, [rsp + 0x210]
mov r8d, 0xff
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x180004837
nop dword [rax]
mov ecx, eax
cmp rcx, 0x100
jae 0x180004840
mov byte [rsp + rcx + 0x210], 0
mov eax, 1
xchg byte [0x18006de3a], al
mov ecx, socket
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
lea rdx, [rsp + 0x210]
mov r8d, 0xff
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x1800047f0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.18005519c
int3