Function at 0x1401f6b50
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 [0x140415a10]
xor rax, rsp
mov qword [rbp + 0x450], rax
mov r14, rcx
mov ecx, 0x58
call fcn.1402b6dbc
xor edi, edi
test rax, rax
je 0x1401f6bb0
mov rdx, r14
mov rcx, rax
call fcn.1401f8200
jmp 0x1401f6bb3
mov rax, rdi
mov qword [rsp + 0x60], rax
movzx eax, byte [0x140429195]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x60]
lea rdx, [rbp - 0x48]
lea rcx, [r14 + 0x18]
call fcn.1400e2a00
lea rax, [0x140346ce0]
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 0x1401f6f53
lea rax, [rbp + 0x240]
or rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401f6c20
test ebx, ebx
jle 0x1401f6c59
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x240]
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
jmp 0x1401f6c60
cmp dword [rsp + 0x3c], 0
jle 0x1401f6c6c
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401fde50
mov edx, 0x5c
mov rcx, qword [rsp + 0x30]
call fcn.1402ba4e4
test rax, rax
je 0x1401f6f53
sub rax, qword [rsp + 0x30]
sar rax, 1
test eax, eax
jle 0x1401f6f53
mov ecx, dword [rsp + 0x3c]
dec ecx
cmp eax, ecx
jge 0x1401f6f53
lea r8d, [rax + 1]
mov edx, 0x5c
lea rcx, [rsp + 0x30]
call fcn.1401fd150
test eax, eax
jle 0x1401f6f53
mov r8d, dword [rsp + 0x3c]
sub r8d, eax
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.1401fdf50
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.1400eb7d0
test al, al
je 0x1401f6f26
mov eax, dword [rbp - 0x70]
test eax, eax
jle 0x1401f6f26
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.1401fcb40
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.1402ba94c
mov edx, 0x29
lea rcx, [rsp + 0x40]
call fcn.1401fde50
nop
lea r8, [rsp + 0x40]
mov rdx, r12
lea rcx, [rbp - 0x38]
call fcn.1400d2ba0
nop
mov r8, rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x68]
call fcn.1400d2ba0
nop
cmp dword [rbp - 0x30], 0
jle 0x1401f6d8d
mov rcx, qword [rbp - 0x38]
call fcn.1402b7350
nop
cmp dword [rsp + 0x48], 0
jle 0x1401f6d9e
mov rcx, qword [rsp + 0x40]
call fcn.1402b7350
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.1400eb7d0
mov rsi, qword [rbp - 0x50]
test al, al
je 0x1401f6eda
mov eax, dword [rbp - 0x58]
test eax, eax
jle 0x1401f6eda
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.1401fcb40
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.1402ba94c
mov edx, 0xd
lea rcx, [rsp + 0x50]
call fcn.1401fde50
nop
mov r8, rbx
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x48]
call fcn.1400d2ba0
nop
lea r8, [rsp + 0x50]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1400d2ba0
nop
cmp dword [rbp - 0x40], 0
jle 0x1401f6e59
mov rcx, qword [rbp - 0x48]
call fcn.1402b7350
nop
cmp dword [rsp + 0x58], 0
jle 0x1401f6e6a
mov rcx, qword [rsp + 0x50]
call fcn.1402b7350
lea rdx, [rbp - 0x10]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x1401f6ebd
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rsp + 0x78]
mov rcx, r14
call fcn.1401f79a0
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1401f6ebd
movzx eax, byte [0x140429195]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x60]
lea rdx, [rbp - 0x20]
lea rcx, [r14 + 0x18]
call fcn.1400e2a00
nop
cmp dword [rbp - 0x80], 0
jle 0x1401f6ecd
mov rcx, qword [rsp + 0x78]
call fcn.1402b7350
add rbx, 0x10
dec rdi
jne 0x1401f6de0
test rsi, rsi
je 0x1401f6f01
lea r9, [fcn.140005eb0]
mov r8d, dword [rsi - 8]
mov edx, 0x10
mov rcx, rsi
call fcn.1402b7cf4
lea rcx, [rsi - 8]
call fcn.1402b712c
nop
cmp dword [rsp + 0x70], 0
jle 0x1401f6f12
mov rcx, qword [rsp + 0x68]
call fcn.1402b7350
add r12, 0x10
dec r13
lea rbx, vtable.Core::Array_class_Core::String_.0
jne 0x1401f6d10
mov rax, qword [rbp - 0x68]
test rax, rax
je 0x1401f6f53
lea rbx, [rax - 8]
lea r9, [fcn.140005eb0]
mov r8d, dword [rbx]
mov edx, 0x10
mov rcx, rax
call fcn.1402b7cf4
mov rcx, rbx
call fcn.1402b712c
nop
cmp dword [rsp + 0x38], 0
jle 0x1401f6f64
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
mov al, 1
mov rcx, qword [rbp + 0x450]
xor rcx, rsp
call fcn.1402b6d40
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