Function at 0x1800a5320
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
movaps xmmword [rsp + 0xb0], xmm6
cmp dword [0x18014adc0], 5
jge 0x1800a5519
movups xmm0, xmmword [0x180126dd0]
movups xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [0x180126de0]
movups xmmword [rbp - 9], xmm1
movups xmm0, xmmword [0x180126df0]
movups xmmword [rbp + 7], xmm0
movups xmm1, xmmword [0x180126e00]
movups xmmword [rbp + 0x17], xmm1
movups xmm0, xmmword [0x180126e10]
movups xmmword [rbp + 0x27], xmm0
mov eax, dword [0x180126e20]
mov dword [rbp + 0x37], eax
movzx eax, word [0x180126e24]
mov word [rbp + 0x3b], ax
xor r8d, r8d
cmp dword [0x180149018], 2
jl 0x1800a54d5
movdqa xmm5, xmmword [0x18012ef50]
movdqa xmm4, xmmword [0x18012f100]
movdqa xmm6, xmmword [0x18012ef70]
movdqa xmm0, xmmword [str.7777777777777777]
movdqa xmmword [rbp - 0x39], xmm0
lea rcx, [rbp - 0x15]
mov edx, dword [rbp - 0x39]
nop
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f030]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f030]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x50
jl 0x1800a53d0
cmp r8d, 0x56
jge 0x1800a5510
movsxd rax, r8d
lea r9, [rbp - 0x19]
add r9, rax
nop
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x56
jl 0x1800a54e0
lea rdx, [rbp - 0x19]
jmp 0x1800a56f4
cmp dword [0x18014adc0], 0xb
jge 0x1800a5729
movups xmm0, xmmword [0x180126d80]
movups xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [str.gp_rjtlrnppnrgluedx]
movups xmmword [rbp - 9], xmm1
movups xmm0, xmmword [0x180126da0]
movups xmmword [rbp + 7], xmm0
movups xmm1, xmmword [0x180126db0]
movups xmmword [rbp + 0x17], xmm1
movsd xmm0, qword [0x180126dc0]
movsd qword [rbp + 0x27], xmm0
movzx eax, word [0x180126dc8]
mov word [rbp + 0x2f], ax
xor r8d, r8d
cmp dword [0x180149018], 2
jl 0x1800a56b5
movdqa xmm5, xmmword [0x18012ef50]
movdqa xmm4, xmmword [0x18012f100]
movdqa xmm6, xmmword [0x18012ef70]
movdqa xmm0, xmmword [str.7777777777777777]
movdqa xmmword [rbp - 0x39], xmm0
lea rcx, [rbp - 0x15]
mov edx, dword [rbp - 0x39]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f030]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f030]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x48
jl 0x1800a55b0
cmp r8d, 0x4a
jge 0x1800a56f0
movsxd rax, r8d
lea r9, [rbp - 0x19]
add r9, rax
nop
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x4a
jl 0x1800a56c0
lea rdx, [rbp - 0x19]
xor r8d, r8d
lea rcx, [rbp + 0x67]
call fcn.1800387f0
mov rdx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x1800a5ae3
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
mov qword [rdx], rcx
mov qword [0x18014b778], rcx
jmp 0x1800a5b81
cmp dword [0x18014adc0], 0x10
jge 0x1800a58f9
movups xmm0, xmmword [0x180126d58]
movups xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [0x180126d68]
movups xmmword [rbp - 9], xmm1
mov eax, dword [0x180126d78]
mov dword [rbp + 7], eax
movzx eax, word [0x180126d7c]
mov word [rbp + 0xb], ax
movzx eax, byte [0x180126d7e]
mov byte [rbp + 0xd], al
xor r8d, r8d
cmp dword [0x180149018], 2
jl 0x1800a58b5
movdqa xmm5, xmmword [0x18012ef50]
movdqa xmm4, xmmword [0x18012f100]
movdqa xmm6, xmmword [0x18012ef70]
movdqa xmm0, xmmword [str.7777777777777777]
movdqa xmmword [rbp - 0x39], xmm0
lea rcx, [rbp - 0x15]
mov edx, dword [rbp - 0x39]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f030]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f030]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x20
jl 0x1800a57b0
cmp r8d, 0x27
jge 0x1800a58f0
movsxd rax, r8d
lea r9, [rbp - 0x19]
add r9, rax
nop
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x27
jl 0x1800a58c0
lea rdx, [rbp - 0x19]
jmp 0x1800a5ad4
cmp dword [0x18014adc0], 0x18
jge 0x1800a5aef
movups xmm0, xmmword [0x180126d10]
movups xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [0x180126d20]
movups xmmword [rbp - 9], xmm1
movups xmm0, xmmword [0x180126d30]
movups xmmword [rbp + 7], xmm0
movups xmm1, xmmword [0x180126d40]
movups xmmword [rbp + 0x17], xmm1
mov eax, dword [0x180126d50]
mov dword [rbp + 0x27], eax
movzx eax, word [0x180126d54]
mov word [rbp + 0x2b], ax
xor r8d, r8d
cmp dword [0x180149018], 2
jl 0x1800a5a87
movdqa xmm5, xmmword [0x18012ef50]
movdqa xmm4, xmmword [0x18012f100]
movdqa xmm6, xmmword [0x18012ef70]
movdqa xmm0, xmmword [str.7777777777777777]
movdqa xmmword [rbp - 0x39], xmm0
lea rcx, [rbp - 0x15]
mov edx, dword [rbp - 0x39]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f030]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f030]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x40
jl 0x1800a5982
cmp r8d, 0x46
jge 0x1800a5ad0
movsxd rax, r8d
lea r9, [rbp - 0x19]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x46
jl 0x1800a5aa0
lea rdx, [rbp - 0x19]
xor r8d, r8d
lea rcx, [rbp + 0x67]
call fcn.1800387f0
mov rcx, qword [rax]
mov qword [0x18014b778], rcx
jmp 0x1800a5b81
movsd xmm0, qword [0x18014adb8]
comisd xmm0, xmmword [0x18012ece0]
jb 0x1800a5b7a
lea rdx, [0x18014c6d0]
lea rcx, [rbp - 0x19]
call fcn.18002d010
mov r9b, 1
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x67]
call fcn.1800ac090
mov rbx, rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], 0
mov edx, 1
lea rcx, [rbp - 0x39]
call fcn.18000f200
mov rcx, qword [rbp - 0x39]
mov byte [rcx], 0xe8
inc rcx
mov qword [rbp - 0x31], rcx
mov dword [rsp + 0x28], 0x800
mov dword [rsp + 0x20], 1
mov r9b, 1
lea r8, [rbp - 0x39]
lea rdx, [rbp + 0x77]
mov rcx, rbx
call fcn.1800acbf0
jmp 0x1800a5700
mov rcx, qword [0x18014b778]
cmp dword [0x18014adc0], 0x18
jl 0x1800a5ba0
movsd xmm0, qword [0x18014adb8]
comisd xmm0, xmmword [0x18012ece0]
jb 0x1800a5c5e
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x39], xmm0
movdqu xmmword [rbp - 0x29], xmm1
test rcx, rcx
lea rcx, [rbp - 0x39]
jne 0x1800a5c0d
mov r8d, socket
lea rdx, str.Couldnt_find_Free_
call fcn.180016150
nop
mov byte [rbp + 0x67], 0
mov dword [rbp + 0x6f], 1
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
lea rax, [0x18014bfd8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014bfc8]
lea r8, [rbp - 0x39]
lea rdx, [rbp + 0x6f]
call fcn.180028480
nop
lea rcx, [rbp - 0x39]
call fcn.18002d3d0
xor al, al
jmp 0x1800a5c60
mov r8d, reloc.WS2_32.dll_inet_addr
lea rdx, str.Found_Free_
call fcn.180016150
nop
mov byte [rbp + 0x67], 0
mov dword [rbp + 0x6f], 0
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
lea rax, [0x18014bfd8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014bfc8]
lea r8, [rbp - 0x39]
lea rdx, [rbp + 0x6f]
call fcn.180028480
nop
lea rcx, [rbp - 0x39]
call fcn.18002d3d0
mov al, 1
mov rbx, qword [rsp + 0xe8]
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc0
pop rbp
ret