Function at 0x1800a0b20
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x28]
sub rsp, 0x120
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x180126040]
xor rax, rsp
mov qword [rbp], rax
movsd xmm0, qword [0x180127c98]
movsd xmm1, qword [0x18010f798]
comisd xmm0, xmm1
mov eax, dword [0x180127da4]
jb 0x1800a0e8c
cmp eax, 0x13
jge 0x1800a0e8c
movups xmm0, xmmword [0x180109600]
xor r8d, r8d
cmp dword [0x180126018], 2
movups xmm1, xmmword [0x180109610]
movzx eax, word [0x180109698]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x180109620]
movups xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [0x180109640]
movups xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [0x180109660]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x180109630]
movups xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [0x180109680]
movups xmmword [rbp - 0x70], xmm1
movups xmm1, xmmword [0x180109650]
movups xmmword [rbp - 0x20], xmm0
movsd xmm0, qword [0x180109690]
movups xmmword [rbp - 0x50], xmm1
movups xmm1, xmmword [0x180109670]
mov word [rbp - 8], ax
movzx eax, byte [0x18010969a]
movsd qword [rbp - 0x10], xmm0
movups xmmword [rbp - 0x30], xmm1
mov byte [rbp - 6], al
jl 0x1800a0d4d
movdqa xmm0, xmmword [0x18010fd40]
lea rcx, [rsp + 0x64]
movdqa xmm5, xmmword [0x18010fc40]
movdqa xmm4, xmmword [0x18010fdf0]
movdqa xmm6, xmmword [0x18010fc60]
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
psrad xmm1, 4
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 [0x18010fd20]
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, 4
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 [0x18010fd20]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x98
jl 0x1800a0c40
cmp r8d, 0x9b
jge 0x1800a0d94
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop dword [rax + rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x9b
jl 0x1800a0d60
mov rcx, qword [0x180127be8]
xor esi, esi
xor r14d, r14d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [0x180127be8]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rsp + 0x60]
movsxd rcx, dword [rax + 0x3c]
mov ebx, dword [rcx + rbx + 0x50]
lea rcx, [rsp + 0x20]
call fcn.180021330
mov rcx, qword [0x180127be8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r10, qword [rsp + 0x28]
xor r9d, r9d
mov r11, qword [rsp + 0x20]
mov rdi, rax
sub r10, r11
sar r10, 2
sub rbx, r10
je 0x1800a0e39
xor edx, edx
test r10, r10
je 0x1800a0e20
xor eax, eax
nop
mov r8d, dword [r11 + rax*4]
lea eax, [rdx + r9]
movzx eax, byte [rax + rdi]
cmp eax, r8d
je 0x1800a0e17
cmp r8d, 0xffffffff
jne 0x1800a0e26
inc edx
mov eax, edx
cmp rax, r10
jb 0x1800a0e00
test esi, esi
jle 0x1800a0e33
dec esi
inc r9d
mov eax, r9d
cmp rax, rbx
jb 0x1800a0df6
jmp 0x1800a0e39
mov r14d, r9d
add r14, rdi
test r11, r11
je 0x1800a0e7a
mov rdx, qword [rsp + 0x30]
mov rax, r11
sub rdx, r11
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x1800a0e72
mov r11, qword [r11 - 8]
add rdx, 0x27
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800a0e72
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r11
call fcn.1800d2cf0
mov eax, dword [0x180127da4]
mov qword [0x180128720], r14
jmp 0x1800a11a5
cmp eax, 0x10
jl 0x1800a1280
comisd xmm1, xmm0
jbe 0x1800a119e
movups xmm0, xmmword [0x180109560]
xor r8d, r8d
cmp dword [0x180126018], 2
movups xmm1, xmmword [0x180109570]
mov eax, dword [0x1801095f0]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x180109580]
movups xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [0x1801095a0]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x180109590]
movups xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [0x1801095c0]
movups xmmword [rbp - 0x70], xmm1
movups xmm1, xmmword [0x1801095b0]
movups xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [0x1801095e0]
movups xmmword [rbp - 0x50], xmm1
movups xmm1, xmmword [0x1801095d0]
mov dword [rbp - 0x10], eax
movzx eax, word [0x1801095f4]
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x30], xmm1
mov word [rbp - 0xc], ax
jl 0x1800a106d
movdqa xmm0, xmmword [0x18010fd40]
lea rcx, [rsp + 0x64]
movdqa xmm5, xmmword [0x18010fc40]
movdqa xmm4, xmmword [0x18010fdf0]
movdqa xmm6, xmmword [0x18010fc60]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
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, 4
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 [0x18010fd20]
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, 4
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 [0x18010fd20]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x90
jl 0x1800a0f60
cmp r8d, 0x96
jge 0x1800a10b4
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop dword [rax + rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x96
jl 0x1800a1080
mov rcx, qword [0x180127be8]
xor esi, esi
xor r14d, r14d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [0x180127be8]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rsp + 0x60]
movsxd rcx, dword [rax + 0x3c]
mov ebx, dword [rcx + rbx + 0x50]
lea rcx, [rsp + 0x20]
call fcn.180021330
mov rcx, qword [0x180127be8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r10, qword [rsp + 0x28]
xor r9d, r9d
mov r11, qword [rsp + 0x20]
mov rdi, rax
sub r10, r11
sar r10, 2
sub rbx, r10
je 0x1800a1159
xor edx, edx
test r10, r10
je 0x1800a1140
xor eax, eax
nop
mov r8d, dword [r11 + rax*4]
lea eax, [rdx + r9]
movzx eax, byte [rax + rdi]
cmp eax, r8d
je 0x1800a1137
cmp r8d, 0xffffffff
jne 0x1800a1146
inc edx
mov eax, edx
cmp rax, r10
jb 0x1800a1120
test esi, esi
jle 0x1800a1153
dec esi
inc r9d
mov eax, r9d
cmp rax, rbx
jb 0x1800a1116
jmp 0x1800a1159
mov r14d, r9d
add r14, rdi
test r11, r11
je 0x1800a0e7a
mov rdx, qword [rsp + 0x30]
mov rax, r11
sub rdx, r11
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x1800a0e72
mov r11, qword [r11 - 8]
add rdx, 0x27
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800a0e72
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r14, qword [0x180128720]
add eax, 0xfffffff0
cmp eax, 2
ja 0x1800a1280
mov qword [rsp + 0x50], 0
xorps xmm0, xmm0
mov qword [rsp + 0x58], socket
movups xmmword [rsp + 0x40], xmm0
test r14, r14
jne 0x1800a1247
lea ecx, [r14 + 0x50]
call fcn.1800d2d00
movups xmm0, xmmword [str.Couldnt_find_UnsafeEnv__Game_will_close_out_when_entering_In_Game_]
mov rcx, rax
mov qword [rsp + 0x40], rax
xor edx, edx
mov qword [rsp + 0x50], 0x43
mov qword [rsp + 0x58], 0x4f
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x180109250]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x180109260]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [0x180109270]
movups xmmword [rax + 0x30], xmm1
movzx eax, word [0x180109280]
mov word [rcx + 0x40], ax
movzx eax, byte [0x180109282]
mov byte [rcx + 0x42], al
mov byte [rcx + 0x43], r14b
lea rcx, [rsp + 0x40]
call fcn.180098070
xor al, al
jmp 0x1800a1282
mov ecx, 0x20
call fcn.1800d2d00
movups xmm0, xmmword [str.Found_UnsafeEnv_]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x50], socket
mov qword [rsp + 0x58], 0x1f
movups xmmword [rax], xmm0
mov byte [rax + 0x10], 0
call fcn.180097d70
mov al, 1
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1800d2960
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret