Function at 0x140004f64
Capabilities:
Enumerate files on windows
Get common file path
Get startup folder

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x468]
sub rsp, 0x550
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140033410]
xor rax, rsp
mov qword [rbp + 0x440], rax
mov rdi, rcx
xor r14d, r14d
mov dword [rsp + 0x50], r14d
lea rax, [rbp + 0x230]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ebx, [r14 + 7]
test eax, eax
js 0x140005217
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], r14
mov word [rsp + 0x60], r14w
or r15, 0xffffffffffffffff
cmp word [rbp + 0x230], r14w
jne 0x140004ff8
mov r8d, r14d
jmp 0x14000500c
lea rax, [rbp + 0x230]
mov r8, r15
inc r8
cmp word [rax + r8*2], r14w
jne 0x140005002
lea rdx, [rbp + 0x230]
lea rcx, [rsp + 0x60]
call fcn.140003c1c
nop
lea r8, str.MozillaFirefoxProfiles_
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.140009988
mov rsi, rax
lea rax, [rsp + 0x60]
cmp rax, rsi
je 0x140005070
cmp qword [rsp + 0x78], 8
jb 0x140005053
mov rcx, qword [rsp + 0x60]
call fcn.14000b084
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], r14
mov word [rsp + 0x60], r14w
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.140008d90
cmp qword [rsp + 0x48], 8
jb 0x140005082
mov rcx, qword [rsp + 0x30]
call fcn.14000b084
lea r8, [0x14002af30]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.140009988
cmp qword [rax + 0x18], 8
jb 0x1400050a2
mov rax, qword [rax]
lea rdx, [rbp - 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp qword [rsp + 0x48], 8
jb 0x1400050c4
mov rcx, qword [rsp + 0x30]
call fcn.14000b084
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], r14
mov word [rsp + 0x30], r14w
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x70], r14
mov word [rbp - 0x80], r14w
xor r8d, r8d
lea rdx, [0x14002af34]
lea rcx, [rbp - 0x80]
call fcn.140003c1c
nop
test byte [rbp - 0x20], 0x10
je 0x14000518a
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x50], r14
mov word [rbp - 0x60], r14w
cmp word [rbp + 0xc], r14w
jne 0x140005118
mov r8, r14
jmp 0x140005129
lea rax, [rbp + 0xc]
mov r8, r15
inc r8
cmp word [rax + r8*2], r14w
jne 0x14000511f
lea rdx, [rbp + 0xc]
lea rcx, [rbp - 0x60]
call fcn.140003c1c
nop
mov r9, rbx
lea rdx, str.release
lea rcx, [rbp - 0x60]
call fcn.140008ee8
cmp rax, r15
je 0x14000517a
cmp word [rbp + 0xc], r14w
jne 0x14000515b
mov r8, r14
jmp 0x14000516c
lea rax, [rbp + 0xc]
mov r8, r15
inc r8
cmp word [rax + r8*2], r14w
jne 0x140005162
lea rdx, [rbp + 0xc]
lea rcx, [rbp - 0x80]
call fcn.140003c1c
nop
cmp qword [rbp - 0x48], 8
jb 0x14000518a
mov rcx, qword [rbp - 0x60]
call fcn.14000b084
lea rdx, [rbp - 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400050f5
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.140009a58
mov qword [rdi + 0x18], rbx
mov qword [rdi + 0x10], r14
mov word [rdi], r14w
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.140008d90
cmp qword [rbp - 0x28], 8
jb 0x1400051d9
mov rcx, qword [rbp - 0x40]
call fcn.14000b084
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x30], r14
mov word [rbp - 0x40], r14w
cmp qword [rbp - 0x68], 8
jb 0x1400051f6
mov rcx, qword [rbp - 0x80]
call fcn.14000b084
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x70], r14
mov word [rbp - 0x80], r14w
cmp qword [rsp + 0x78], 8
jb 0x140005235
mov rcx, qword [rsp + 0x60]
call fcn.14000b084
jmp 0x140005235
mov qword [rdi + 0x18], rbx
mov qword [rdi + 0x10], r14
mov word [rdi], r14w
xor r8d, r8d
lea rdx, [0x14002af34]
mov rcx, rdi
call fcn.140003c1c
mov rax, rdi
mov rcx, qword [rbp + 0x440]
xor rcx, rsp
call fcn.14000a720
lea r11, [rsp + 0x550]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret