Function at 0x1401f9270
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x488]
sub rsp, 0x560
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140418a10]
xor rax, rsp
mov qword [rbp + 0x450], rax
mov r14, rcx
mov ecx, 0x58
call fcn.1402b968c
xor edi, edi
test rax, rax
je 0x1401f92d0
mov rdx, r14
mov rcx, rax
call fcn.1401fa920
jmp 0x1401f92d3
mov rax, rdi
mov qword [rsp + 0x60], rax
movzx eax, byte [0x14042c175]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x60]
lea rdx, [rbp - 0x48]
lea rcx, [r14 + 0x18]
call fcn.1400e2a70
lea rax, [0x140348ca0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rdi
lea rax, [rbp + 0x240]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x1401f9673
lea rax, [rbp + 0x240]
or rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401f9340
test ebx, ebx
jle 0x1401f9379
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x240]
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
jmp 0x1401f9380
cmp dword [rsp + 0x3c], 0
jle 0x1401f938c
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140200570
mov edx, 0x5c
mov rcx, qword [rsp + 0x30]
call fcn.1402bcdb4
test rax, rax
je 0x1401f9673
sub rax, qword [rsp + 0x30]
sar rax, 1
test eax, eax
jle 0x1401f9673
mov ecx, dword [rsp + 0x3c]
dec ecx
cmp eax, ecx
jge 0x1401f9673
lea r8d, [rax + 1]
mov edx, 0x5c
lea rcx, [rsp + 0x30]
call fcn.1401ff870
test eax, eax
jle 0x1401f9673
mov r8d, dword [rsp + 0x3c]
sub r8d, eax
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140200670
lea rbx, vtable.Core::Array_class_Core::String_.0
mov qword [rbp - 0x78], rbx
mov dword [rbp - 0x70], edi
mov qword [rbp - 0x68], rdi
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x30]
call fcn.1400eca70
test al, al
je 0x1401f9646
mov eax, dword [rbp - 0x70]
test eax, eax
jle 0x1401f9646
mov r12, qword [rbp - 0x68]
mov r13d, eax
nop dword [rax + rax]
mov qword [rsp + 0x48], 0
mov edx, 0x29
lea rcx, [rsp + 0x40]
call fcn.1401ff260
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
mov r9d, 0x29
lea r8, str.Application_DataMozillaFirefoxProfiles
mov rcx, qword [rsp + 0x40]
call fcn.1402bd21c
mov edx, 0x29
lea rcx, [rsp + 0x40]
call fcn.140200570
nop
lea r8, [rsp + 0x40]
mov rdx, r12
lea rcx, [rbp - 0x38]
call fcn.1400d2bd0
nop
mov r8, rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x68]
call fcn.1400d2bd0
nop
cmp dword [rbp - 0x30], 0
jle 0x1401f94ad
mov rcx, qword [rbp - 0x38]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x48], 0
jle 0x1401f94be
mov rcx, qword [rsp + 0x40]
call fcn.1402b9c20
mov qword [rbp - 0x60], rbx
mov dword [rbp - 0x58], edi
mov qword [rbp - 0x50], rdi
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x68]
call fcn.1400eca70
mov rsi, qword [rbp - 0x50]
test al, al
je 0x1401f95fa
mov eax, dword [rbp - 0x58]
test eax, eax
jle 0x1401f95fa
mov rbx, rsi
mov edi, eax
nop dword [rax]
nop word [rax + rax]
xor eax, eax
mov qword [rsp + 0x58], rax
lea edx, [rax + 0xd]
lea rcx, [rsp + 0x50]
call fcn.1401ff260
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r9d, 0xd
lea r8, str.places.sqlite
mov rcx, qword [rsp + 0x50]
call fcn.1402bd21c
mov edx, 0xd
lea rcx, [rsp + 0x50]
call fcn.140200570
nop
mov r8, rbx
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x48]
call fcn.1400d2bd0
nop
lea r8, [rsp + 0x50]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1400d2bd0
nop
cmp dword [rbp - 0x40], 0
jle 0x1401f9579
mov rcx, qword [rbp - 0x48]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x58], 0
jle 0x1401f958a
mov rcx, qword [rsp + 0x50]
call fcn.1402b9c20
lea rdx, [rbp - 0x10]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x1401f95dd
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rsp + 0x78]
mov rcx, r14
call fcn.1401fa0c0
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1401f95dd
movzx eax, byte [0x14042c175]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x60]
lea rdx, [rbp - 0x20]
lea rcx, [r14 + 0x18]
call fcn.1400e2a70
nop
cmp dword [rbp - 0x80], 0
jle 0x1401f95ed
mov rcx, qword [rsp + 0x78]
call fcn.1402b9c20
add rbx, 0x10
dec rdi
jne 0x1401f9500
test rsi, rsi
je 0x1401f9621
lea r9, [fcn.140005eb0]
mov r8d, dword [rsi - 8]
mov edx, 0x10
mov rcx, rsi
call fcn.1402ba5c4
lea rcx, [rsi - 8]
call fcn.1402b99fc
nop
cmp dword [rsp + 0x70], 0
jle 0x1401f9632
mov rcx, qword [rsp + 0x68]
call fcn.1402b9c20
add r12, 0x10
dec r13
lea rbx, vtable.Core::Array_class_Core::String_.0
jne 0x1401f9430
mov rax, qword [rbp - 0x68]
test rax, rax
je 0x1401f9673
lea rbx, [rax - 8]
lea r9, [fcn.140005eb0]
mov r8d, dword [rbx]
mov edx, 0x10
mov rcx, rax
call fcn.1402ba5c4
mov rcx, rbx
call fcn.1402b99fc
nop
cmp dword [rsp + 0x38], 0
jle 0x1401f9684
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
mov al, 1
mov rcx, qword [rbp + 0x450]
xor rcx, rsp
call fcn.1402b9610
lea r11, [rsp + 0x560]
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