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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fa436
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 0x10072f81
mov ecx, dword [0x101335d0]
or ecx, 1
mov dword [0x101335d0], ecx
mov dword [ebp - 4], 1
mov ecx, 0x101335b4
call fcn.10005510
push 0x10100a80
call fcn.1007e8f7
add esp, 4
mov byte [ebp - 4], 0
mov ecx, 0x101335b4
call fcn.100575d0
movzx edx, al
test edx, edx
jne 0x10072fbd
push 0x101335b4
mov ecx, dword [ebp + 8]
call fcn.10005480
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2dc]
or eax, 1
mov dword [ebp - 0x2dc], eax
mov eax, dword [ebp + 8]
jmp 0x10073356
mov cx, word [0x10106044]
mov word [ebp - 0x2bc], cx
push 0x206
push 0
lea edx, [ebp - 0x2ba]
push edx
call fcn.1007f8e0
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 0x1007301e
mov ecx, dword [ebp + 8]
call fcn.10005510
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2dc]
or ecx, 1
mov dword [ebp - 0x2dc], ecx
mov eax, dword [ebp + 8]
jmp 0x10073356
lea edx, [ebp - 0x2bc]
push edx
lea ecx, [ebp - 0x64]
call fcn.10005540
mov dword [ebp - 4], 2
push str.MozillaFirefox_
lea ecx, [ebp - 0x64]
call fcn.1004e6d0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0xb0]
call fcn.10005480
mov byte [ebp - 4], 3
push str.profiles.ini
lea ecx, [ebp - 0xb0]
call fcn.1004e6d0
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.10005510
mov byte [ebp - 4], 4
push str.Profile
lea ecx, [ebp - 0x84]
call fcn.10037df0
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.10073f40
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.10010050
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.100055f0
lea ecx, [ebp - 0xb0]
call fcn.100056f0
push eax
push 8
lea eax, [ebp - 0x94]
push eax
push 0
push str.Name
lea ecx, [ebp - 0x84]
call fcn.100056f0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x2d4], eax
cmp dword [ebp - 0x2d4], 0
jne 0x10073199
mov ecx, dword [ebp + 8]
call fcn.10005510
mov ecx, dword [ebp - 0x2dc]
or ecx, 1
mov dword [ebp - 0x2dc], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x84]
call fcn.100055f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
call fcn.100055f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.100055f0
mov eax, dword [ebp + 8]
jmp 0x10073356
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 0x10073215
cmp word [ebp - 0x2ee], 0
je 0x10073209
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 0x10073215
add dword [ebp - 0x2ec], 4
add dword [ebp - 0x2e8], 4
cmp word [ebp - 0x2f0], 0
jne 0x100731af
mov dword [ebp - 0x2f4], 0
jmp 0x10073220
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 0x100730a1
mov dword [ebp - 0x68], 0x104
mov edx, dword [ebp - 0x68]
push edx
lea ecx, [ebp - 0x2cc]
call fcn.10073680
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x68]
sub esi, 1
lea ecx, [ebp - 0xb0]
call fcn.100056f0
push eax
mov eax, dword [ebp - 0x68]
push eax
push 0
lea ecx, [ebp - 0x2cc]
call fcn.10025680
push eax
push 0
push 0x101060e4
lea ecx, [ebp - 0x84]
call fcn.100056f0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp esi, eax
jne 0x100732ad
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.100736f0
jmp 0x10073253
push 0
lea ecx, [ebp - 0x2cc]
call fcn.10025680
push eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.1004ea50
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.100055c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.100055f0
push 0x101335b4
mov ecx, dword [ebp + 8]
call fcn.10005480
mov ecx, dword [ebp - 0x2dc]
or ecx, 1
mov dword [ebp - 0x2dc], ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2cc]
call fcn.10025610
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x84]
call fcn.100055f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
call fcn.100055f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.100055f0
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.1007dd84
mov esp, ebp
pop ebp
ret