Function at 0x1400853f0
Capabilities:
Get common file path
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4d0
movaps xmmword [rsp + 0x4c0], xmm6
mov rax, qword [0x1401bb078]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov r14, rdx
mov qword [rsp + 0x30], rdx
mov r15, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x1a8], rdx
xor r13d, r13d
mov rdi, qword [rcx + 0x108]
mov rbx, qword [rcx + 0x100]
cmp rbx, rdi
je 0x140085471
mov rcx, rbx
call fcn.1400025a0
add rbx, 0x48
cmp rbx, rdi
jne 0x140085452
mov rax, qword [r15 + 0x100]
mov qword [r15 + 0x108], rax
movzx eax, byte [r15 + 0x18]
dec eax
cmp eax, 7
ja case.default.0x140085494
cdqe
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x862d8]
add rcx, rdx
jmp rcx
mov qword [r15 + 0x20], r13
jmp case.default.0x140085494
mov byte [r15 + 0x20], 0
jmp case.default.0x140085494
mov rax, qword [r15 + 0x20]
mov rcx, rax
cmp qword [rax + 0x18], 0x10
jb 0x1400854b4
mov rcx, qword [rax]
mov qword [rax + 0x10], r13
mov byte [rcx], 0
jmp case.default.0x140085494
mov rax, qword [r15 + 0x20]
mov rcx, qword [rax]
cmp rcx, qword [rax + 8]
je case.default.0x140085494
mov qword [rax + 8], rcx
jmp case.default.0x140085494
mov r14, qword [r15 + 0x20]
mov rsi, qword [r14 + 8]
mov rbx, qword [r14]
cmp rbx, rsi
je 0x1400854f8
mov rcx, rbx
call fcn.1400041b0
add rbx, 0x10
cmp rbx, rsi
jne 0x1400854e0
mov rax, qword [r14]
mov qword [r14 + 8], rax
mov r14, qword [rsp + 0x30]
lea rbx, [r15 + 0x28]
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14008550e
mov rax, qword [rbx]
mov qword [rbx + 0x10], r13
mov byte [rax], 0
movabs rsi, 0xaf63d94c8601e773
mov rdx, rsi
lea rcx, [0x14019b9a1]
call fcn.1400820a0
mov qword [rsp + 0x200], rax
mov rdx, rsi
lea rcx, [0x14019b9b1]
call fcn.1400820a0
mov qword [rsp + 0x208], rax
mov rdx, rsi
lea rcx, [0x14019b9c1]
call fcn.1400820a0
mov qword [rsp + 0x210], rax
mov rdx, rsi
lea rcx, [0x14019b9d1]
call fcn.1400820a0
mov qword [rsp + 0x218], rax
mov rdx, rsi
lea rcx, [0x14019b9e1]
call fcn.1400820a0
mov qword [rsp + 0x220], rax
mov rdx, rsi
lea rcx, [0x14019b9f1]
call fcn.1400820a0
mov qword [rsp + 0x228], rax
mov rdx, rsi
lea rcx, [0x14019b9f9]
call fcn.1400820a0
mov qword [rsp + 0x230], rax
mov rdx, rsi
lea rcx, [0x14019ba09]
call fcn.1400820a0
mov qword [rsp + 0x238], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x1c0], xmm0
mov qword [rsp + 0x1d0], r13
mov edx, 8
call fcn.14008a1e0
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x1c8], rax
lea rsi, [rax + 0x40]
mov qword [rsp + 0x1d0], rsi
mov r8d, 0x40
lea rdx, [rsp + 0x200]
mov rcx, rax
call fcn.140113b90
mov qword [rsp + 0x1c8], rsi
mov rcx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14008563c
mov rcx, qword [r14]
movsx rax, byte [rcx]
test al, al
jne 0x14008565e
movabs rax, 0xcbf29ce484222325
jmp 0x140085684
mov rcx, qword [r15 + 0x20]
call fcn.1400061c0
jmp case.default.0x140085494
mov rdx, rax
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs rax, 0x100000001b3
imul rdx, rax
inc rcx
call fcn.1400820a0
mov r8, rax
mov rdx, rsi
mov rcx, qword [rsp + 0x1c0]
call fcn.140110c30
cmp rax, qword [rsp + 0x1c8]
je 0x1400859bd
lea rax, [rsp + 0x3a0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
xorps xmm0, xmm0
mov qword [rsp + 0x260], r13
mov qword [rsp + 0x268], r13
movups xmmword [rsp + 0x250], xmm0
test eax, eax
jns 0x1400856ef
xor r8d, r8d
lea rdx, [0x14018ff70]
jmp 0x140085712
lea rax, [rsp + 0x3a0]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140085700
lea rdx, [rsp + 0x3a0]
lea rcx, [rsp + 0x250]
call fcn.140002600
nop
mov rcx, qword [rsp + 0x260]
test rcx, rcx
je 0x1400859af
lea rax, str..json
mov qword [rsp + 0x1b0], rax
mov qword [rsp + 0x1b8], 0x10
lea rax, [rsp + 0x250]
cmp qword [rsp + 0x268], 0x10
cmovae rax, qword [rsp + 0x250]
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x1e8], rcx
movups xmm0, xmmword [rsp + 0x1e0]
movaps xmmword [rsp + 0x70], xmm0
movabs rax, 0xc000000000000000
mov qword [rsp + 0x50], rax
lea rax, str.Tadala
mov qword [rsp + 0x80], rax
movabs rax, 0xb000000000000010
mov qword [rsp + 0x58], rax
lea rax, str.GrenadeHelper
mov qword [rsp + 0x88], rax
movabs rax, 0xb000000000000018
mov qword [rsp + 0x60], rax
mov rcx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1400857db
mov rcx, qword [r14]
mov rax, qword [r14 + 0x10]
mov qword [rsp + 0x1e0], rcx
mov qword [rsp + 0x1e8], rax
movups xmm0, xmmword [rsp + 0x1e0]
movaps xmmword [rsp + 0x90], xmm0
movabs rax, 0xc000000000000020
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x1e0], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x1e8], rax
movaps xmm0, xmmword [rsp + 0x1e0]
movdqa xmmword [rsp + 0x1e0], xmm0
movaps xmm1, xmmword [rsp + 0x1b0]
movdqa xmmword [rsp + 0x1b0], xmm1
lea r8, [rsp + 0x1e0]
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x200]
call fcn.140074de0
lea rdx, [rsp + 0x200]
mov rcx, rbx
call fcn.14005fb00
lea rcx, [rsp + 0x200]
call fcn.1400025a0
lea rcx, [r15 + 0x48]
mov rdx, r14
call fcn.14006d190
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rsp + 0x290]
call fcn.140114240
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400858b1
mov rdx, qword [rbx]
lea rcx, [rsp + 0x290]
call fcn.14006ee90
mov rax, qword [rsp + 0x290]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x290], rsi
mov rax, qword [rsp + 0x290]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x28c], edx
cmp qword [rsp + 0x320], 0
jne 0x140085a28
lea rcx, str._System_:_Current_map_grenade_helper_file_missing_n
call fcn.140008b60
cmp qword [rbx + 0x18], 0x10
jb 0x140085917
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, str._System_:______Path:__s_n
call fcn.140008b60
nop
mov rax, qword [rsp + 0x290]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x290], rsi
mov rax, qword [rsp + 0x290]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x28c], edx
lea rcx, [rsp + 0x2a0]
call fcn.14005f680
mov rax, qword [rsp + 0x290]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x290], rax
mov rax, qword [rsp + 0x290]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0x28c], edx
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0x340], rax
lea rcx, [rsp + 0x340]
call fcn.1401102f8
nop
lea rcx, [rsp + 0x250]
call fcn.1400025a0
nop
mov rcx, qword [rsp + 0x1c0]
test rcx, rcx
je 0x140086046
mov rax, qword [rsp + 0x1d0]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140085a0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400862d1
call fcn.14011155c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x1c0], xmm0
mov qword [rsp + 0x1d0], r13
jmp 0x140086046
mov qword [rsp + 0x1e0], r13
mov word [rsp + 0x1e8], 1
mov rax, qword [rsp + 0x290]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rsp + rcx + 0x2d8]
mov qword [rsp + 0x1b0], rcx
test rcx, rcx
sete byte [rsp + 0x1b8]
mov byte [rsp + 0x1b9], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x270], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x280], xmm1
movaps xmm0, xmmword [rsp + 0x1b0]
movaps xmmword [rsp + 0x1b0], xmm0
movaps xmm6, xmmword [rsp + 0x1e0]
test rcx, rcx
je 0x140085b00
mov rax, qword [rcx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140085ab7
mov rax, qword [rcx + 0x50]
cmp dword [rax], 0
jle 0x140085ab7
movzx eax, byte [rdx]
jmp 0x140085abd
mov rax, qword [rcx]
call qword [rax + 0x30]
cmp eax, 0xffffffff
je 0x140085ae3
mov byte [rsp + 0x1b9], al
mov rax, qword [rsp + 0x1b0]
mov byte [rsp + 0x1b8], 1
movaps xmm0, xmmword [rsp + 0x1b0]
jmp 0x140085b05
mov rax, r13
mov qword [rsp + 0x1b0], rax
mov byte [rsp + 0x1b8], 1
movaps xmm0, xmmword [rsp + 0x1b0]
jmp 0x140085b05
movq rax, xmm0
test rax, rax
movq rax, xmm6
jne 0x140085bb1
test rax, rax
je 0x140085bba
movdqa xmmword [rsp + 0x1e0], xmm6
movdqa xmmword [rsp + 0x1b0], xmm0
lea r8, [rsp + 0x1e0]
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x270]
call fcn.14008bdf0
nop
lea rcx, [rsp + 0x2a0]
call fcn.140060010
test rax, rax
jne 0x140085bd8
mov rax, qword [rsp + 0x290]
movsxd rcx, dword [rax + 4]
mov eax, 6
mov edx, 2
cmp qword [rsp + rcx + 0x2d8], 0
cmovne eax, edx
or eax, dword [rsp + rcx + 0x2a0]
and eax, 0x17
mov dword [rsp + rcx + 0x2a0], eax
mov edx, dword [rsp + rcx + 0x2a4]
and edx, eax
je 0x140085bd8
test dl, 4
je 0x14008619e
lea rbx, str.ios_base::badbit_set
jmp 0x1400861b3
test rax, rax
je 0x140085b1c
movdqa xmm0, xmmword [0x14019de90]
movdqu xmmword [rsp + 0x280], xmm0
mov byte [rsp + 0x270], 0
jmp 0x140085b4c
mov qword [rsp + 0x238], r13
lea r8, [rsp + 0x200]
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0x1e0]
call fcn.1400887c0
mov rdx, rax
movzx ecx, byte [r15 + 0x18]
movzx eax, byte [rax]
mov byte [r15 + 0x18], al
mov byte [rdx], cl
lea rcx, [rdx + 8]
mov rax, qword [r15 + 0x20]
mov r8, qword [rcx]
mov qword [r15 + 0x20], r8
mov qword [rcx], rax
movzx edx, byte [rdx]
call fcn.140005270
cmp byte [r15 + 0x18], 0
jne 0x140085c3d
mov byte [r15 + 0x18], 1
call fcn.1400072a0
mov qword [r15 + 0x20], rax
cmp byte [r15 + 0x18], 1
jne 0x140086275
mov rdx, r14
mov rcx, qword [r15 + 0x20]
call fcn.140088620
mov r8, rax
mov qword [rsp + 0x1b0], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x1e8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x1f0], xmm1
movabs r14, 0x8000000000000000
mov rsi, r14
movzx ecx, byte [rax]
mov edx, ecx
sub edx, 1
je 0x140085cce
cmp edx, 1
je 0x140085cbd
test ecx, ecx
je 0x140085cae
sub ecx, 1
je 0x140085cce
cmp ecx, 1
je 0x140085cbd
mov rsi, r13
mov rbx, qword [rsp + 0x1e8]
jmp 0x140085cd8
mov esi, 1
mov rbx, qword [rsp + 0x1e8]
jmp 0x140085cd8
mov rdi, qword [rax + 8]
mov rdi, qword [rdi]
mov rbx, qword [rsp + 0x1e8]
jmp 0x140085ce0
mov rax, qword [rax + 8]
mov rbx, qword [rax]
mov rbx, qword [rbx]
mov rdi, qword [rsp + 0x1f0]
movdqu xmmword [rsp + 0x1e8], xmm0
movdqu xmmword [rsp + 0x1f0], xmm1
movzx ecx, byte [r8]
mov edx, ecx
sub edx, 1
je 0x140085d2e
cmp edx, 1
je 0x140085d1c
sub ecx, 1
je 0x140085d2e
cmp ecx, 1
je 0x140085d1c
mov r14d, 1
mov r12, qword [rsp + 0x1e8]
jmp 0x140085d36
mov r15, qword [r8 + 8]
mov r15, qword [r15 + 8]
mov r12, qword [rsp + 0x1e8]
jmp 0x140085d40
mov r12, qword [r8 + 8]
mov r12, qword [r12]
mov r15, qword [rsp + 0x1f0]
nop
movzx ecx, byte [r8]
mov edx, ecx
sub edx, 1
je 0x140085d5a
cmp edx, 1
je 0x140085d55
cmp rsi, r14
jmp 0x140085d5d
cmp rdi, r15
jmp 0x140085d5d
cmp rbx, r12
setne al
test al, al
je 0x140085f34
test ecx, ecx
je 0x140086231
sub ecx, 1
je 0x140085d8d
cmp ecx, 1
je 0x140085d88
test rsi, rsi
jne 0x1400861ed
mov rdx, r8
jmp 0x140085d91
mov rdx, rdi
jmp 0x140085d91
lea rdx, [rbx + 0x40]
xorps xmm0, xmm0
movups xmmword [rsp + 0x200], xmm0
mov qword [rsp + 0x210], r13
mov qword [rsp + 0x218], 0xf
mov byte [rsp + 0x200], 0
xor eax, eax
mov qword [rsp + 0x220], rax
mov dword [rsp + 0x228], eax
mov qword [rsp + 0x22c], rax
mov qword [rsp + 0x234], rax
mov qword [rsp + 0x23c], rax
lea r8, [rsp + 0x200]
call fcn.140086bf0
test al, al
je 0x140085e99
mov rcx, qword [rsp + 0x38]
mov r13, qword [rcx + 0x108]
cmp r13, qword [rcx + 0x110]
je 0x140085e7f
lea rdx, [rsp + 0x200]
mov rcx, r13
call fcn.1400044a0
movsd xmm0, qword [rsp + 0x220]
movsd qword [r13 + 0x20], xmm0
mov eax, dword [rsp + 0x228]
mov dword [r13 + 0x28], eax
movsd xmm0, qword [rsp + 0x22c]
movsd qword [r13 + 0x2c], xmm0
mov eax, dword [rsp + 0x234]
mov dword [r13 + 0x34], eax
mov eax, dword [rsp + 0x238]
mov dword [r13 + 0x38], eax
mov eax, dword [rsp + 0x23c]
mov dword [r13 + 0x3c], eax
mov eax, dword [rsp + 0x240]
mov dword [r13 + 0x40], eax
mov rax, qword [rsp + 0x38]
add qword [rax + 0x108], 0x48
jmp 0x140085e96
lea r8, [rsp + 0x200]
mov rdx, r13
add rcx, 0x100
call fcn.14008c310
xor r13d, r13d
lea rcx, [rsp + 0x200]
call fcn.1400025a0
mov r8, qword [rsp + 0x1b0]
movzx ecx, byte [r8]
sub ecx, 1
je 0x140085ecd
cmp ecx, 1
je 0x140085ec4
inc rsi
jmp 0x140085d40
add rdi, 0x10
jmp 0x140085d40
mov rax, rbx
mov rbx, qword [rbx + 0x10]
cmp byte [rbx + 0x19], 0
je 0x140085f0c
mov rbx, qword [rax + 8]
cmp byte [rbx + 0x19], 0
jne 0x140085d40
nop dword [rax + rax]
cmp rax, qword [rbx + 0x10]
jne 0x140085d40
mov rax, rbx
mov rbx, qword [rbx + 8]
cmp byte [rbx + 0x19], 0
je 0x140085ef0
jmp 0x140085d40
mov rcx, qword [rbx]
cmp byte [rcx + 0x19], 0
jne 0x140085d40
nop dword [rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140085f20
jmp 0x140085d40
lea rcx, [rsp + 0x270]
call fcn.1400025a0
nop
mov rax, qword [rsp + 0x290]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x290], rax
mov rax, qword [rsp + 0x290]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x28c], edx
lea rcx, [rsp + 0x2a0]
call fcn.14005f680
mov rax, qword [rsp + 0x290]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x290], rax
mov rax, qword [rsp + 0x290]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0x28c], edx
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0x340], rax
lea rcx, [rsp + 0x340]
call fcn.1401102f8
nop
lea rcx, [rsp + 0x250]
call fcn.1400025a0
nop
mov rcx, qword [rsp + 0x1c0]
test rcx, rcx
je 0x140086041
mov rax, qword [rsp + 0x1d0]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140086028
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400862d1
call fcn.14011155c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x1c0], xmm0
mov qword [rsp + 0x1d0], r13
mov r14, qword [rsp + 0x30]
mov rcx, r14
call fcn.1400025a0
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.140111500
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
test dl, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x1e0]
call fcn.14005cfb0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0xa0]
call fcn.14005d9f0
lea rdx, [0x1401b94b8]
lea rcx, [rsp + 0xa0]
call fcn.140114748
nop
lea rdx, str.cannot_get_value
lea rcx, [rsp + 0x200]
call fcn.140002560
nop
lea r8, [rsp + 0x200]
mov edx, 0xd6
lea rcx, [rsp + 0x100]
call fcn.140084660
lea rdx, [0x1401b9818]
lea rcx, [rsp + 0x100]
call fcn.140114748
nop
lea rdx, str.cannot_get_value
lea rcx, [rsp + 0x200]
call fcn.140002560
nop
lea r8, [rsp + 0x200]
mov edx, 0xd6
lea rcx, [rsp + 0x138]
call fcn.140084660
lea rdx, [0x1401b9818]
lea rcx, [rsp + 0x138]
call fcn.140114748
nop
lea rcx, [r15 + 0x18]
call fcn.1400064c0
mov rdx, rax
lea rcx, [rsp + 0x200]
call fcn.140002560
nop
mov r8, rax
lea rdx, str.cannot_use_operator___with_a_string_argument_with
lea rcx, [rsp + 0x1e0]
call fcn.140006a20
nop
mov r8, rax
mov edx, 0x131
lea rcx, [rsp + 0x170]
call fcn.140002c20
lea rdx, [0x1401b93f0]
lea rcx, [rsp + 0x170]
call fcn.140114748
nop
call fcn.140118464
int3