Function at 0x1400af9d0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x140189080]
xor rax, rsp
mov qword [rbp + 0x27], rax
movups xmm1, xmmword [0x14016ee38]
mov r12d, dword [reloc.WS2_32.dll_accept]
xor ebx, ebx
movups xmm0, xmmword [0x14016ee28]
movups xmmword [rbp - 9], xmm1
psrldq xmm1, 0xf
movd eax, xmm1
movups xmmword [rbp - 0x19], xmm0
test al, al
je 0x1400afbb4
cmp r12d, 2
jl 0x1400afb79
movdqa xmm0, xmmword [0x140173d60]
lea rcx, [rbp - 0x15]
movdqa xmm5, xmmword [0x140173be0]
mov edx, ebx
movdqa xmm4, xmmword [0x140173ef0]
movdqa xmm6, xmmword [0x140173c70]
movdqa xmmword [rbp - 0x29], xmm0
mov r8d, dword [rbp - 0x29]
nop
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add edx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140173d30]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140173d30]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x20
jl 0x1400afa70
jmp 0x1400afbb4
lea r9, [rbp - 0x19]
mov r8d, ebx
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0x20
jl 0x1400afb80
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 7]
call fcn.1400e6d00
mov eax, dword [str.wdjVYP_]
lea rcx, [rbp - 0x29]
mov dword [rbp - 0x29], eax
mov rdi, 0xffffffffffffffff
movzx eax, word [0x140171b64]
xor byte [rbp - 0x28], 0x37
xor byte [rbp - 0x27], 0x38
xor byte [rbp - 0x26], 0x39
mov word [rbp - 0x25], ax
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_60]
xor byte [rbp - 0x25], 0x3a
xor byte [rbp - 0x24], 0x3b
xor al, 0x3c
mov byte [rbp - 0x29], 0x41
mov byte [rbp - 0x23], al
mov rax, rdi
inc rax
cmp byte [rcx + rax], bl
jne 0x1400afc07
mov r14, qword [rbp + 0x1f]
lea rcx, [rbp + 7]
mov rsi, qword [rbp + 7]
lea r9, [rbp - 0x29]
mov r15, qword [rbp + 0x17]
cmp r14, 0xf
mov rdx, r15
mov qword [rsp + 0x20], rax
cmova rcx, rsi
xor r8d, r8d
call fcn.14005f900
cmp rax, rdi
jne 0x1400b0008
movzx eax, byte [0x140171220]
lea rcx, [rbp - 0x29]
movsd xmm0, qword [str.q_XXBHX_]
movsd qword [rbp - 0x29], xmm0
xor byte [rbp - 0x28], 0x37
xor byte [rbp - 0x27], 0x38
xor byte [rbp - 0x26], 0x39
xor byte [rbp - 0x25], 0x3a
xor byte [rbp - 0x24], 0x3b
xor byte [rbp - 0x23], 0x3c
xor byte [rbp - 0x22], 0x3d
xor al, 0x3e
mov byte [rbp - 0x29], 0x47
mov byte [rbp - 0x21], al
mov rax, rdi
inc rax
cmp byte [rcx + rax], bl
jne 0x1400afc84
cmp r14, 0xf
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 7]
mov rdx, r15
cmova rcx, rsi
lea r9, [rbp - 0x29]
xor r8d, r8d
call fcn.14005f900
cmp rax, rdi
jne 0x1400b0008
mov eax, dword [str._KU_]
lea rcx, [rbp - 0x29]
mov dword [rbp - 0x29], eax
movzx eax, word [0x1401700fc]
xor byte [rbp - 0x28], 0x37
xor byte [rbp - 0x27], 0x38
xor byte [rbp - 0x26], 0x39
mov word [rbp - 0x25], ax
xor al, 0x3a
xor byte [rbp - 0x24], 0x3b
mov byte [rbp - 0x25], al
mov rax, rdi
mov byte [rbp - 0x29], Ordinal_79
nop dword [rax]
inc rax
cmp byte [rcx + rax], bl
jne 0x1400afcf0
cmp r14, 0xf
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 7]
mov rdx, r15
cmova rcx, rsi
lea r9, [rbp - 0x29]
xor r8d, r8d
call fcn.14005f900
cmp rax, rdi
jne 0x1400b0008
mov eax, dword [str.wDMJ:]
lea rcx, [rbp - 0x29]
mov dword [rbp - 0x29], eax
movzx eax, byte [0x140170fc8]
xor byte [rbp - 0x28], 0x37
xor byte [rbp - 0x27], 0x38
xor byte [rbp - 0x26], 0x39
xor al, 0x3a
mov byte [rbp - 0x29], 0x41
mov byte [rbp - 0x25], al
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [rcx + rax], bl
jne 0x1400afd50
cmp r14, 0xf
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 7]
mov rdx, r15
cmova rcx, rsi
lea r9, [rbp - 0x29]
xor r8d, r8d
call fcn.14005f900
cmp rax, rdi
jne 0x1400b0008
cmp byte [0x140171e85], bl
mov eax, dword [0x140171e80]
movups xmm0, xmmword [str.wdmjnw]
mov dword [rbp - 9], eax
movzx eax, word [0x140171e84]
movups xmmword [rbp - 0x19], xmm0
mov word [rbp - 5], ax
je 0x1400aff3f
cmp r12d, 2
jl 0x1400afefa
movdqa xmm0, xmmword [0x140173d60]
lea rcx, [rbp - 0x15]
movdqa xmm5, xmmword [0x140173be0]
movdqa xmm4, xmmword [0x140173ef0]
movdqa xmm6, xmmword [0x140173c70]
movdqa xmmword [rbp - 0x29], xmm0
mov edx, dword [rbp - 0x29]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140173d30]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140173d30]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x1400afdf0
cmp ebx, 0x16
jge 0x1400aff3f
movsxd rax, ebx
lea r8, [rbp - 0x19]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, bl
inc ebx
sub al, cl
add al, 0x36
xor byte [r8 - 1], al
cmp ebx, 0x16
jl 0x1400aff10
lea rcx, [rbp - 0x19]
mov rax, rdi
inc rax
cmp byte [rcx + rax], 0
jne 0x1400aff46
cmp r14, 0xf
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 7]
mov rdx, r15
cmova rcx, rsi
lea r9, [rbp - 0x19]
xor r8d, r8d
call fcn.14005f900
cmp rax, rdi
jne 0x1400b0008
movzx ecx, word [0x140170698]
movzx eax, byte [0x14017069a]
movsd xmm0, qword [str._KU]
movsd qword [rbp - 0x29], xmm0
xor byte [rbp - 0x28], 0x37
xor byte [rbp - 0x27], 0x38
xor byte [rbp - 0x26], 0x39
xor byte [rbp - 0x25], 0x3a
xor byte [rbp - 0x24], 0x3b
xor byte [rbp - 0x23], 0x3c
xor byte [rbp - 0x22], 0x3d
mov word [rbp - 0x21], cx
xor cl, 0x3e
xor byte [rbp - 0x20], 0x3f
xor al, 0x40
mov byte [rbp - 0x29], Ordinal_79
mov byte [rbp - 0x1f], al
lea rax, [rbp - 0x29]
mov byte [rbp - 0x21], cl
nop word [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400affd0
cmp r14, 0xf
mov qword [rsp + 0x20], rdi
lea rcx, [rbp + 7]
mov rdx, r15
cmova rcx, rsi
lea r9, [rbp - 0x29]
xor r8d, r8d
call fcn.14005f900
cmp rax, 0xffffffffffffffff
jne 0x1400b0008
mov byte [0x141607832], 1
jmp 0x1400b000f
mov byte [0x141607831], 1
lea rcx, [rbp + 7]
call fcn.14003d470
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140144a50
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret