Function at 0x10072de0
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fa4b6
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x1012c610]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2dc], 0
mov eax, dword [0x101335d0]
and eax, 1
jne 0x10072e51
mov ecx, dword [0x101335d0]
or ecx, 1
mov dword [0x101335d0], ecx
mov dword [ebp - 4], 1
mov ecx, 0x101335b4
call fcn.10005530
push 0x10100a60
call fcn.1007e917
add esp, 4
mov byte [ebp - 4], 0
mov ecx, 0x101335b4
call fcn.10025530
movzx edx, al
test edx, edx
jne 0x10072e8d
push 0x101335b4
mov ecx, dword [ebp + 8]
call fcn.100054a0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2dc]
or eax, 1
mov dword [ebp - 0x2dc], eax
mov eax, dword [ebp + 8]
jmp 0x10073226
mov cx, word [0x10106044]
mov word [ebp - 0x2bc], cx
push 0x206
push 0
lea edx, [ebp - 0x2ba]
push edx
call fcn.1007f900
add esp, 0xc
push 0
push 0x1a
lea eax, [ebp - 0x2bc]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x10072eee
mov ecx, dword [ebp + 8]
call fcn.10005530
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2dc]
or ecx, 1
mov dword [ebp - 0x2dc], ecx
mov eax, dword [ebp + 8]
jmp 0x10073226
lea edx, [ebp - 0x2bc]
push edx
lea ecx, [ebp - 0x64]
call fcn.10005560
mov dword [ebp - 4], 2
push str.MozillaFirefox_
lea ecx, [ebp - 0x64]
call fcn.1004e380
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0xb0]
call fcn.100054a0
mov byte [ebp - 4], 3
push str.profiles.ini
lea ecx, [ebp - 0xb0]
call fcn.1004e380
xor ecx, ecx
mov word [ebp - 0x94], cx
xor edx, edx
mov dword [ebp - 0x92], edx
mov dword [ebp - 0x8e], edx
mov dword [ebp - 0x8a], edx
mov word [ebp - 0x86], dx
mov dword [ebp - 0x2d0], 0
lea ecx, [ebp - 0x84]
call fcn.10005530
mov byte [ebp - 4], 4
push str.Profile
lea ecx, [ebp - 0x84]
call fcn.10037de0
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x2d8], eax
mov ecx, dword [ebp - 0x2d0]
add ecx, 1
mov dword [ebp - 0x2d0], ecx
lea edx, [ebp - 0x2d8]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.10073e80
add esp, 8
mov dword [ebp - 0x2e0], eax
mov ecx, dword [ebp - 0x2e0]
mov dword [ebp - 0x2e4], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2e4]
push edx
lea ecx, [ebp - 0x84]
call fcn.10010080
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.10005610
lea ecx, [ebp - 0xb0]
call fcn.10005710
push eax
push 8
lea eax, [ebp - 0x94]
push eax
push 0
push str.Name
lea ecx, [ebp - 0x84]
call fcn.10005710
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x2d4], eax
cmp dword [ebp - 0x2d4], 0
jne 0x10073069
mov ecx, dword [ebp + 8]
call fcn.10005530
mov ecx, dword [ebp - 0x2dc]
or ecx, 1
mov dword [ebp - 0x2dc], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x84]
call fcn.10005610
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
call fcn.10005610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.10005610
mov eax, dword [ebp + 8]
jmp 0x10073226
mov dword [ebp - 0x2e8], str.default
lea edx, [ebp - 0x94]
mov dword [ebp - 0x2ec], edx
mov eax, dword [ebp - 0x2ec]
mov cx, word [eax]
mov word [ebp - 0x2ee], cx
mov edx, dword [ebp - 0x2e8]
cmp cx, word [edx]
jne 0x100730e5
cmp word [ebp - 0x2ee], 0
je 0x100730d9
mov eax, dword [ebp - 0x2ec]
mov cx, word [eax + 2]
mov word [ebp - 0x2f0], cx
mov edx, dword [ebp - 0x2e8]
cmp cx, word [edx + 2]
jne 0x100730e5
add dword [ebp - 0x2ec], 4
add dword [ebp - 0x2e8], 4
cmp word [ebp - 0x2f0], 0
jne 0x1007307f
mov dword [ebp - 0x2f4], 0
jmp 0x100730f0
sbb eax, eax
sbb eax, 0xffffffff
mov dword [ebp - 0x2f4], eax
mov ecx, dword [ebp - 0x2f4]
mov dword [ebp - 0x2f8], ecx
cmp dword [ebp - 0x2f8], 0
jne 0x10072f71
mov dword [ebp - 0x68], 0x104
mov edx, dword [ebp - 0x68]
push edx
lea ecx, [ebp - 0x2cc]
call fcn.10073550
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x68]
sub esi, 1
lea ecx, [ebp - 0xb0]
call fcn.10005710
push eax
mov eax, dword [ebp - 0x68]
push eax
push 0
lea ecx, [ebp - 0x2cc]
call fcn.10025610
push eax
push 0
push 0x101060e4
lea ecx, [ebp - 0x84]
call fcn.10005710
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp esi, eax
jne 0x1007317d
mov ecx, dword [ebp - 0x68]
shl ecx, 1
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
push edx
lea ecx, [ebp - 0x2cc]
call fcn.100735c0
jmp 0x10073123
push 0
lea ecx, [ebp - 0x2cc]
call fcn.10025610
push eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.1004e700
add esp, 0xc
mov dword [ebp - 0x2fc], eax
mov edx, dword [ebp - 0x2fc]
mov dword [ebp - 0x300], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x300]
push eax
mov ecx, 0x101335b4
call fcn.100055e0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.10005610
push 0x101335b4
mov ecx, dword [ebp + 8]
call fcn.100054a0
mov ecx, dword [ebp - 0x2dc]
or ecx, 1
mov dword [ebp - 0x2dc], ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2cc]
call fcn.100255d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x84]
call fcn.10005610
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
call fcn.10005610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.10005610
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007dda4
mov esp, ebp
pop ebp
ret