Function at 0x18005d6a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x80
movups xmm0, xmmword [str._PNRFXP]
movzx eax, word [0x1804f5f08]
xor ebx, ebx
mov edi, dword [reloc.WS2_32.dll_accept]
mov ecx, ebx
mov word [rbp - 0x38], ax
movzx eax, byte [0x1804f5f0a]
movaps xmmword [rsp + 0x70], xmm6
lea esi, [rbx + 0x1a]
movaps xmmword [rsp + 0x60], xmm7
lea r14d, [rbx + 0x1f]
mov byte [rbp - 0x36], al
movups xmmword [rbp - 0x50], xmm0
movsd xmm0, qword [0x1804f5f00]
movsd qword [rbp - 0x40], xmm0
cmp edi, 2
jl 0x18005d864
movdqa xmm0, xmmword [0x1804fa090]
lea rdx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x1804f9e00]
movdqa xmm4, xmmword [0x1804faec0]
movdqa xmm7, xmmword [0x1804f9f70]
movdqa xmmword [rbp - 0x60], xmm0
mov r8d, dword [rbp - 0x60]
movaps xmmword [rsp + 0x50], xmm8
movd xmm6, esi
movd xmm8, r14d
nop dword [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 0x18005d750
movaps xmm8, xmmword [rsp + 0x50]
cmp ecx, 0x1b
jge 0x18005d89f
movsxd rax, ecx
lea r8, [rbp - 0x50]
add r8, rax
nop
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, 0x1b
jl 0x18005d870
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18005d906
cmp byte [0x1804f5ec9], bl
movsd xmm0, qword [0x1804f5ec0]
movzx eax, word [0x1804f5ec8]
movsd qword [rbp - 0x60], xmm0
mov word [rbp - 0x58], ax
je 0x18005d8f6
xor byte [rbp - 0x5f], 0x39
xor byte [rbp - 0x5e], 0x3a
xor byte [rbp - 0x5d], 0x3b
xor byte [rbp - 0x5c], 0x3c
xor byte [rbp - 0x5b], 0x3d
xor byte [rbp - 0x5a], 0x3e
xor byte [rbp - 0x59], 0x3f
xor byte [rbp - 0x58], 0x40
xor byte [rbp - 0x57], 0x41
mov byte [rbp - 0x60], WSASetLastError
lea rcx, [rbp - 0x60]
call fcn.180050c80
xor al, al
jmp 0x18005daae
lea rdx, str._OnInitializeInstance_ResourceManager_fx__2V__fwEvent_PEAVResourceManager_fx____A
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
add rax, 0x20
mov qword [0x18050fa48], rax
jne 0x18005daac
cmp byte [0x1804f5f1b], bl
movsd xmm0, qword [0x1804f5f10]
mov eax, dword [0x1804f5f18]
movsd qword [rbp - 0x60], xmm0
mov dword [rbp - 0x58], eax
je 0x18005da9f
cmp edi, 2
jl 0x18005da61
movdqa xmm2, xmmword [0x1804f9e00]
mov ebx, 8
movdqa xmm3, xmmword [0x1804f9e20]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x1804faec0]
movdqa xmm0, xmm2
mov eax, dword [0x1804fa090]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, esi
movd xmm5, r14d
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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 [0x1804f5f10]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x60], 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 [rbp - 0x5c]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
pxor xmm2, xmm1
movd dword [rbp - 0x5c], xmm2
movsxd rax, ebx
lea r8, [rbp - 0x60]
add r8, rax
nop dword [rax + rax]
mov eax, 0x8b6e9c61
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 0x1a
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x7c
movzx eax, bl
inc ebx
sub al, cl
add al, 0x38
xor byte [r8 - 1], al
cmp ebx, 0xc
jl 0x18005da70
lea rcx, [rbp - 0x60]
call fcn.180050c80
xor al, al
jmp 0x18005daae
mov al, 1
movaps xmm6, xmmword [rsp + 0x70]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm7, xmmword [rsp + 0x60]
mov rsp, r11
pop rbp
ret