Function at 0x18008ec70
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
lea rbp, [rsp - 0x4f]
sub rsp, 0xa8
xor edi, edi
mov qword [rsp + 0xa0], rbx
cmp dword [0x18011ce18], 0x212
jge 0x18008ed21
lea rdx, [0x18011e770]
lea rcx, [rbp - 9]
call fcn.180034980
mov r9b, 1
lea rcx, [rbp + 0x67]
mov rdx, rax
call fcn.18008f820
xorps xmm0, xmm0
mov qword [rbp - 0x19], rdi
lea edx, [rdi + 1]
mov rbx, rax
lea rcx, [rbp - 0x29]
movdqu xmmword [rbp - 0x29], xmm0
call fcn.18002fb80
mov rcx, qword [rbp - 0x29]
lea r8, [rbp - 0x29]
mov r9b, 1
mov dword [rsp + 0x20], 1
lea rdx, [rbp + 0x77]
mov byte [rcx], 0xe8
inc rcx
mov qword [rbp - 0x21], rcx
mov rcx, rbx
call fcn.180090380
mov rdx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x18008ed15
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
mov qword [rdx], rcx
mov qword [0x18011de90], rcx
jmp 0x18008f1cf
movsd xmm1, qword [0x18011cd50]
ucomisd xmm1, qword [0x180104508]
movaps xmmword [rsp + 0x90], xmm6
jp 0x18008ef38
jne 0x18008ef38
mov rcx, qword [0x18011de90]
test rcx, rcx
jne 0x18008f1c7
cmp dword [0x18011b018], 2
mov r8d, edi
movups xmm0, xmmword [0x1800fc080]
mov eax, dword [0x1800fc0b0]
movups xmm1, xmmword [0x1800fc090]
mov dword [rbp + 0x27], eax
movzx eax, word [0x1800fc0b4]
movups xmmword [rbp - 9], xmm0
mov word [rbp + 0x2b], ax
movups xmm0, xmmword [0x1800fc0a0]
movups xmmword [rbp + 7], xmm1
movups xmmword [rbp + 0x17], xmm0
jl 0x18008eed7
movdqa xmm0, xmmword [0x180104850]
lea rcx, [rbp - 5]
movdqa xmm5, xmmword [0x180104740]
movdqa xmm4, xmmword [0x180104830]
movdqa xmm6, xmmword [0x180104760]
movdqa xmmword [rbp - 0x29], xmm0
mov edx, dword [rbp - 0x29]
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
psrad xmm1, 1
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 [0x180104820]
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
psrad xmm1, 1
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 [0x180104820]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x30
jl 0x18008edd0
cmp r8d, 0x36
jge 0x18008ef20
movsxd rax, r8d
lea r9, [rbp - 9]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9 - 1], al
cmp r8d, 0x36
jl 0x18008eef0
xor r8d, r8d
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x67]
call fcn.18001e960
mov rcx, qword [rax]
jmp 0x18008f1c0
movsd xmm0, qword [0x180104530]
comisd xmm0, xmm1
ja 0x18008f142
ucomisd xmm1, qword [0x180104538]
jp 0x18008f142
jne 0x18008f142
cmp dword [0x18011b018], 2
mov r8d, edi
movups xmm0, xmmword [0x1800fc040]
mov eax, dword [0x1800fc078]
movups xmm1, xmmword [str.ethvjtlrnppejsl]
mov dword [rbp + 0x2f], eax
movzx eax, word [0x1800fc07c]
movups xmmword [rbp - 9], xmm0
mov word [rbp + 0x33], ax
movups xmm0, xmmword [0x1800fc060]
movups xmmword [rbp + 7], xmm1
movups xmmword [rbp + 0x17], xmm0
movsd xmm0, qword [0x1800fc070]
movsd qword [rbp + 0x27], xmm0
jl 0x18008f0e7
movdqa xmm0, xmmword [0x180104850]
lea rcx, [rbp - 5]
movdqa xmm5, xmmword [0x180104740]
movdqa xmm4, xmmword [0x180104830]
movdqa xmm6, xmmword [0x180104760]
movdqa xmmword [rbp - 0x29], xmm0
mov edx, dword [rbp - 0x29]
nop dword [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
psrad xmm1, 1
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 [0x180104820]
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
psrad xmm1, 1
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 [0x180104820]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x38
jl 0x18008efe0
cmp r8d, 0x3e
jge 0x18008f130
movsxd rax, r8d
lea r9, [rbp - 9]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9 - 1], al
cmp r8d, 0x3e
jl 0x18008f100
xor r8d, r8d
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x67]
call fcn.18001e960
jmp 0x18008f1a7
lea rdx, [0x18011e790]
lea rcx, [rbp - 9]
call fcn.180034980
mov r9b, 1
lea rcx, [rbp + 0x67]
mov rdx, rax
call fcn.18008f820
xorps xmm0, xmm0
mov qword [rbp - 0x19], rdi
mov edx, 1
lea rcx, [rbp - 0x29]
movdqu xmmword [rbp - 0x29], xmm0
mov rbx, rax
call fcn.18002fb80
mov rcx, qword [rbp - 0x29]
lea r8, [rbp - 0x29]
mov r9b, 1
mov dword [rsp + 0x20], 1
lea rdx, [rbp + 0x77]
mov byte [rcx], 0xe8
inc rcx
mov qword [rbp - 0x21], rcx
mov rcx, rbx
call fcn.180090380
mov rcx, qword [rax]
mov rdx, rax
test rcx, rcx
je 0x18008f1c0
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
mov qword [rdx], rcx
mov qword [0x18011de90], rcx
movaps xmm6, xmmword [rsp + 0x90]
cmp dword [0x18011cd58], 0x10
mov rbx, qword [rsp + 0xa0]
jl 0x18008f280
xorps xmm0, xmm0
mov qword [rbp - 0x19], rdi
test rcx, rcx
mov qword [rbp - 0x11], rdi
movups xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x29]
jne 0x18008f244
mov r8d, 0x45
lea rdx, str.Couldnt_find_RequestExit__Game_will_close_out_when_entering_In_Game_
call fcn.18001d5d0
movdqa xmm1, xmmword [0x1801046e0]
lea rcx, [rbp - 9]
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov byte [rbp - 9], dil
movdqu xmmword [rbp + 7], xmm1
call fcn.18001faf0
lea rcx, [rbp - 0x29]
call fcn.18001faf0
xor al, al
add rsp, 0xa8
pop rdi
pop rbp
ret
mov r8d, socket
lea rdx, str.Found_RequestExit_
call fcn.18001d5d0
movdqa xmm1, xmmword [0x1801046e0]
lea rcx, [rbp - 9]
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov byte [rbp - 9], dil
movdqu xmmword [rbp + 7], xmm1
call fcn.18001faf0
lea rcx, [rbp - 0x29]
call fcn.18001faf0
mov al, 1
add rsp, 0xa8
pop rdi
pop rbp
ret