Function at 0x1400ae970
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x80
mov rbx, qword [0x140389888]
lea rcx, [0x14038a108]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400aec68
lea rcx, [0x14038a100]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400aec68
mov rcx, qword [0x140389ba0]
xor r8d, r8d
movups xmm0, xmmword [str._XQBQfSVLQaH__qqD]
movzx eax, byte [0x14034e308]
mov qword [0x14038a0f8], rbx
or dword [rcx + 0xc], 6
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x40], al
jl 0x1400aeb5b
movdqa xmm0, xmmword [0x14034ebb0]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x14034eac0]
mov eax, 4
movdqa xmm4, xmmword [0x14034fa70]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movdqa xmm7, xmmword [0x14034eae0]
movd xmm6, eax
mov eax, Ordinal_32
movdqa xmmword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x20]
movaps xmmword [rsp + 0x50], xmm8
movd xmm8, eax
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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 r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x14034eb80]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r9d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r9d
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14034eb80]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
pxor xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp r8d, 0x10
jl 0x1400aea40
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
cmp r8d, 0x11
jge 0x1400aeba1
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop word [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, dl
add al, 0x34
xor byte [r9 - 1], al
cmp r8d, 0x11
jl 0x1400aeb70
lea rax, [rsp + 0x30]
mov qword [rcx + 0x120], rbx
mov qword [rcx + 0xd8], rax
mov al, 1
mov dword [rcx + 0x3c], 9
mov dword [rcx + 0x40], Ordinal_41
mov dword [rcx + 0x44], Ordinal_45
mov dword [rcx + 0x48], Ordinal_41
mov dword [rcx + 0x4c], Ordinal_45
mov dword [rcx + 0x50], reloc.WLDAP32.dll_Ordinal_33
mov dword [rcx + 0x54], Ordinal_35
mov dword [rcx + 0x58], Ordinal_41
mov dword [rcx + 0x5c], reloc.WLDAP32.dll_Ordinal_35
mov dword [rcx + 0x60], reloc.WLDAP32.dll_Ordinal_45
mov dword [rcx + 0x64], reloc.WLDAP32.dll_Ordinal_46
mov dword [rcx + 0x68], 8
mov dword [rcx + 0x6c], reloc.WLDAP32.dll_Ordinal_32
mov dword [rcx + 0x70], reloc.WS2_32.dll_listen
mov dword [rcx + 0x74], reloc.WLDAP32.dll_Ordinal_27
mov dword [rcx + 0x78], reloc.WS2_32.dll_listen
mov dword [rcx + 0x7c], 0x41
mov dword [rcx + 0x80], 0x43
mov dword [rcx + 0x84], 0x56
mov dword [rcx + 0x88], 0x58
mov dword [rcx + 0x8c], 0x59
mov dword [rcx + 0x90], 0x5a
add rsp, 0x80
pop rbx
ret
xor al, al
add rsp, 0x80
pop rbx
ret