Function at 0x1405bbef0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov rax, qword [0x14061f010]
xor rax, rsp
mov qword [rbp - 0x30], rax
xor esi, esi
cmp byte [0x14061f050], 1
jne 0x1405bc869
mov rcx, qword [0x140afd9c0]
mov eax, dword [rcx + 0x40f0]
or eax, 2
mov dword [rcx + 0x40f0], eax
movsd xmm0, qword [0x140afce90]
movsd qword [rcx + 0x4114], xmm0
mov dword [rcx + 0x40f8], 2
or eax, 0x40
mov dword [rcx + 0x40f0], eax
mov dword [rcx + 0x4150], 0x3f800000
movups xmm0, xmmword [0x14060f020]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x14060f030]
movups xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [0x14060f040]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x14060f050]
movups xmmword [rbp - 0x70], xmm1
movsd xmm0, qword [0x14060f060]
movsd qword [rbp - 0x60], xmm0
movzx eax, byte [0x14060f068]
mov byte [rbp - 0x58], al
mov r8d, esi
cmp dword [0x14061f018], 2
jl 0x1405bc11f
movdqa xmm5, xmmword [0x140614630]
movdqa xmm4, xmmword [0x140614ac0]
mov eax, 5
movd xmm6, eax
movdqa xmm7, xmmword [str.3333]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [str.7777777777777777]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rsp + 0x64]
mov edx, dword [rbp - 0x40]
nop dword [rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140614660]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140614660]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x48
jl 0x1405bc010
cmp r8d, 0x49
jge 0x1405bc163
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x49
jl 0x1405bc130
mov r8d, 0x22
lea rdx, [0x14061f050]
lea rcx, [rsp + 0x60]
call fcn.1405cc8b0
mov rdi, qword [0x140afda38]
lea rbx, [0x140afda28]
cmp qword [0x140afda40], 0x10
cmovae rbx, qword [0x140afda28]
call fcn.14060ab0c
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rdi
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1405b8bc0
nop
lea rcx, [rsp + 0x40]
call fcn.1405b9810
movzx ebx, al
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1405bc208
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1405bc203
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1405bc203
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14060b574
test bl, bl
jne 0x1405bc2bd
lea rcx, str.Please_put_the_path_of_your_Sea_of_Thieves_game_like_this:__nC:Program_Files__x86_Steam_steamappscommonSea_of_Thieves
call fcn.1405fb690
mov qword [rbp - 0x40], 0
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x100
lea r8, [0x140afda90]
xor edx, edx
lea rcx, str.SotPath
call fcn.140601530
mov rcx, qword [0x140afd9c0]
mov rax, qword [rcx + 0x3fe0]
mov byte [rax + 0xcd], 1
mov rax, qword [rcx + 0x3fe0]
cmp byte [rax + 0xd0], bl
jne 0x1405bc293
mov qword [rbp - 0x40], 0
movss xmm1, dword [0x140614590]
lea rcx, [rbp - 0x40]
call fcn.1405d0a50
mov qword [rbp - 0x40], 0
lea rdx, [rbp - 0x40]
lea rcx, str.Send
call fcn.1405fbf30
test al, al
je 0x1405bc864
call fcn.1405b9e50
jmp 0x1405bc864
movaps xmm0, xmmword [0x140614a80]
movups xmmword [rbp - 0x40], xmm0
lea rdx, str.Very_Important_:__the_fovs_of_the_weapons_will_depend__non_the_fov_played_fov_so_please_put_the_fov_you_use_in_game.
lea rcx, [rbp - 0x40]
call fcn.1405fb790
mov rcx, qword [0x140afd9c0]
mov rax, qword [rcx + 0x3fe0]
mov byte [rax + 0xcd], 1
mov rax, qword [rcx + 0x3fe0]
movss xmm6, dword [0x140614590]
cmp byte [rax + 0xd0], 0
jne 0x1405bc319
mov qword [rbp - 0x40], 0
movaps xmm1, xmm6
lea rcx, [rbp - 0x40]
call fcn.1405d0a50
mov dword [rbp - 0x50], 0x43200000
mov dword [rbp - 0x40], 0x42700000
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x40]
lea r8, [0x140afced0]
lea rcx, str.Played_Fov
call fcn.1405fecd0
mov dword [rbp - 0x40], 0x43200000
mov dword [rbp - 0x50], 0x42700000
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x50]
lea r8, [0x14061f044]
lea rcx, str.Sprint_Fov
call fcn.1405fecd0
mov dword [rbp - 0x40], 0x43200000
mov dword [rbp - 0x50], 0x42700000
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x50]
lea r8, [0x140afceb0]
lea rcx, str.Blunderbuss_Fov
call fcn.1405fecd0
mov dword [rbp - 0x40], 0x43200000
mov dword [rbp - 0x50], 0x42700000
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x50]
lea r8, [0x140afced4]
lea rcx, str.Sniper_Fov
call fcn.1405fecd0
mov dword [rbp - 0x40], 0x43200000
mov dword [rbp - 0x50], 0x42700000
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x50]
lea r8, [0x140afceb4]
lea rcx, str.Pistol_Fov
call fcn.1405fecd0
mov dword [rbp - 0x40], 0x43200000
mov dword [rbp - 0x50], 0x42700000
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x50]
lea r8, [0x140afceb8]
lea rcx, str.Cannon_Fov
call fcn.1405fecd0
mov dword [rbp - 0x40], 0x43200000
mov dword [rbp - 0x50], 0x42700000
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x50]
lea r8, [0x140afce98]
lea rcx, str.Map_Fov
call fcn.1405fecd0
mov dword [rbp - 0x40], 0x43200000
mov dword [rbp - 0x50], 0x42700000
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x50]
lea r8, [0x140afced8]
lea rcx, str.Wheel_Fov
call fcn.1405fecd0
mov rcx, qword [0x140afd9c0]
mov rax, qword [rcx + 0x3fe0]
mov byte [rax + 0xcd], 1
mov rax, qword [rcx + 0x3fe0]
cmp byte [rax + 0xd0], 0
jne 0x1405bc4c2
mov qword [rbp - 0x40], 0
movaps xmm1, xmm6
lea rcx, [rbp - 0x40]
call fcn.1405d0a50
movaps xmm0, xmmword [0x140614a90]
movups xmmword [rbp - 0x40], xmm0
lea rdx, str.Please_be_careful_not_to_have_any_other_pak__nin_the_Sot_files_that_modifies_the_fov
lea rcx, [rbp - 0x40]
call fcn.1405fb790
mov qword [rbp - 0x40], 0
lea rdx, [rbp - 0x40]
lea rcx, str.Create_Fov_Pak
call fcn.1405fbf30
test al, al
je 0x1405bc574
call fcn.1405baea0
mov rbx, qword [0x140afd9c0]
xor edx, edx
test al, al
mov rax, qword [rbx + 0x3fe0]
movsxd rcx, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
je 0x1405bc544
lea rcx, str.PakCreated
call fcn.1405c0c10
mov edi, eax
cmp dword [rbx + 0x401c], eax
jne 0x1405bc56d
lea r8, str.PakCreated
jmp 0x1405bc561
lea rcx, str.Error
call fcn.1405c0c10
mov edi, eax
cmp dword [rbx + 0x401c], eax
jne 0x1405bc56d
lea r8, str.Error
mov edx, 0xb
mov ecx, edi
call fcn.1405e3420
mov ecx, edi
call fcn.1405d1db0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1405d0d60
mov qword [rbp - 0x40], 0
lea rdx, [rbp - 0x40]
lea rcx, str.Reset_Sea_of_Thieves_path
call fcn.1405fbf30
test al, al
je 0x1405bc5a0
call fcn.1405ba130
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1405d0d60
mov qword [rbp - 0x40], 0
lea rdx, [rbp - 0x40]
lea rcx, str.Delete_Fov
call fcn.1405fbf30
test al, al
je 0x1405bc642
call fcn.1405ba6e0
mov rbx, qword [0x140afd9c0]
xor edx, edx
test al, al
mov rax, qword [rbx + 0x3fe0]
movsxd rcx, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
je 0x1405bc612
lea rcx, str.PakDeleted
call fcn.1405c0c10
mov edi, eax
cmp dword [rbx + 0x401c], eax
jne 0x1405bc63b
lea r8, str.PakDeleted
jmp 0x1405bc62f
lea rcx, str.Error
call fcn.1405c0c10
mov edi, eax
cmp dword [rbx + 0x401c], eax
jne 0x1405bc63b
lea r8, str.Error
mov edx, 0xb
mov ecx, edi
call fcn.1405e3420
mov ecx, edi
call fcn.1405d1db0
lea rcx, str.PakCreated
call fcn.1405d2460
test al, al
je 0x1405bc6f8
lea rcx, str._nSuccess_Pak_Created__n_n
call fcn.1405fb690
mov rax, qword [0x140afd9c0]
mov rcx, qword [rax + 0x3fe0]
cmp byte [rcx + 0xd0], 0
jne 0x1405bc68b
mov eax, dword [rcx + 0x1d4]
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.1405fd6f0
mov qword [rbp - 0x40], 0x432a0000
lea rdx, [rbp - 0x40]
lea rcx, [0x14060ee78]
call fcn.1405fbf30
test al, al
je 0x1405bc6ac
call fcn.1405d2200
mov rbx, qword [0x140afd9c0]
mov rax, qword [rbx + 0x3fe0]
cmp qword [rbx + 0x4268], rax
jne 0x1405bc6dc
cmp byte [rbx + 0x42c5], 0
je 0x1405bc6dc
cmp dword [rbx + 0x42a4], 0
jne 0x1405bc6dc
or dword [rbx + 0x42c8], 2
test dword [rax + 0xc], 0x1000000
je 0x1405bc6ec
mov byte [rbx + 0x3f72], 1
call fcn.1405cf580
mov byte [rbx + 0x3f72], 0
lea rcx, str.Error
call fcn.1405d2460
test al, al
je 0x1405bc7ae
lea rcx, str._nx__There_was_an_error__check_if_Sot_is_closed_n_n
call fcn.1405fb690
mov rax, qword [0x140afd9c0]
mov rcx, qword [rax + 0x3fe0]
cmp byte [rcx + 0xd0], 0
jne 0x1405bc741
mov eax, dword [rcx + 0x1d4]
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.1405fd6f0
mov qword [rbp - 0x40], 0x432a0000
lea rdx, [rbp - 0x40]
lea rcx, [0x14060ee78]
call fcn.1405fbf30
test al, al
je 0x1405bc762
call fcn.1405d2200
mov rbx, qword [0x140afd9c0]
mov rax, qword [rbx + 0x3fe0]
cmp qword [rbx + 0x4268], rax
jne 0x1405bc792
cmp byte [rbx + 0x42c5], 0
je 0x1405bc792
cmp dword [rbx + 0x42a4], 0
jne 0x1405bc792
or dword [rbx + 0x42c8], 2
test dword [rax + 0xc], 0x1000000
je 0x1405bc7a2
mov byte [rbx + 0x3f72], 1
call fcn.1405cf580
mov byte [rbx + 0x3f72], 0
lea rcx, str.PakDeleted
call fcn.1405d2460
test al, al
je 0x1405bc864
lea rcx, str._nPak_Deleted_n_n
call fcn.1405fb690
mov rax, qword [0x140afd9c0]
mov rdx, qword [rax + 0x3fe0]
cmp byte [rdx + 0xd0], 0
jne 0x1405bc7f7
mov eax, dword [rdx + 0x1d4]
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.1405fd6f0
mov qword [rbp - 0x40], 0x432a0000
lea rdx, [rbp - 0x40]
lea rcx, [0x14060ee78]
call fcn.1405fbf30
test al, al
je 0x1405bc818
call fcn.1405d2200
mov rbx, qword [0x140afd9c0]
mov rax, qword [rbx + 0x3fe0]
cmp qword [rbx + 0x4268], rax
jne 0x1405bc848
cmp byte [rbx + 0x42c5], 0
je 0x1405bc848
cmp dword [rbx + 0x42a4], 0
jne 0x1405bc848
or dword [rbx + 0x42c8], 2
test dword [rax + 0xc], 0x1000000
je 0x1405bc858
mov byte [rbx + 0x3f72], 1
call fcn.1405cf580
mov byte [rbx + 0x3f72], 0
call fcn.1405cf580
mov rcx, qword [rbp - 0x30]
xor rcx, rsp
call fcn.14060b2c0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rbp
ret