Function at 0x140005f9c
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 [0x140032a48]
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 0x14000624f
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], r14
mov word [rsp + 0x60], r14w
or r15, 0xffffffffffffffff
cmp word [rbp + 0x230], r14w
jne 0x140006030
mov r8d, r14d
jmp 0x140006044
lea rax, [rbp + 0x230]
mov r8, r15
inc r8
cmp word [rax + r8*2], r14w
jne 0x14000603a
lea rdx, [rbp + 0x230]
lea rcx, [rsp + 0x60]
call fcn.140002468
nop
lea r8, str.MozillaFirefoxProfiles_
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14000a510
mov rsi, rax
lea rax, [rsp + 0x60]
cmp rax, rsi
je 0x1400060a8
cmp qword [rsp + 0x78], 8
jb 0x14000608b
mov rcx, qword [rsp + 0x60]
call fcn.14000c5e0
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], r14
mov word [rsp + 0x60], r14w
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.1400097f0
cmp qword [rsp + 0x48], 8
jb 0x1400060ba
mov rcx, qword [rsp + 0x30]
call fcn.14000c5e0
lea r8, [0x140029530]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14000a510
cmp qword [rax + 0x18], 8
jb 0x1400060da
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 0x1400060fc
mov rcx, qword [rsp + 0x30]
call fcn.14000c5e0
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, [0x140029494]
lea rcx, [rbp - 0x80]
call fcn.140002468
nop
test byte [rbp - 0x20], 0x10
je 0x1400061c2
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x50], r14
mov word [rbp - 0x60], r14w
cmp word [rbp + 0xc], r14w
jne 0x140006150
mov r8, r14
jmp 0x140006161
lea rax, [rbp + 0xc]
mov r8, r15
inc r8
cmp word [rax + r8*2], r14w
jne 0x140006157
lea rdx, [rbp + 0xc]
lea rcx, [rbp - 0x60]
call fcn.140002468
nop
mov r9, rbx
lea rdx, str.release
lea rcx, [rbp - 0x60]
call fcn.140009948
cmp rax, r15
je 0x1400061b2
cmp word [rbp + 0xc], r14w
jne 0x140006193
mov r8, r14
jmp 0x1400061a4
lea rax, [rbp + 0xc]
mov r8, r15
inc r8
cmp word [rax + r8*2], r14w
jne 0x14000619a
lea rdx, [rbp + 0xc]
lea rcx, [rbp - 0x80]
call fcn.140002468
nop
cmp qword [rbp - 0x48], 8
jb 0x1400061c2
mov rcx, qword [rbp - 0x60]
call fcn.14000c5e0
lea rdx, [rbp - 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000612d
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.14000a5e0
mov qword [rdi + 0x18], rbx
mov qword [rdi + 0x10], r14
mov word [rdi], r14w
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.1400097f0
cmp qword [rbp - 0x28], 8
jb 0x140006211
mov rcx, qword [rbp - 0x40]
call fcn.14000c5e0
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x30], r14
mov word [rbp - 0x40], r14w
cmp qword [rbp - 0x68], 8
jb 0x14000622e
mov rcx, qword [rbp - 0x80]
call fcn.14000c5e0
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x70], r14
mov word [rbp - 0x80], r14w
cmp qword [rsp + 0x78], 8
jb 0x14000626d
mov rcx, qword [rsp + 0x60]
call fcn.14000c5e0
jmp 0x14000626d
mov qword [rdi + 0x18], rbx
mov qword [rdi + 0x10], r14
mov word [rdi], r14w
xor r8d, r8d
lea rdx, [0x140029494]
mov rcx, rdi
call fcn.140002468
mov rax, rdi
mov rcx, qword [rbp + 0x440]
xor rcx, rsp
call fcn.14000bf30
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