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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x180161040]
xor rax, rsp
mov qword [rbp + 0x118], rax
mov r13, rcx
mov rdi, qword [rcx + 8]
mov rbx, qword [rcx]
cmp rbx, rdi
je 0x1800412a0
mov rcx, rbx
call fcn.180005610
add rbx, 0x20
cmp rbx, rdi
jne 0x180041287
mov rax, qword [r13]
mov qword [r13 + 8], rax
lea rcx, [r13 + 0x18]
call fcn.180043900
lea rdx, str.__TcEditorCategories.txt
lea rcx, [rsp + 0x70]
call fcn.1800437f0
nop
cmp qword [rbp], 0
jne 0x1800412cf
mov byte [r13 + 0x58], 0
xor dil, dil
jmp 0x180041d08
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
xor edi, edi
mov qword [rbp + 0xc0], rdi
mov qword [rbp + 0xc8], 0xf
mov byte [rbp + 0xb0], dil
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], 0x3e8
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.18003ff20
mov edx, 0x64
lea rcx, [rbp + 0xb0]
call fcn.180032a70
mov qword [rbp + 0xc0], rdi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0xb0]
lea rcx, [rsp + 0x70]
call fcn.180039890
mov rdx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x180041566
mov r14, qword [rsp + 0x40]
nop dword [rax]
mov rsi, qword [rbp + 0xc0]
test rsi, rsi
jne 0x1800413a4
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x80]
call fcn.180017a40
jmp 0x180041469
mov rbx, rdi
lea rdi, [rsi - 1]
mov r15, qword [rbp + 0xc8]
mov r12, qword [rbp + 0xb0]
test rsi, rsi
je 0x1800413e5
nop
lea rax, [rbp + 0xb0]
cmp r15, 0xf
cmova rax, r12
movsx ecx, byte [rax + rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
je 0x1800413e5
inc rbx
cmp rbx, rsi
jb 0x1800413c0
cmp rdi, rbx
jbe 0x180041415
nop word [rax + rax]
lea rax, [rbp + 0xb0]
cmp r15, 0xf
cmova rax, r12
movsx ecx, byte [rax + rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
je 0x180041415
dec rdi
cmp rdi, rbx
ja 0x1800413f0
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
xor eax, eax
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rax
cmp rsi, rbx
jb 0x180041d89
sub rdi, rbx
lea r8, [rdi + 1]
sub rsi, rbx
cmp rsi, r8
cmovb r8, rsi
lea rdx, [rbp + 0xb0]
cmp r15, 0xf
cmova rdx, r12
add rdx, rbx
lea rcx, [rbp + 0x80]
call fcn.180005260
xor edi, edi
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0xf
jbe 0x1800414aa
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800414a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180041c3e
call fcn.1800df6f8
movups xmm2, xmmword [rbp + 0x80]
movups xmmword [rbp + 0xb0], xmm2
movups xmm1, xmmword [rbp + 0x90]
movups xmmword [rbp + 0xc0], xmm1
movq rax, xmm1
test rax, rax
je 0x18004151d
cmp r14, qword [rsp + 0x48]
je 0x180041504
movups xmmword [r14], xmm2
movups xmmword [r14 + 0x10], xmm1
mov qword [rbp + 0xc0], rdi
mov qword [rbp + 0xc8], 0xf
mov byte [rbp + 0xb0], 0
add r14, 0x20
mov qword [rsp + 0x40], r14
jmp 0x18004151d
lea r8, [rbp + 0xb0]
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.180039a40
mov r14, qword [rsp + 0x40]
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0xb0]
lea rcx, [rsp + 0x70]
call fcn.180039890
mov rdx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
jne 0x180041380
lea rcx, [rsp + 0x38]
call fcn.1800446c0
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], rdi
mov qword [rbp + 0xe8], 0xf
mov byte [rbp + 0xd0], 0
mov esi, 0xffffffff
mov r12, qword [rsp + 0x38]
mov rbx, r12
lea r14, [0x180165468]
mov r15, qword [rsp + 0x40]
cmp r12, r15
je 0x180041862
nop word [rax + rax]
mov rax, rbx
mov rcx, qword [rbx + 0x18]
cmp rcx, 0xf
jbe 0x1800415d0
mov rax, qword [rbx]
cmp byte [rax], 0x40
jne 0x180041688
mov r8, qword [rbx + 0x10]
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], rdi
mov qword [rbp + 0x98], rdi
cmp r8, 1
jb 0x180041d83
lea rax, [r8 - 1]
cmp rax, r8
cmovb r8, rax
mov rdx, rbx
cmp rcx, 0xf
jbe 0x180041616
mov rdx, qword [rbx]
inc rdx
lea rcx, [rbp + 0x80]
call fcn.180005260
nop
mov rdx, qword [r13 + 8]
cmp rdx, qword [r13 + 0x10]
je 0x180041659
movups xmm0, xmmword [rbp + 0x80]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp + 0x90]
movups xmmword [rdx + 0x10], xmm1
mov r8d, 0xf
mov byte [rbp + 0x80], 0
add qword [r13 + 8], 0x20
jmp 0x18004166f
lea r8, [rbp + 0x80]
mov rcx, r13
call fcn.180039a40
mov r8, qword [rbp + 0x98]
cmp r8, 0xf
jbe 0x180041681
mov rdx, qword [rbp + 0x80]
call fcn.1800056b0
inc esi
jmp 0x180041855
lea rax, [rbp + 0xd0]
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rbx
lea rax, [rsp + 0x30]
mov qword [rbp + 0x100], rax
movups xmm0, xmmword [rbp + 0xf0]
movaps xmmword [rbp + 0x80], xmm0
movsd xmm1, qword [rbp + 0x100]
movsd qword [rbp + 0x90], xmm1
lea r8, [rbp + 0x80]
mov rdx, r14
call fcn.180044870
cmp rax, r14
je 0x180041855
lea rcx, [r13 + 0x18]
cmp esi, 0xffffffff
je 0x180041785
movsxd r8, esi
shl r8, 5
add r8, qword [r13]
lea rdx, [rsp + 0x50]
call fcn.180045040
mov rdi, qword [rax]
mov rdx, rbx
lea rcx, [rbp + 0x80]
call fcn.180017a40
mov eax, dword [rsp + 0x30]
mov dword [rbp + 0xa0], eax
mov rdx, qword [rdi + 0x38]
cmp rdx, qword [rdi + 0x40]
je 0x180041753
movups xmm0, xmmword [rbp + 0x80]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp + 0x90]
movups xmmword [rdx + 0x10], xmm1
mov r8d, 0xf
mov byte [rbp + 0x80], 0
mov dword [rdx + 0x20], eax
add qword [rdi + 0x38], 0x28
jmp 0x18004176a
lea r8, [rbp + 0x80]
lea rcx, [rdi + 0x30]
call fcn.180045f90
mov r8, qword [rbp + 0x98]
cmp r8, 0xf
jbe 0x180041853
mov rdx, qword [rbp + 0x80]
call fcn.1800056b0
jmp 0x180041853
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], 4
mov qword [rbp + 0x98], 0xf
mov dword [rbp + 0x80], 0x656e6f4e
mov byte [rbp + 0x84], 0
lea r8, [rbp + 0x80]
lea rdx, [rsp + 0x60]
call fcn.1800452c0
mov rdi, qword [rax]
mov rdx, rbx
lea rcx, [rbp + 0xf0]
call fcn.180017a40
mov eax, dword [rsp + 0x30]
mov dword [rbp + 0x110], eax
mov rdx, qword [rdi + 0x38]
cmp rdx, qword [rdi + 0x40]
je 0x180041829
movups xmm0, xmmword [rbp + 0xf0]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp + 0x100]
movups xmmword [rdx + 0x10], xmm1
mov qword [rbp + 0x100], 0
mov qword [rbp + 0x108], 0xf
mov byte [rbp + 0xf0], 0
mov dword [rdx + 0x20], eax
add qword [rdi + 0x38], 0x28
jmp 0x18004183a
lea r8, [rbp + 0xf0]
lea rcx, [rdi + 0x30]
call fcn.180045f90
nop
lea rcx, [rbp + 0xf0]
call fcn.180005610
nop
lea rcx, [rbp + 0x80]
call fcn.180005610
xor edi, edi
add rbx, 0x20
cmp rbx, r15
jne 0x1800415c0
lea rsi, [0x180161180]
lea rcx, [0x180165468]
cmp dword [rsi - 0x10], 0
je 0x180041a7a
cmp byte [rsi], 0
jne 0x180041a7a
movsxd rax, dword [rsi - 0x20]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsi - 0x18]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1800418a0
lea rcx, [rbp + 0xd0]
call fcn.180017c50
lea rax, [rbp + 0xd0]
mov r9, qword [rbp + 0xd0]
mov r8, qword [rbp + 0xe8]
cmp r8, 0xf
cmova rax, r9
mov rdx, qword [rbp + 0xe0]
cmp rdx, 2
jb 0x180041965
lea rcx, [rdx - 2]
cmp word [rcx + rax], 0x725f
sete al
test al, al
je 0x180041965
cmp rcx, rdx
ja 0x180041916
mov qword [rbp + 0xe0], rcx
lea rax, [rbp + 0xd0]
cmp r8, 0xf
cmova rax, r9
mov byte [rax + rcx], 0
jmp 0x180041965
mov rdi, rcx
sub rdi, rdx
mov rax, r8
sub rax, rdx
cmp rdi, rax
ja 0x180041953
mov qword [rbp + 0xe0], rcx
lea rbx, [rbp + 0xd0]
cmp r8, 0xf
cmova rbx, r9
add rbx, rdx
mov r8, rdi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + rdi], 0
jmp 0x180041965
mov r9, rdi
mov rdx, rdi
lea rcx, [rbp + 0xd0]
call fcn.180032d70
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], 4
mov qword [rbp + 0x98], 0xf
mov edi, 0x656e6f4e
mov dword [rbp + 0x80], edi
mov byte [rbp + 0x84], 0
lea r8, [rbp + 0x80]
lea rdx, [rsp + 0x60]
lea rcx, [r13 + 0x18]
call fcn.1800452c0
mov rbx, qword [rax]
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0xf0]
call fcn.180017a40
mov eax, dword [rsp + 0x30]
mov dword [rbp + 0x110], eax
mov rdx, qword [rbx + 0x38]
cmp rdx, qword [rbx + 0x40]
je 0x180041a12
movups xmm0, xmmword [rbp + 0xf0]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp + 0x100]
movups xmmword [rdx + 0x10], xmm1
mov qword [rbp + 0x100], 0
mov qword [rbp + 0x108], 0xf
mov byte [rbp + 0xf0], 0
mov dword [rdx + 0x20], eax
add qword [rbx + 0x38], 0x28
jmp 0x180041a23
lea r8, [rbp + 0xf0]
lea rcx, [rbx + 0x30]
call fcn.180045f90
nop
lea rcx, [rbp + 0xf0]
call fcn.180005610
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x180041a71
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180041a6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180041b47
call fcn.1800df6f8
lea rcx, [0x180165468]
jmp 0x180041a7f
mov edi, 0x656e6f4e
add rsi, 0x28
lea rax, [rsi - 0x20]
cmp rax, rcx
jne 0x180041870
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], 4
mov qword [rbp + 0x98], 0xf
mov dword [rbp + 0x80], edi
mov byte [rbp + 0x84], 0
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
movabs r8, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbp + rcx + 0x80]
xor rdx, rax
imul rdx, r8
inc rcx
cmp rcx, 4
jb 0x180041ae0
mov rcx, qword [r13 + 0x48]
and rcx, rdx
shl rcx, 4
mov r8, qword [r13 + 0x30]
add r8, rcx
mov rcx, qword [r8 + 8]
cmp rcx, qword [r13 + 0x20]
je 0x180041b4e
mov r8, qword [r8]
nop word [rax + rax]
lea rax, [rcx + 0x10]
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x180041b32
mov rax, qword [rax]
cmp rdx, 4
jne 0x180041b3c
cmp edi, dword [rax]
je 0x180041b50
cmp rcx, r8
je 0x180041b4e
mov rcx, qword [rcx + 8]
jmp 0x180041b20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor ecx, ecx
test rcx, rcx
je 0x180041bfe
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
movdqa xmm1, xmmword [0x18013e850]
movdqu xmmword [rbp + 0x90], xmm1
mov dword [rbp + 0x80], edi
mov byte [rbp + 0x84], 0
mov rdx, qword [r13 + 8]
cmp rdx, qword [r13 + 0x10]
je 0x180041bab
movups xmm0, xmmword [rbp + 0x80]
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm1
mov edx, 0xf
mov byte [rbp + 0x80], 0
add qword [r13 + 8], 0x20
jmp 0x180041bc1
lea r8, [rbp + 0x80]
mov rcx, r13
call fcn.180039a40
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x180041bfe
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180041bf9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180041bf9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800df6f8
mov byte [r13 + 0x58], 1
mov dil, 1
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0xf
jbe 0x180041c4a
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180041c45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180041c45
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800df6f8
mov qword [rbp + 0xe0], 0
mov qword [rbp + 0xe8], 0xf
mov byte [rbp + 0xd0], 0
test r12, r12
je 0x180041cc3
mov rbx, r12
cmp r12, r15
je 0x180041c85
mov rcx, rbx
call fcn.180005610
add rbx, 0x20
cmp rbx, r15
jne 0x180041c74
mov rdx, qword [rsp + 0x48]
sub rdx, r12
and rdx, 0xffffffffffffffe0
mov rax, r12
cmp rdx, 0x1000
jb 0x180041cba
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180041cba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.1800df6f8
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0xf
jbe 0x180041d08
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180041d02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180041d02
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800df6f8
nop
mov rcx, qword [rsp + 0x70]
movsxd rdx, dword [rcx + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rdx + 0x70], rax
mov rcx, qword [rsp + 0x70]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0xb0]
mov dword [rsp + rdx + 0x6c], r8d
lea rcx, [rbp - 0x80]
call fcn.180043780
lea rcx, [rbp - 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
movzx eax, dil
mov rcx, qword [rbp + 0x118]
xor rcx, rsp
call fcn.1800df290
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180018050
nop
call fcn.180018050
int3