Function at 0x180093880
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
movaps xmmword [rsp + 0x110], xmm6
mov rax, qword [0x18011c040]
xor rax, rsp
mov qword [rbp], rax
movsd xmm0, qword [0x18011dd30]
xor r15d, r15d
movsd xmm1, qword [0x180105fa0]
comisd xmm0, xmm1
jb 0x180093b01
cmp dword [0x18011dd38], 0x13
jge 0x180093b01
cmp dword [0x18011c018], 2
mov r8d, r15d
movups xmm0, xmmword [0x1800fe4a0]
movups xmm1, xmmword [0x1800fe4b0]
movzx eax, word [0x1800fe538]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x1800fe4c0]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x1800fe4e0]
movups xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [0x1800fe500]
movups xmmword [rsp + 0x50], xmm1
movups xmm1, xmmword [0x1800fe4d0]
movups xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [0x1800fe520]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x1800fe4f0]
movups xmmword [rbp - 0x40], xmm0
movsd xmm0, qword [0x1800fe530]
movups xmmword [rbp - 0x70], xmm1
movups xmm1, xmmword [0x1800fe510]
mov word [rbp - 0x28], ax
movzx eax, byte [0x1800fe53a]
movsd qword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x50], xmm1
mov byte [rbp - 0x26], al
jl 0x180093ab5
movdqa xmm0, xmmword [str.9999999999999999]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x1801063b0]
movdqa xmm4, xmmword [0x1801065a0]
movdqa xmm6, xmmword [0x1801063f0]
movdqa xmmword [rbp - 0x20], xmm0
mov edx, dword [rbp - 0x20]
nop dword [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 [0x180106490]
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 [0x180106490]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x98
jl 0x1800939a0
cmp r8d, 0x9b
jge 0x180093af7
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
mov eax, 0x8d3dcb09
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, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0x9b
jl 0x180093ac0
lea rdx, [rsp + 0x40]
jmp 0x180093d2c
cmp dword [0x18011dd38], 0x10
jl 0x180093d47
comisd xmm1, xmm0
jbe 0x180093d47
cmp dword [0x18011c018], 2
mov r8d, r15d
movups xmm0, xmmword [0x1800fe400]
movups xmm1, xmmword [0x1800fe410]
mov eax, dword [0x1800fe490]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x1800fe420]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x1800fe440]
movups xmmword [rsp + 0x50], xmm1
movups xmm1, xmmword [0x1800fe430]
movups xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [0x1800fe460]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x1800fe450]
movups xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [0x1800fe480]
movups xmmword [rbp - 0x70], xmm1
movups xmm1, xmmword [0x1800fe470]
mov dword [rbp - 0x30], eax
movzx eax, word [0x1800fe494]
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x50], xmm1
mov word [rbp - 0x2c], ax
jl 0x180093ce5
movdqa xmm0, xmmword [str.9999999999999999]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x1801063b0]
movdqa xmm4, xmmword [0x1801065a0]
movdqa xmm6, xmmword [0x1801063f0]
movdqa xmmword [rbp - 0x20], xmm0
mov edx, dword [rbp - 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
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 [0x180106490]
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 [0x180106490]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x90
jl 0x180093bd0
cmp r8d, 0x96
jge 0x180093d27
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
mov eax, 0x8d3dcb09
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, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0x96
jl 0x180093cf0
lea rdx, [rsp + 0x40]
xor r8d, r8d
lea rcx, [rbp - 0x20]
call fcn.18001e840
mov r14, qword [rax]
mov qword [0x18011e668], r14
jmp 0x180093e95
ucomisd xmm0, qword [0x180106088]
jp 0x180093e8e
jne 0x180093e8e
mov rcx, qword [0x18011dbc8]
mov r14, r15
mov qword [rsp + 0x140], rbx
mov qword [rsp + 0x148], rsi
mov esi, r15d
mov qword [rsp + 0x150], rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [0x18011dbc8]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
lea rdx, str.48_89_5C_24___55_56_57_41_54_41_55_41_56_41_57_48_8D_AC_24_________48_81_EC_________48_8B_05_________48_33_C4_48_89_85_________45_0F_B6_F0_44_88_44_24
movsxd rcx, dword [rax + 0x3c]
xor eax, eax
mov ebx, dword [rcx + rbx + 0x50]
lea rcx, [rbp - 0x20]
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
call fcn.18001e720
mov rcx, qword [0x18011dbc8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r10, qword [rbp - 0x18]
mov r9d, r15d
mov r11, qword [rbp - 0x20]
mov rdi, rax
sub r10, r11
sar r10, 2
sub rbx, r10
je 0x180093e29
mov edx, r15d
test r10, r10
je 0x180093e10
mov rax, r15
nop dword [rax]
mov r8d, dword [r11 + rax*4]
lea eax, [rdx + r9]
movzx eax, byte [rax + rdi]
cmp eax, r8d
je 0x180093e07
cmp r8d, 0xffffffff
jne 0x180093e16
inc edx
mov eax, edx
cmp rax, r10
jb 0x180093df0
test esi, esi
jle 0x180093e23
dec esi
inc r9d
mov eax, r9d
cmp rax, rbx
jb 0x180093de2
jmp 0x180093e29
mov r14d, r9d
add r14, rdi
mov rdi, qword [rsp + 0x150]
mov rsi, qword [rsp + 0x148]
mov rbx, qword [rsp + 0x140]
test r11, r11
je 0x180093d3b
mov rdx, qword [rbp - 0x10]
mov rax, r11
sub rdx, r11
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x180093e7d
mov r11, qword [r11 - 8]
add rdx, 0x27
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180093e7d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r11
call fcn.1800c8ea0
mov qword [0x18011e668], r14
jmp 0x180093e95
mov r14, qword [0x18011e668]
mov eax, dword [0x18011dd38]
add eax, 0xfffffff0
cmp eax, 2
ja 0x180093efb
mov qword [rsp + 0x30], r15
xorps xmm0, xmm0
mov qword [rsp + 0x38], r15
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
test r14, r14
jne 0x180093edf
lea r8d, [r14 + 0x43]
lea rdx, str.Couldnt_find_UnsafeEnv__Game_will_close_out_when_entering_In_Game_
call fcn.18001d4b0
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.18008dfc0
xor al, al
jmp 0x180093efd
mov r8d, 0x10
lea rdx, str.Found_UnsafeEnv_
call fcn.18001d4b0
lea rcx, [rsp + 0x20]
call fcn.18008dcc0
mov al, 1
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1800c8b10
movaps xmm6, xmmword [rsp + 0x110]
add rsp, 0x120
pop r15
pop r14
pop rbp
ret