Function at 0x1800986a0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x180119040]
xor rax, rsp
mov qword [rbp - 0x20], rax
cmp dword [0x18011abec], 5
movaps xmmword [rsp + 0x70], xmm6
jge 0x18009889d
movzx eax, word [0x1800fec08]
xor r8d, r8d
cmp dword [0x180119010], 2
movups xmm0, xmmword [0x1800febe8]
mov word [rbp - 0x30], ax
movups xmm1, xmmword [0x1800febf8]
movzx eax, byte [0x1800fec0a]
mov byte [rbp - 0x2e], al
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm1
jl 0x18009884f
movdqa xmm0, xmmword [str.2222222222222222]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x1801044a0]
movdqa xmm4, xmmword [0x1801046b0]
movdqa xmm6, xmmword [0x180104500]
movdqa xmmword [rbp - 0x60], xmm0
mov edx, dword [rbp - 0x60]
nop dword [rax]
nop word [rax + rax]
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 [0x1801045a0]
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 [0x1801045a0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x20
jl 0x180098740
cmp r8d, 0x23
jge 0x180098894
movsxd rax, r8d
lea r9, [rbp - 0x50]
add r9, rax
nop dword [rax]
mov eax, 0x8fb823ef
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, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x23
jl 0x180098860
lea rdx, [rbp - 0x50]
jmp 0x180098c48
movsd xmm0, qword [0x1801041b0]
comisd xmm0, xmmword [0x18011ac10]
jbe 0x180098a7d
cmp dword [0x180119010], 2
movups xmm0, xmmword [0x1800feee8]
movups xmm1, xmmword [0x1800feef8]
movups xmmword [rbp - 0x50], xmm0
movsd xmm0, qword [0x1800fef08]
movsd qword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x40], xmm1
jl 0x180098a30
movdqa xmm0, xmmword [str.2222222222222222]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x1801044a0]
xor edx, edx
movdqa xmm4, xmmword [0x1801046b0]
movdqa xmm6, xmmword [0x180104500]
movdqa xmmword [rbp - 0x60], xmm0
mov r8d, dword [rbp - 0x60]
nop dword [rax]
nop word [rax + rax]
movd xmm2, edx
lea eax, [rdx + 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 edx, 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 [0x1801045a0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
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, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1801045a0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x28
jl 0x180098920
lea rdx, [rbp - 0x50]
jmp 0x180098c48
lea r9, [rbp - 0x50]
xor r8d, r8d
nop word [rax + rax]
mov eax, 0x8fb823ef
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, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x28
jl 0x180098a40
lea rdx, [rbp - 0x50]
jmp 0x180098c48
movups xmm0, xmmword [0x1800ff8e8]
movzx eax, byte [0x1800ff910]
xor r8d, r8d
cmp dword [0x180119010], 2
movups xmm1, xmmword [0x1800ff8f8]
mov byte [rbp - 0x28], al
movups xmmword [rbp - 0x50], xmm0
movsd xmm0, qword [0x1800ff908]
movsd qword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x40], xmm1
jl 0x180098bff
movdqa xmm0, xmmword [str.2222222222222222]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x1801044a0]
movdqa xmm4, xmmword [0x1801046b0]
movdqa xmm6, xmmword [0x180104500]
movdqa xmmword [rbp - 0x60], xmm0
mov edx, dword [rbp - 0x60]
nop word [rax + rax]
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 [0x1801045a0]
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 [0x1801045a0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x28
jl 0x180098af0
cmp r8d, 0x29
jge 0x180098c44
movsxd rax, r8d
lea r9, [rbp - 0x50]
add r9, rax
nop dword [rax]
mov eax, 0x8fb823ef
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, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x29
jl 0x180098c10
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x60]
call fcn.180009330
movaps xmm6, xmmword [rsp + 0x70]
mov rdx, qword [rax]
movsxd rcx, dword [rdx + 3]
lea r8, [rdx + 7]
add r8, rcx
mov qword [rax], r8
mov qword [rbp - 0x38], 0xf
mov qword [0x18011b780], r8
test r8, r8
jne 0x180098ce1
xorps xmm0, xmm0
mov qword [rbp - 0x40], r8
lea ecx, [r8 + 0x20]
movups xmmword [rbp - 0x50], xmm0
call fcn.1800c8160
movups xmm0, xmmword [str.Couldnt_find_GObjects_]
mov qword [rbp - 0x50], rax
mov rdx, rax
mov qword [rbp - 0x40], reloc.WS2_32.dll_socket
mov qword [rbp - 0x38], 0x1f
movups xmmword [rax], xmm0
mov ecx, dword [0x1800fe558]
mov dword [rax + 0x10], ecx
movzx ecx, word [0x1800fe55c]
mov word [rax + 0x14], cx
lea rcx, [rbp - 0x50]
movzx eax, byte [0x1800fe55e]
mov byte [rdx + 0x16], al
mov byte [rdx + 0x17], 0
xor edx, edx
call fcn.180097a80
xor al, al
jmp 0x180098d23
mov eax, dword [0x1800fe580]
lea rcx, [rbp - 0x50]
movsd xmm0, qword [str.Found_GObjects_]
mov dword [rbp - 0x48], eax
movzx eax, word [0x1800fe584]
mov word [rbp - 0x44], ax
movzx eax, byte [0x1800fe586]
mov byte [rbp - 0x42], al
mov qword [rbp - 0x40], 0xf
movsd qword [rbp - 0x50], xmm0
mov byte [rbp - 0x41], 0
call fcn.180097780
mov al, 1
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.1800c8140
add rsp, 0x80
pop rbp
ret