Function at 0x180038e60
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 [0x18007f720], 0x212
jge 0x180038f0e
lea rdx, [0x18007fe80]
lea rcx, [rbp - 9]
call fcn.1800286c0
mov rdx, rax
lea rcx, [rbp + 0x67]
call fcn.180039a40
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.180022d10
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.18003a730
mov rdx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x180038f02
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
mov qword [rdx], rcx
mov qword [0x18007f850], rcx
jmp 0x1800393b9
movsd xmm1, qword [0x18007f6d8]
ucomisd xmm1, qword [0x180072a58]
movaps xmmword [rsp + 0x90], xmm6
jp 0x180039125
jne 0x180039125
mov rcx, qword [0x18007f850]
test rcx, rcx
jne 0x1800393b1
cmp dword [0x18007e018], 2
mov r8d, edi
movups xmm0, xmmword [0x180071810]
mov eax, dword [0x180071840]
movups xmm1, xmmword [0x180071820]
mov dword [rbp + 0x27], eax
movzx eax, word [0x180071844]
movups xmmword [rbp - 9], xmm0
mov word [rbp + 0x2b], ax
movups xmm0, xmmword [0x180071830]
movups xmmword [rbp + 7], xmm1
movups xmmword [rbp + 0x17], xmm0
jl 0x1800390c7
movdqa xmm0, xmmword [0x180072b80]
lea rcx, [rbp - 5]
movdqa xmm5, xmmword [0x180072ab0]
movdqa xmm4, xmmword [0x180072b70]
movdqa xmm6, xmmword [0x180072ae0]
movdqa xmmword [rbp - 0x29], xmm0
mov edx, dword [rbp - 0x29]
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
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 [0x180072b60]
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 [0x180072b60]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x30
jl 0x180038fc0
cmp r8d, 0x36
jge 0x180039110
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 0x1800390e0
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x67]
call fcn.180017090
mov rcx, qword [rax]
jmp 0x1800393aa
movsd xmm0, qword [0x180072a68]
comisd xmm0, xmm1
ja 0x18003932f
ucomisd xmm1, qword [0x180072a70]
jp 0x18003932f
jne 0x18003932f
cmp dword [0x18007e018], 2
mov r8d, edi
movups xmm0, xmmword [0x1800717d0]
mov eax, dword [0x180071808]
movups xmm1, xmmword [str.ethvjtlrnppejsl]
mov dword [rbp + 0x2f], eax
movzx eax, word [0x18007180c]
movups xmmword [rbp - 9], xmm0
mov word [rbp + 0x33], ax
movups xmm0, xmmword [0x1800717f0]
movups xmmword [rbp + 7], xmm1
movups xmmword [rbp + 0x17], xmm0
movsd xmm0, qword [0x180071800]
movsd qword [rbp + 0x27], xmm0
jl 0x1800392d7
movdqa xmm0, xmmword [0x180072b80]
lea rcx, [rbp - 5]
movdqa xmm5, xmmword [0x180072ab0]
movdqa xmm4, xmmword [0x180072b70]
movdqa xmm6, xmmword [0x180072ae0]
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 [0x180072b60]
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 [0x180072b60]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x38
jl 0x1800391d0
cmp r8d, 0x3e
jge 0x180039320
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 0x1800392f0
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x67]
call fcn.180017090
jmp 0x180039391
lea rdx, [0x18007fea0]
lea rcx, [rbp - 9]
call fcn.1800286c0
mov rdx, rax
lea rcx, [rbp + 0x67]
call fcn.180039a40
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.180022d10
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.18003a730
mov rcx, qword [rax]
mov rdx, rax
test rcx, rcx
je 0x1800393aa
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
mov qword [rdx], rcx
mov qword [0x18007f850], rcx
movaps xmm6, xmmword [rsp + 0x90]
cmp dword [0x18007f6e0], 0x10
mov rbx, qword [rsp + 0xa0]
jl 0x180039492
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 0x180039442
mov r8d, 0x45
lea rdx, str.Couldnt_find_RequestExit__Game_will_close_out_when_entering_In_Game_
call fcn.180015df0
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x180039436
mov rcx, qword [rbp - 0x29]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180039431
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180039431
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180042f70
xor al, al
add rsp, 0xa8
pop rdi
pop rbp
ret
mov r8d, socket
lea rdx, str.Found_RequestExit_
call fcn.180015df0
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x180039492
mov rcx, qword [rbp - 0x29]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003948d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003948d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180042f70
mov al, 1
add rsp, 0xa8
pop rdi
pop rbp
ret