Function at 0x18005ede0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x2098
call fcn.180102660
sub rsp, rax
movaps xmmword [rsp + 0x2080], xmm6
movaps xmmword [rsp + 0x2070], xmm7
call fcn.18005d6a0
test al, al
jne 0x18005f009
movups xmm0, xmmword [str.W_HYIM]
mov eax, dword [0x1804f5ee8]
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x48], eax
movsd xmm0, qword [0x1804f5ee0]
movzx eax, byte [0x1804f5eec]
movsd qword [rsp + 0x40], xmm0
mov byte [rsp + 0x4c], al
jl 0x18005efb7
movdqa xmm0, xmmword [0x1804fa090]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x1804f9e00]
mov eax, reloc.WLDAP32.dll_Ordinal_26
movdqa xmm4, xmmword [0x1804faec0]
movdqa xmm7, xmmword [0x1804f9f70]
movaps xmmword [rsp + 0x2060], xmm8
movd xmm6, eax
mov eax, Ordinal_35
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
movd xmm8, eax
nop dword [rax]
nop dword [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 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 ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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 [0x1804f9f00]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
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
paddd xmm1, xmm3
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, r8d
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1804f9f00]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
pxor xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x18005eea0
movaps xmm8, xmmword [rsp + 0x2060]
cmp ecx, 0x1d
jge 0x18005efff
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8b6e9c61
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 0x1a
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x7c
movzx eax, cl
inc ecx
sub al, dl
add al, 0x38
xor byte [r8 - 1], al
cmp ecx, 0x1d
jl 0x18005efd0
lea r9, [rsp + 0x30]
jmp 0x18005f1a4
call fcn.18005e850
test al, al
jne 0x18005f1fc
cmp byte [0x1804f5ebb], 0
movsd xmm0, qword [str.KZHeZWS__cC]
mov eax, dword [0x1804f5eb8]
movsd qword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], eax
je 0x18005f19f
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x18005f165
movdqa xmm2, xmmword [0x1804f9e00]
mov eax, reloc.WLDAP32.dll_Ordinal_26
movdqa xmm3, xmmword [0x1804f9e20]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x1804faec0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 8
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, eax
mov eax, Ordinal_35
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm5, eax
mov eax, dword [0x1804fa090]
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1804f9f70]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1804f9f00]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.KZHeZWS__cC]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rsp + 0x20], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1804f9f70]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1804f9f00]
movd xmm1, dword [rsp + 0x24]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
pxor xmm2, xmm1
movd dword [rsp + 0x24], xmm2
movsxd rax, ecx
lea r8, [rsp + 0x20]
add r8, rax
mov eax, 0x8b6e9c61
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 0x1a
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x7c
movzx eax, cl
inc ecx
sub al, dl
add al, 0x38
xor byte [r8 - 1], al
cmp ecx, 0xc
jl 0x18005f170
lea r9, [rsp + 0x20]
mov r8d, 0xbb8
lea rcx, [rsp + 0x50]
mov edx, 1
call fcn.18005d5a0
mov rax, qword [0x18050e560]
cmp rax, qword [0x18050e568]
je 0x18005f1eb
mov r8d, 0x2010
lea rdx, [rsp + 0x50]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
add qword [0x18050e560], 0x2010
xor al, al
jmp 0x18005f1fe
lea r8, [rsp + 0x50]
mov rdx, rax
call fcn.1800600e0
xor al, al
jmp 0x18005f1fe
mov al, 1
movaps xmm6, xmmword [rsp + 0x2080]
movaps xmm7, xmmword [rsp + 0x2070]
add rsp, 0x2098
ret