Function at 0x18004f260
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 [0x1800d5ce8], 0x212
jge 0x18004f311
lea rdx, [0x1800d66f0]
lea rcx, [rbp - 9]
call fcn.180034980
mov r9b, 1
lea rcx, [rbp + 0x67]
mov rdx, rax
call fcn.18004fe10
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.180050970
mov rdx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x18004f305
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
mov qword [rdx], rcx
mov qword [0x1800d5e70], rcx
jmp 0x18004f7bf
movsd xmm1, qword [0x1800d5c20]
ucomisd xmm1, qword [0x1800c2b90]
movaps xmmword [rsp + 0x90], xmm6
jp 0x18004f528
jne 0x18004f528
mov rcx, qword [0x1800d5e70]
test rcx, rcx
jne 0x18004f7b7
cmp dword [0x1800d4018], 2
mov r8d, edi
movups xmm0, xmmword [0x1800ba840]
mov eax, dword [0x1800ba870]
movups xmm1, xmmword [0x1800ba850]
mov dword [rbp + 0x27], eax
movzx eax, word [0x1800ba874]
movups xmmword [rbp - 9], xmm0
mov word [rbp + 0x2b], ax
movups xmm0, xmmword [0x1800ba860]
movups xmmword [rbp + 7], xmm1
movups xmmword [rbp + 0x17], xmm0
jl 0x18004f4c7
movdqa xmm0, xmmword [0x1800c2da0]
lea rcx, [rbp - 5]
movdqa xmm5, xmmword [0x1800c2cc0]
movdqa xmm4, xmmword [0x1800c2d80]
movdqa xmm6, xmmword [0x1800c2ce0]
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 [0x1800c2d70]
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 [0x1800c2d70]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x30
jl 0x18004f3c0
cmp r8d, 0x36
jge 0x18004f510
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 0x18004f4e0
xor r8d, r8d
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x67]
call fcn.18001e960
mov rcx, qword [rax]
jmp 0x18004f7b0
movsd xmm0, qword [0x1800c2bb8]
comisd xmm0, xmm1
ja 0x18004f732
ucomisd xmm1, qword [0x1800c2bc0]
jp 0x18004f732
jne 0x18004f732
cmp dword [0x1800d4018], 2
mov r8d, edi
movups xmm0, xmmword [0x1800ba800]
mov eax, dword [0x1800ba838]
movups xmm1, xmmword [str.ethvjtlrnppejsl]
mov dword [rbp + 0x2f], eax
movzx eax, word [0x1800ba83c]
movups xmmword [rbp - 9], xmm0
mov word [rbp + 0x33], ax
movups xmm0, xmmword [0x1800ba820]
movups xmmword [rbp + 7], xmm1
movups xmmword [rbp + 0x17], xmm0
movsd xmm0, qword [0x1800ba830]
movsd qword [rbp + 0x27], xmm0
jl 0x18004f6d7
movdqa xmm0, xmmword [0x1800c2da0]
lea rcx, [rbp - 5]
movdqa xmm5, xmmword [0x1800c2cc0]
movdqa xmm4, xmmword [0x1800c2d80]
movdqa xmm6, xmmword [0x1800c2ce0]
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 [0x1800c2d70]
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 [0x1800c2d70]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x38
jl 0x18004f5d0
cmp r8d, 0x3e
jge 0x18004f720
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 0x18004f6f0
xor r8d, r8d
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x67]
call fcn.18001e960
jmp 0x18004f797
lea rdx, [0x1800d6710]
lea rcx, [rbp - 9]
call fcn.180034980
mov r9b, 1
lea rcx, [rbp + 0x67]
mov rdx, rax
call fcn.18004fe10
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.180050970
mov rcx, qword [rax]
mov rdx, rax
test rcx, rcx
je 0x18004f7b0
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
mov qword [rdx], rcx
mov qword [0x1800d5e70], rcx
movaps xmm6, xmmword [rsp + 0x90]
cmp dword [0x1800d5c28], 0x10
mov rbx, qword [rsp + 0xa0]
jl 0x18004f870
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 0x18004f834
mov r8d, 0x45
lea rdx, str.Couldnt_find_RequestExit__Game_will_close_out_when_entering_In_Game_
call fcn.18001d5d0
movdqa xmm1, xmmword [0x1800c2ca0]
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 [0x1800c2ca0]
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