Function at 0x180051f90
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movsd xmm0, qword [str.xNRWRM]
movsd qword [rbp - 0x49], xmm0
movzx eax, word [0x1800f3690]
mov word [rbp - 0x41], ax
movzx eax, byte [0x1800f3692]
mov byte [rbp - 0x49], 0x41
xor byte [rbp - 0x48], 0x3a
xor byte [rbp - 0x47], 0x3b
xor byte [rbp - 0x46], 0x3c
xor byte [rbp - 0x45], 0x3d
xor byte [rbp - 0x44], 0x3e
xor byte [rbp - 0x43], 0x3f
xor byte [rbp - 0x42], 0x40
xor byte [rbp - 0x41], 0x41
xor byte [rbp - 0x40], 0x42
xor al, 0x43
mov byte [rbp - 0x3f], al
mov r12d, 2
mov r8d, r12d
xor edx, edx
lea rcx, [rbp - 0x49]
call fcn.18000fda0
movsd xmm0, qword [0x1800f37a8]
movsd qword [rbp - 0x49], xmm0
movzx eax, byte [0x1800f37b0]
mov byte [rbp - 0x49], 0x55
xor byte [rbp - 0x48], 0x3a
xor byte [rbp - 0x47], 0x3b
xor byte [rbp - 0x46], 0x3c
xor byte [rbp - 0x45], 0x3d
xor byte [rbp - 0x44], 0x3e
xor byte [rbp - 0x43], 0x3f
xor byte [rbp - 0x42], 0x40
xor al, 0x41
mov byte [rbp - 0x41], al
mov qword [rbp + 0x67], 0
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
lea r9d, [r12 + 0x30]
lea r14, [0x180107938]
mov r8, r14
lea rdx, [rbp - 0x49]
lea rcx, str.1
call fcn.180039e60
movsd xmm0, qword [str.i_HOJQM_A]
movsd qword [rbp - 0x49], xmm0
movzx eax, byte [0x1800f3790]
mov byte [rbp - 0x49], 0x50
xor byte [rbp - 0x48], 0x3a
xor byte [rbp - 0x47], 0x3b
xor byte [rbp - 0x46], 0x3c
xor byte [rbp - 0x45], 0x3d
xor byte [rbp - 0x44], 0x3e
xor byte [rbp - 0x43], 0x3f
xor byte [rbp - 0x42], 0x40
xor al, 0x41
mov byte [rbp - 0x41], al
mov qword [rbp + 0x67], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x8000
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
lea r9d, [r12 + 0x30]
lea r15, [0x1801079a8]
mov r8, r15
lea rdx, [rbp - 0x49]
lea rcx, str.2
call fcn.180039e60
mov qword [rbp + 0x6f], rbx
mov rax, qword [str.uUUS]
mov qword [rbp + 0x67], rax
lea edi, [rbx + 0x1f]
lea r13d, [r12 + 0x16]
mov esi, dword [reloc.WS2_32.dll_accept]
cmp byte [0x1800f3d2f], bl
je 0x180052272
mov r8d, ebx
cmp esi, r12d
jl 0x180052235
movdqa xmm4, xmmword [0x1800f5620]
movd xmm6, r13d
movd xmm5, edi
movdqa xmm2, xmmword [0x1800f53c0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800f5500]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800f5480]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1800f56a0]
movd xmm0, dword [rbp + 0x67]
pxor xmm2, xmm0
movd dword [rbp + 0x67], xmm2
movdqa xmm3, xmmword [0x1800f53e0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800f5500]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800f5480]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1800f56a0]
movd xmm0, dword [rbp + 0x6b]
pxor xmm2, xmm0
movd dword [rbp + 0x6b], xmm2
jmp 0x180052272
lea r9, [rbp + 0x67]
nop dword [rax]
mov eax, 0x16dd38e7
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1a
movsx eax, al
imul ecx, eax, 0x7b
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x180052240
lea rdx, [rbp + 0x6f]
lea rcx, [rbp + 0x67]
call fcn.180030c70
test al, al
je 0x1800524ae
lea rax, [rbp - 0x39]
mov qword [rbp + 0x67], rax
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x21], reloc.WS2_32.dll_ntohs
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [r15 + r8], bl
jne 0x1800522b0
mov rdx, r15
lea rcx, [rbp - 0x39]
call fcn.1800412d0
nop
mov qword [rbp - 0x19], rbx
mov qword [rbp - 9], rbx
mov qword [rbp - 1], reloc.WS2_32.dll_ntohs
inc rdi
cmp byte [r14 + rdi], 0
jne 0x1800522d6
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x19]
call fcn.1800412d0
nop
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x19]
lea rcx, [0x180107a10]
call fcn.18005f160
cmp byte [0x180107c48], 0
je 0x180052323
mov dword [0x180107930], 1
mov byte [0x180107cd2], 1
jmp 0x1800524a9
movsd xmm0, qword [0x1800f3b38]
movsd qword [rbp - 0x49], xmm0
mov eax, dword [0x1800f3b40]
mov dword [rbp - 0x41], eax
cmp byte [0x1800f3b43], 0
je 0x1800524a0
mov r8d, ebx
cmp esi, 2
jl 0x18005245f
movdqa xmm4, xmmword [0x1800f5620]
movd xmm6, r13d
mov eax, Ordinal_33
movd xmm5, eax
movdqa xmm2, xmmword [0x1800f53c0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800f5500]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800f5480]
packuswb xmm2, xmm2
mov eax, dword [0x1800f56a0]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [0x1800f3b38]
pxor xmm2, xmm1
movd dword [rbp - 0x49], xmm2
movdqa xmm3, xmmword [0x1800f53e0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800f5500]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800f5480]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x45]
pxor xmm2, xmm1
movd dword [rbp - 0x45], xmm2
mov r8d, 8
mov eax, r8d
lea r9, [rbp - 0x49]
add r9, rax
nop dword [rax]
mov eax, 0x22dba71d
imul r8d
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x7b
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x180052470
lea rcx, [rbp - 0x49]
call fcn.180030010
mov edi, Ordinal_33
movss xmm1, dword [0x1800f5338]
xorps xmm0, xmm0
call fcn.180015470
mov qword [rbp + 0x67], 0
movsd xmm4, qword [0x1800f3cd0]
movsd qword [rbp - 0x49], xmm4
mov eax, dword [0x1800f3cd8]
mov dword [rbp - 0x41], eax
movzx eax, word [0x1800f3cdc]
mov word [rbp - 0x3d], ax
cmp byte [0x1800f3cdd], 0
je 0x18005263c
cmp esi, 2
jl 0x180052604
movdqa xmm4, xmmword [0x1800f5620]
movd xmm6, r13d
movd xmm5, edi
movdqa xmm2, xmmword [0x1800f53c0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800f5500]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800f5480]
packuswb xmm2, xmm2
mov eax, dword [0x1800f56a0]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [0x1800f3cd0]
pxor xmm2, xmm1
movd dword [rbp - 0x49], xmm2
movdqa xmm3, xmmword [0x1800f53e0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800f5500]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800f5480]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x45]
pxor xmm2, xmm1
movd dword [rbp - 0x45], xmm2
mov ebx, 8
mov eax, ebx
lea r8, [rbp - 0x49]
add r8, rax
nop dword [rax]
mov eax, 0x22dba71d
imul ebx
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x7b
movzx eax, bl
sub al, cl
add al, 0x39
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0xe
jl 0x180052610
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x49]
call fcn.180030c70
mov ecx, dword [0x180107930]
test al, al
cmovne ecx, r12d
mov dword [0x180107930], ecx
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.180012110