Function at 0x180018770
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push r12
push r13
push r14
lea rbp, [rsp - 0x3f]
sub rsp, 0x88
mov rax, qword [0x1800a2038]
xor rax, rsp
mov qword [rbp + 0x17], rax
xor r13d, r13d
call fcn.18001a310
xor edx, edx
lea r8d, [r13 + 1]
mov r14, rax
mov ecx, dword [rax + 0x1c]
call fcn.18003ba00
movzx ecx, byte [0x1800a204c]
test al, al
je 0x1800187bf
xor cl, 1
mov byte [0x1800a204c], cl
test cl, cl
je 0x180018efb
mov qword [rsp + 0xb0], rbx
lea rcx, str.Settings
mov qword [rsp + 0xb8], rsi
xor edx, edx
mov qword [rsp + 0xc0], rdi
mov r8d, 0x1078
movaps xmmword [rsp + 0x70], xmm6
call fcn.1800381e0
mov rsi, qword [0x1800a3410]
mov rbx, qword [rsi + 0x3ed8]
cmp byte [rbx + 0xbb], r13b
jne 0x180018ed9
movsxd rax, dword [rbx + 0xf0]
lea rcx, str.TabBar
mov r8, qword [rbx + 0xf8]
xor edx, edx
mov qword [rsp + 0x80], r15
mov r8d, dword [r8 + rax*4 - 4]
call fcn.18002e7e0
mov rcx, qword [rbx]
mov r15d, eax
cmp dword [rcx + 0x3f20], eax
jne 0x18001885d
lea r8, str.TabBar
mov edx, 0xb
mov ecx, eax
call fcn.180045470
lea rcx, [rsi + 0x4bc8]
mov edx, r15d
call fcn.18002ecb0
mov rdx, rax
movsxd rcx, dword [rax]
cmp ecx, 0xffffffff
je 0x180018887
imul rax, rcx, 0x98
add rax, qword [rsi + 0x4bc0]
jmp 0x18001889b
mov eax, dword [rsi + 0x4bd8]
lea rcx, [rsi + 0x4bb8]
mov dword [rdx], eax
call fcn.180060b70
movss xmm2, dword [rbx + 0x104]
lea rdx, [rbp - 0x19]
movss xmm0, dword [rbx + 0x100]
mov rcx, rax
movss xmm1, dword [rsi + 0x3808]
movss dword [rbp - 0x15], xmm2
addss xmm1, xmm1
addss xmm2, dword [rsi + 0x3c10]
movss dword [rbp - 0x19], xmm0
movss xmm0, dword [rbx + 0x220]
movss dword [rbp - 0x11], xmm0
mov dword [rax + 0x14], r15d
addss xmm2, xmm1
movss dword [rbp - 0xd], xmm2
call fcn.18005dc00
mov r15, qword [rsp + 0x80]
test al, al
je 0x180018ed9
mov rdx, qword [0x1800a3410]
movss xmm6, dword [0x1800949c8]
mov rax, qword [rdx + 0x3ed8]
cmp byte [rax + 0xbb], r13b
jne 0x180018a94
mov rbx, qword [rdx + 0x4bb0]
test rbx, rbx
je 0x180018a94
xor r9d, r9d
mov qword [rsp + 0x20], r13
xor r8d, r8d
lea rdx, str.Script
mov rcx, rbx
call fcn.18005f7d0
test al, al
je 0x180018a8d
movsx rax, word [rbx + 0x70]
mov rcx, qword [rbx + 8]
imul rdx, rax, 0x2c
mov ecx, dword [rdx + rcx]
call fcn.18003b220
lea rcx, str.Drawing_Setting:
call fcn.1800598b0
mov rdx, r14
call fcn.18005b640
mov rax, qword [0x1800a3410]
mov rax, qword [rax + 0x3ed8]
cmp byte [rax + 0xbb], r13b
jne 0x1800189a9
mov eax, dword [rax + 0x1b4]
movaps xmm1, xmm6
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.18005bd10
lea rcx, str.Selector_Setting:
call fcn.1800598b0
lea rdx, [r14 + 4]
mov dword [rsp + 0x20], 4
xor r9d, r9d
lea r8, [0x180018700]
lea rcx, str.Current_Method
call fcn.18005d210
mov rax, qword [0x1800a3410]
mov rax, qword [rax + 0x3ed8]
cmp byte [rax + 0xbb], r13b
jne 0x180018a03
mov eax, dword [rax + 0x1b4]
movaps xmm1, xmm6
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.18005bd10
lea rcx, str.Key_Setting:
call fcn.1800598b0
lea rdx, [r14 + 8]
mov qword [rbp - 0x19], 0x42c80000
lea r8, [rbp - 0x19]
lea rcx, str.Kite_Key
call fcn.180018f20
lea rdx, [r14 + 0xc]
mov qword [rbp - 0x19], 0x42c80000
lea r8, [rbp - 0x19]
lea rcx, str.Clean_Lane_Key
call fcn.180018f20
mov rdx, qword [0x1800a3410]
mov rax, qword [rdx + 0x3ed8]
cmp byte [rax + 0xbb], r13b
jne 0x180018a94
mov r8, qword [rdx + 0x4bb0]
test r8, r8
je 0x180018a94
movsx rax, word [r8 + 0x70]
imul rcx, rax, 0x2c
mov rax, qword [r8 + 8]
test byte [rcx + rax + 4], 8
jne 0x180018a94
mov rax, qword [rdx + 0x3ed8]
dec dword [rax + 0xf0]
jmp 0x180018a94
mov rdx, qword [0x1800a3410]
mov rax, qword [rdx + 0x3ed8]
cmp byte [rax + 0xbb], r13b
jne 0x180018dcd
mov rbx, qword [rdx + 0x4bb0]
test rbx, rbx
je 0x180018dcd
xor r9d, r9d
mov qword [rsp + 0x20], r13
xor r8d, r8d
lea rdx, str.Skin
mov rcx, rbx
call fcn.18005f7d0
test al, al
je 0x180018dc6
movsx rax, word [rbx + 0x70]
mov rcx, qword [rbx + 8]
imul rdx, rax, 0x2c
mov ecx, dword [rdx + rcx]
call fcn.18003b220
lea rcx, str.Skin_Setting:
call fcn.1800598b0
call fcn.180007b90
lea rcx, [0x180091850]
mov rbx, rax
call fcn.1800598b0
mov rcx, qword [rbx + 8]
lea r8, [0x180018680]
sub rcx, qword [rbx]
movabs rax, 0xe38e38e38e38e39
imul rcx
mov r9, rbx
sar rdx, 2
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
lea rcx, str.Current_Skin
mov dword [rsp + 0x20], edx
lea rdx, [r14 + 0x10]
call fcn.18005d210
test al, al
je 0x180018ba5
call fcn.180007b90
movsxd rcx, dword [r14 + 0x10]
mov r9, rax
lea rdx, [rcx + rcx*8]
mov rcx, qword [rbx]
cmp qword [rcx + rdx*8 + 0x18], 0x10
lea rax, [rcx + rdx*8]
mov r8d, dword [rax + 0x40]
mov rcx, rax
jb 0x180018b7c
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
lea rdx, [rbp - 0x19]
mov qword [rbp - 0x19], rcx
mov rcx, r9
mov qword [rbp - 0x11], rax
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 0x19], xmm0
call fcn.180007790
mov rcx, r14
call fcn.18001ae10
mov rcx, qword [0x1800a2058]
call fcn.180019600
xorps xmm0, xmm0
lea rcx, [rbp - 9]
xorps xmm1, xmm1
movsxd r8, dword [rax + 0x20]
mov rdx, qword [rax + 0x18]
movups xmmword [rbp - 9], xmm0
movdqu xmmword [rbp + 7], xmm1
call fcn.180004f80
mov r9, qword [rbp + 0xf]
lea rcx, [rbp - 9]
mov r8, qword [rbp - 9]
cmp r9, 0x10
mov rdx, qword [rbp + 7]
movabs rdi, 0xcbf29ce484222325
cmovae rcx, r8
add rdx, rcx
cmp rcx, rdx
je 0x180018c23
movabs r10, 0x100000001b3
nop word [rax + rax]
movsx rax, byte [rcx]
inc rcx
xor rdi, rax
imul rdi, r10
cmp rcx, rdx
jne 0x180018c10
cmp r9, 0x10
jb 0x180018c5d
lea rdx, [r9 + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x180018c55
mov r8, qword [r8 - 8]
add rdx, 0x27
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180018c55
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.180066ab0
call fcn.180007b90
mov rsi, qword [rax + 0x20]
mov rbx, qword [rax + 0x18]
cmp rbx, rsi
je 0x180018c97
nop
mov rcx, qword [0x1800a2058]
call fcn.180019600
mov ecx, dword [rax + 0x38]
cmp qword [rbx], rdi
jne 0x180018c8e
cmp dword [rbx + 8], ecx
jg 0x180018c8e
cmp dword [rbx + 0xc], ecx
jge 0x180018c97
add rbx, 0x28
cmp rbx, rsi
jne 0x180018c70
call fcn.180007b90
cmp rbx, qword [rax + 0x20]
je 0x180018d10
mov rcx, qword [0x1800a2058]
call fcn.180019600
mov rdi, rax
movsx ecx, byte [rax + 0x9c]
mov dword [0x1800a3558], ecx
lea rcx, [0x180091870]
call fcn.1800598b0
mov rcx, qword [rbx + 0x18]
lea r9, [rbx + 0x10]
sub rcx, qword [r9]
lea r8, [0x1800186d0]
sar rcx, 5
lea rdx, [0x1800a3558]
mov dword [rsp + 0x20], ecx
lea rcx, str.Current_Gear
call fcn.18005d210
test al, al
je 0x180018d10
movzx eax, byte [0x1800a3558]
mov rcx, rdi
mov byte [rdi + 0x9c], al
call fcn.1800194a0
mov rax, qword [0x1800a3410]
mov rax, qword [rax + 0x3ed8]
cmp byte [rax + 0xbb], r13b
jne 0x180018d3c
mov eax, dword [rax + 0x1b4]
movaps xmm1, xmm6
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.18005bd10
lea rcx, str.Key_Setting:
call fcn.1800598b0
lea rdx, [r14 + 0x14]
mov qword [rbp - 0x19], 0x42c80000
lea r8, [rbp - 0x19]
lea rcx, str.Previous_Skin_Key
call fcn.180018f20
lea rdx, [r14 + 0x18]
mov qword [rbp - 0x19], 0x42c80000
lea r8, [rbp - 0x19]
lea rcx, str.Next_Skin_Key
call fcn.180018f20
mov rdx, qword [0x1800a3410]
mov rax, qword [rdx + 0x3ed8]
cmp byte [rax + 0xbb], r13b
jne 0x180018dcd
mov r8, qword [rdx + 0x4bb0]
test r8, r8
je 0x180018dcd
movsx rax, word [r8 + 0x70]
imul rcx, rax, 0x2c
mov rax, qword [r8 + 8]
test byte [rcx + rax + 4], 8
jne 0x180018dcd
mov rax, qword [rdx + 0x3ed8]
dec dword [rax + 0xf0]
jmp 0x180018dcd
mov rdx, qword [0x1800a3410]
mov rax, qword [rdx + 0x3ed8]
cmp byte [rax + 0xbb], r13b
jne 0x180018ed4
mov rbx, qword [rdx + 0x4bb0]
test rbx, rbx
je 0x180018ed4
xor r9d, r9d
mov qword [rsp + 0x20], r13
xor r8d, r8d
lea rdx, str.Extras
mov rcx, rbx
call fcn.18005f7d0
test al, al
je 0x180018ed4
movsx rax, word [rbx + 0x70]
mov rcx, qword [rbx + 8]
imul r8, rax, 0x2c
mov ecx, dword [r8 + rcx]
call fcn.18003b220
lea r8, [rbp - 0x19]
mov qword [rbp - 0x19], 0x42c80000
lea rdx, [r14 + 0x1c]
lea rcx, str.Menu_Key
call fcn.180018f20
mov rax, qword [0x1800a3410]
mov rax, qword [rax + 0x3ed8]
cmp byte [rax + 0xbb], r13b
jne 0x180018e71
mov eax, dword [rax + 0x1b4]
movaps xmm1, xmm6
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.18005bd10
lea rdx, [rbp - 0x19]
mov qword [rbp - 0x19], r13
lea rcx, str.Force_Close
call fcn.18005a2e0
test al, al
je 0x180018e90
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rdx, qword [0x1800a3410]
mov rax, qword [rdx + 0x3ed8]
cmp byte [rax + 0xbb], r13b
jne 0x180018ed4
mov r8, qword [rdx + 0x4bb0]
test r8, r8
je 0x180018ed4
movsx rax, word [r8 + 0x70]
imul rcx, rax, 0x2c
mov rax, qword [r8 + 8]
test byte [rcx + rax + 4], 8
jne 0x180018ed4
mov rax, qword [rdx + 0x3ed8]
dec dword [rax + 0xf0]
call fcn.18003a500
call fcn.18003a500
mov rdi, qword [rsp + 0xc0]
movaps xmm6, xmmword [rsp + 0x70]
mov rbx, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xb8]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.180066640
add rsp, 0x88
pop r14
pop r13
pop r12
pop rbp
ret