Function at 0x180052690
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
movaps xmmword [rsp + 0xb0], xmm6
movsd xmm0, qword [str.xNRWRM]
movsd qword [rbp - 0x59], xmm0
movzx eax, word [0x1800f3690]
mov word [rbp - 0x51], ax
movzx eax, byte [0x1800f3692]
mov byte [rbp - 0x59], 0x41
xor byte [rbp - 0x58], 0x3a
xor byte [rbp - 0x57], 0x3b
xor byte [rbp - 0x56], 0x3c
xor byte [rbp - 0x55], 0x3d
xor byte [rbp - 0x54], 0x3e
xor byte [rbp - 0x53], 0x3f
xor byte [rbp - 0x52], 0x40
xor byte [rbp - 0x51], 0x41
xor byte [rbp - 0x50], 0x42
xor al, 0x43
mov byte [rbp - 0x4f], al
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x59]
call fcn.18000fda0
movsd xmm0, qword [0x1800f37a8]
movsd qword [rbp - 0x59], xmm0
movzx eax, byte [0x1800f37b0]
mov byte [rbp - 0x59], 0x55
xor byte [rbp - 0x58], 0x3a
xor byte [rbp - 0x57], 0x3b
xor byte [rbp - 0x56], 0x3c
xor byte [rbp - 0x55], 0x3d
xor byte [rbp - 0x54], 0x3e
xor byte [rbp - 0x53], 0x3f
xor byte [rbp - 0x52], 0x40
xor al, 0x41
mov byte [rbp - 0x51], al
mov qword [rbp + 0x67], 0
xor esi, esi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 0x32]
lea r15, [0x180107938]
mov r8, r15
lea rdx, [rbp - 0x59]
lea rcx, str.1
call fcn.180039e60
movsd xmm0, qword [str.i_HOJQM_A]
movsd qword [rbp - 0x59], xmm0
movzx eax, byte [0x1800f3790]
mov byte [rbp - 0x59], 0x50
xor byte [rbp - 0x58], 0x3a
xor byte [rbp - 0x57], 0x3b
xor byte [rbp - 0x56], 0x3c
xor byte [rbp - 0x55], 0x3d
xor byte [rbp - 0x54], 0x3e
xor byte [rbp - 0x53], 0x3f
xor byte [rbp - 0x52], 0x40
xor al, 0x41
mov byte [rbp - 0x51], al
mov qword [rbp + 0x67], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x8000
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 0x32]
lea r12, [0x1801079a8]
mov r8, r12
lea rdx, [rbp - 0x59]
lea rcx, str.2
call fcn.180039e60
mov eax, dword [0x1800f37a4]
mov dword [rbp + 0x67], eax
lea ecx, [rsi + 0x1f]
lea r13d, [rsi + 0x18]
mov edi, dword [reloc.WS2_32.dll_accept]
cmp byte [reloc.WLDAP32.dll_Ordinal_60], sil
je 0x1800528f2
mov r8d, esi
cmp edi, 2
jl 0x1800528b1
movdqa xmm3, xmmword [0x1800f53c0]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1800f5620]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1800f5620]
shufps xmm2, xmm0, 0xdd
movd xmm0, r13d
psrad xmm2, xmm0
movd xmm0, ecx
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x1800f5500]
psubd xmm3, xmm1
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, eax
pxor xmm2, xmm0
movd dword [rbp + 0x67], xmm2
jmp 0x1800528f2
lea r10, [rbp + 0x67]
nop word [rax + 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 [r10], al
inc r8d
lea r10, [r10 + 1]
cmp r8d, 4
jl 0x1800528c0
mov qword [rbp + 0x6f], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x8000
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x20], rax
mov r9d, reloc.WLDAP32.dll_Ordinal_50
lea r14, [0x180107970]
mov r8, r14
lea rdx, [rbp + 0x67]
lea rcx, str.3
call fcn.180039e60
mov qword [rbp + 0x67], rsi
movsd xmm0, qword [str.k_UNJZ2abC]
movsd qword [rbp - 0x59], xmm0
movzx eax, word [0x1800f36b8]
mov word [rbp - 0x51], ax
movzx eax, byte [0x1800f36ba]
mov byte [rbp - 0x59], 0x52
xor byte [rbp - 0x58], 0x3a
xor byte [rbp - 0x57], 0x3b
xor byte [rbp - 0x56], 0x3c
xor byte [rbp - 0x55], 0x3d
xor byte [rbp - 0x54], 0x3e
xor byte [rbp - 0x53], 0x3f
xor byte [rbp - 0x52], 0x40
xor byte [rbp - 0x51], 0x41
xor byte [rbp - 0x50], 0x42
xor al, 0x43
mov byte [rbp - 0x4f], al
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x59]
call fcn.180030c70
test al, al
je 0x180052bf9
lea rax, [rbp - 0x49]
mov qword [rbp + 0x67], rax
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [r14 + r8], sil
jne 0x1800529c0
mov rdx, r14
lea rcx, [rbp - 0x49]
call fcn.1800412d0
nop
lea rax, [rbp - 0x29]
mov qword [rbp + 0x6f], rax
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], reloc.WS2_32.dll_ntohs
mov r8, rbx
inc r8
cmp byte [r12 + r8], 0
jne 0x1800529f1
mov rdx, r12
lea rcx, [rbp - 0x29]
call fcn.1800412d0
nop
mov qword [rbp - 9], rsi
mov qword [rbp + 7], rsi
mov qword [rbp + reloc.WS2_32.dll_ntohs], 0xf
nop dword [rax + rax]
inc rbx
cmp byte [r15 + rbx], 0
jne 0x180052a20
mov r8, rbx
mov rdx, r15
lea rcx, [rbp - 9]
call fcn.1800412d0
nop
lea r9, [rbp - 0x49]
lea r8, [rbp - 0x29]
lea rdx, [rbp - 9]
lea rcx, [0x180107a10]
call fcn.18005feb0
cmp byte [0x180107c48], 0
je 0x180052a71
mov dword [0x180107930], 1
mov byte [0x180107cd2], 1
jmp 0x180052bf9
movsd xmm0, qword [0x1800f3b38]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [0x1800f3b40]
mov dword [rbp - 0x51], eax
cmp byte [0x1800f3b43], 0
je 0x180052bf0
mov r8d, esi
cmp edi, 2
jl 0x180052ba7
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
paddb xmm2, xmmword [0x1800f56a0]
movd xmm0, dword [0x1800f3b38]
pxor xmm2, xmm0
movd dword [rbp - 0x59], 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 - 0x55]
pxor xmm2, xmm0
movd dword [rbp - 0x55], xmm2
mov r8d, 8
mov eax, r8d
lea r9, [rbp - 0x59]
add r9, rax
nop dword [rax]
nop word [rax + 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 0x180052bc0
lea rcx, [rbp - 0x59]
call fcn.180030010
movss xmm1, dword [0x1800f5338]
xorps xmm0, xmm0
call fcn.180015470
mov qword [rbp + 0x67], 0
movsd xmm4, qword [0x1800f3748]
movsd qword [rbp - 0x59], xmm4
movzx eax, word [0x1800f3750]
mov word [rbp - 0x51], ax
movzx eax, byte [0x1800f3752]
mov byte [rbp - 0x59], 0x47
xor byte [rbp - 0x58], 0x3a
xor byte [rbp - 0x57], 0x3b
xor byte [rbp - 0x56], 0x3c
xor byte [rbp - 0x55], 0x3d
xor byte [rbp - 0x54], 0x3e
xor byte [rbp - 0x53], 0x3f
xor byte [rbp - 0x52], 0x40
xor byte [rbp - 0x51], 0x41
xor byte [rbp - 0x50], 0x42
xor al, 0x43
mov byte [rbp - 0x4f], al
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x59]
call fcn.180030c70
mov ecx, dword [0x180107930]
test al, al
cmovne ecx, esi
mov dword [0x180107930], ecx
mov rbx, qword [rsp + 0x118]
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.180012110