Function at 0x1800af770
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xc0
movups xmm3, xmmword [0x1801b2fe0]
xor ebx, ebx
movsd xmm0, qword [0x1801b2ff0]
cmp byte [0x1801b2ff7], bl
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x180173d80]
mov qword [r11 + 8], rdi
mov edi, dword [reloc.WS2_32.dll_accept]
movups xmmword [rbp - 0x39], xmm3
movsd qword [rbp - 0x29], xmm0
je 0x1800afa5a
mov r8d, ebx
cmp edi, 2
jl 0x1800afa21
movdqa xmm4, xmmword [0x1801b4e30]
movdqa xmm2, xmmword [0x18016cbe0]
movdqa xmm5, xmmword [str.4444]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd eax, xmm3
movdqa xmm3, xmmword [0x180173ce0]
movaps xmmword [r11 - 0x18], xmm6
movdqa xmm6, xmmword [str.7777777777777777]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
xorps xmm2, xmm0
movd dword [rbp - 0x39], xmm2
movdqa xmm2, xmmword [0x180173cc0]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
pmulld xmm0, xmm5
psubd xmm2, xmm0
punpckldq xmm1, xmm3
movd xmm0, dword [rbp - 0x35]
andps xmm2, xmm7
pmuldq xmm1, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x35], xmm2
movdqa xmm2, xmmword [0x180173cf0]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm5
psubd xmm3, xmm0
punpckldq xmm1, xmm2
movd xmm0, dword [rbp - 0x31]
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
pmuldq xmm1, xmm4
paddb xmm3, xmm6
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rbp - 0x31], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
movdqa xmm3, xmmword [0x180173d00]
psubd xmm2, xmm0
movd xmm0, dword [rbp - 0x2d]
andps xmm2, xmm7
packuswb xmm2, xmm2
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
packuswb xmm2, xmm2
paddb xmm2, xmm6
pmuldq xmm1, xmm4
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x2d], xmm2
movdqa xmm2, xmmword [0x180173d10]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm5
psubd xmm3, xmm0
punpckldq xmm1, xmm2
movd xmm0, dword [rbp - 0x29]
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm6
pmuldq xmm1, xmm4
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rbp - 0x29], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, dword [rbp - 0x25]
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movaps xmm6, xmmword [r11 - 0x18]
xorps xmm2, xmm0
movd dword [rbp - 0x25], xmm2
jmp 0x1800afa5a
lea r9, [rbp - 0x39]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x37
xor byte [r9 - 1], al
cmp r8d, 0x18
jl 0x1800afa30
lea rcx, [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movups xmm0, xmmword [0x1801b3000]
cmp edi, 2
movups xmm1, xmmword [0x1801b3010]
mov r9, rax
movzx eax, word [0x1801b3048]
mov rdi, qword [rsp + 0xd0]
movups xmmword [rbp - 0x19], xmm0
movups xmm0, xmmword [0x1801b3020]
movups xmmword [rbp + 7], xmm0
movsd xmm0, qword [0x1801b3040]
movups xmmword [rbp - 9], xmm1
movups xmm1, xmmword [0x1801b3030]
movsd qword [rbp + 0x27], xmm0
movups xmmword [rbp + 0x17], xmm1
mov word [rbp + 0x2f], ax
jl 0x1800afbd4
movdqa xmm0, xmmword [str.7777777777777777]
lea rcx, [rbp - 0x15]
movdqa xmm4, xmmword [0x18016cbe0]
movdqa xmm3, xmmword [0x1801b4e30]
movdqa xmm5, xmmword [str.4444]
movdqa xmmword [rbp - 0x49], xmm0
mov edx, dword [rbp - 0x49]
nop dword [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add ebx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 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
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x48
jl 0x1800afaf0
cmp ebx, 0x4a
jge 0x1800afc0d
movsxd rax, ebx
lea r8, [rbp - 0x19]
add r8, rax
nop
mov eax, 0x4ec4ec4f
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
inc ebx
sub al, cl
add al, 0x37
xor byte [r8 - 1], al
cmp ebx, 0x4a
jl 0x1800afbe0
lea rdx, [rbp - 0x19]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov ecx, 0x8d50e33a
call rbx
mov ecx, 0x637f4c75
mov qword [0x1802efd88], rax
call rbx
movabs rcx, 0xb346476ef1a64897
mov qword [0x1802efd90], rax
call rbx
movabs rcx, 0xb1632e9a5f988d11
mov qword [0x1802efd08], rax
call rbx
movabs rcx, 0xfb92a102f1c4dfa3
mov qword [0x1802efd10], rax
call rbx
movabs rcx, 0x1dd55701034110e5
mov qword [0x1802efd80], rax
call rbx
movabs rcx, 0x47d6f43d77935c75
mov qword [0x1802efd30], rax
call rbx
movabs rcx, 0xd796cb5ba8f20e32
mov qword [0x1802efcf8], rax
call rbx
mov rbx, qword [rsp + 0xd8]
movaps xmm7, xmmword [rsp + 0xa0]
mov qword [0x1802efd00], rax
add rsp, 0xc0
pop rbp
ret