Function at 0x1800c25d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
cmp word [0x18018701a], 0
movsd xmm0, qword [0x180187010]
mov eax, dword [0x180187018]
movsd qword [rbp - 0x49], xmm0
mov dword [rbp - 0x41], eax
je 0x1800c2629
xor word [rbp - 0x47], 0x3a
mov eax, 0x46
xor word [rbp - 0x45], 0x3b
xor word [rbp - 0x43], 0x3c
xor word [rbp - 0x41], 0x3d
xor word [rbp - 0x3f], 0x3e
mov word [rbp - 0x49], ax
xor edi, edi
lea rax, [rbp - 0x49]
xorps xmm0, xmm0
mov qword [rbp - 0x21], rdi
mov rbx, 0xffffffffffffffff
mov qword [rbp - 0x19], rdi
movups xmmword [rbp - 0x31], xmm0
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], di
jne 0x1800c2650
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x31]
call fcn.180008fb0
lea rcx, [rbp - 0x31]
call fcn.1800c2520
test al, al
jne 0x1800c2916
cmp word [0x180186ee6], di
movups xmm3, xmmword [str.VTSYmK2__D]
movsd xmm0, qword [0x180186ee0]
movups xmmword [rbp - 0x49], xmm3
movsd qword [rbp - 0x39], xmm0
je 0x1800c27d4
cmp dword [reloc.WS2_32.dll_accept], 2
mov ecx, edi
jl 0x1800c2792
movdqa xmm2, xmmword [0x180187330]
mov ecx, 8
movdqa xmm4, xmmword [0x180187680]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180187400]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movq xmm1, xmm3
movdqa xmm3, xmmword [0x180187370]
paddw xmm2, xmmword [0x1801874a0]
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movq qword [rbp - 0x49], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180187400]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp - 0x41]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x1801874a0]
xorps xmm2, xmm0
movq qword [rbp - 0x41], xmm2
movsxd rax, ecx
lea r8, [rbp - 0x49]
lea r8, [r8 + rax*2]
nop dword [rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 2]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul edx, eax, 0x39
add dx, cx
inc ecx
xor word [r8 - 2], dx
cmp ecx, 0xc
jl 0x1800c27a0
xorps xmm0, xmm0
mov qword [rbp - 1], rdi
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp + 7], rdi
lea rax, [rbp - 0x49]
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], di
jne 0x1800c27f0
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x11]
call fcn.180008fb0
lea rcx, [rbp - 0x11]
call fcn.1800c2520
test al, al
jne 0x1800c2916
movsd xmm0, qword [str.QCCX]
mov ecx, 0x68
movzx eax, word [0x180186f08]
mov r8, rbx
movsd qword [rbp - 0x49], xmm0
xorps xmm0, xmm0
xor word [rbp - 0x47], 0x3a
xor word [rbp - 0x45], 0x3b
xor word [rbp - 0x43], 0x3c
xor ax, 0x3d
mov word [rbp - 0x49], cx
mov word [rbp - 0x41], ax
lea rax, [rbp - 0x49]
movups xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], rdi
mov qword [rbp + 0x27], rdi
inc r8
cmp word [rax + r8*2], di
jne 0x1800c2862
lea rdx, [rbp - 0x49]
lea rcx, [rbp + 0xf]
call fcn.180008fb0
lea rcx, [rbp + 0xf]
call fcn.1800c2520
test al, al
jne 0x1800c2916
cmp word [0x180186eca], di
movups xmm0, xmmword [str._VYbF_tt3B]
mov eax, dword [0x180186ec8]
mov dword [rbp - 0x39], eax
movups xmmword [rbp - 0x49], xmm0
je 0x1800c28dd
xor word [rbp - 0x47], 0x3a
mov eax, 0x47
xor word [rbp - 0x45], 0x3b
xor word [rbp - 0x43], 0x3c
xor word [rbp - 0x41], 0x3d
xor word [rbp - 0x3f], 0x3e
xor word [rbp - 0x3d], 0x3f
xor word [rbp - 0x3b], 0x40
xor word [rbp - 0x39], 0x41
xor word [rbp - 0x37], 0x42
mov word [rbp - 0x49], ax
xorps xmm0, xmm0
mov qword [rbp + 0x3f], rdi
movups xmmword [rbp + 0x2f], xmm0
mov qword [rbp + 0x47], rdi
lea rax, [rbp - 0x49]
inc rbx
cmp word [rax + rbx*2], di
jne 0x1800c28f0
mov r8, rbx
lea rdx, [rbp - 0x49]
lea rcx, [rbp + 0x2f]
call fcn.180008fb0
lea rcx, [rbp + 0x2f]
call fcn.1800c2520
test al, al
je 0x1800c2918
mov al, 1
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret