Function at 0x1800c1580
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm6
mov rax, qword [0x180129540]
xor rax, rsp
mov qword [rsp + 0x70], rax
cmp byte [0x18012a790], 0
movaps xmm6, xmm0
jne 0x1800c1637
xor r10d, r10d
mov qword [rsp + 0x68], socket
xorps xmm0, xmm0
mov qword [rsp + 0x60], r10
movups xmmword [rsp + 0x50], xmm0
lea ecx, [r10 + 0x50]
call fcn.1800d8958
movups xmm0, xmmword [str.Couldnt_start_MainEvent_because_SetupMainEvent_returned_FALSE]
mov rcx, rax
mov qword [rsp + 0x50], rax
xor edx, edx
mov qword [rsp + 0x60], 0x42
mov qword [rsp + 0x68], 0x4f
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1800f4ea0]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1800f4eb0]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [0x1800f4ec0]
movups xmmword [rax + 0x30], xmm1
movzx eax, word [0x1800f4ed0]
mov word [rcx + 0x40], ax
mov byte [rcx + 0x42], 0
lea rcx, [rsp + 0x50]
call fcn.180093170
xor al, al
jmp 0x1800c18d7
comisd xmm6, xmmword [0x1800f5180]
jb 0x1800c1673
cmp qword [0x18012bfa8], 0
je 0x1800c165a
call fcn.1800c0760
call fcn.1800cf680
call fcn.1800cf700
mov rax, qword [0x18012bfb0]
test rax, rax
je 0x1800c167a
mov r8b, 1
xor edx, edx
mov rcx, rax
call fcn.1800cfa40
mov rax, qword [0x18012bfb0]
ucomisd xmm6, qword [0x1800f51a8]
jp 0x1800c18d7
jne 0x1800c18d7
mov qword [rsp + 0x90], rbx
mov qword [0x18012bfc0], rax
call fcn.1800d2090
mov rcx, qword [0x18012bfb8]
call fcn.1800cd690
movups xmm0, xmmword [str.UFBRJj_JIXP_]
mov rbx, qword [0x18012bfb8]
xor r10d, r10d
cmp byte [0x1800f4e83], r10b
mov qword [0x18012a7a0], rax
mov eax, dword [0x1800f4e80]
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x60], eax
je 0x1800c1874
cmp dword [0x180129500], 2
mov r8d, r10d
jl 0x1800c1830
movdqa xmm0, xmmword [0x1800f1680]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x1800e4760]
movdqa xmm4, xmmword [0x1800f51e0]
movdqa xmm6, xmmword [str.8888]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 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 r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800e4780]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800e4780]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1800c1721
cmp r8d, 0x14
jge 0x1800c1874
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax + rax]
mov eax, 0x92492493
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x14
jl 0x1800c1840
xorps xmm0, xmm0
mov qword [rsp + 0x40], r10
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x48], r10
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r10b
jne 0x1800c1892
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.180004e30
mov rcx, qword [0x18012bfc0]
lea rdx, [rsp + 0x30]
call fcn.18001ec60
mov qword [rax], rbx
mov rcx, qword [0x18012bfc0]
call fcn.1800d2fc0
call fcn.1800d2160
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1800d8e20
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
ret