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

Disassembly:
push 0x87c
mov eax, 0x4672b4
call fcn.0044584f
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x257]
mov edi, 0x103
xor ebx, ebx
push edi
push ebx
push eax
mov byte [ebp - 0x258], bl
call fcn.00447ae0
add esp, 0xc
lea eax, [ebp - 0x258]
push ebx
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x4259ed
xor al, al
jmp 0x425d27
push str.MozillaFirefox
lea eax, [ebp - 0x258]
push 0x104
push eax
call fcn.00445026
push edi
lea eax, [ebp - 0x153]
mov byte [ebp - 0x154], bl
push ebx
push eax
call fcn.00447ae0
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x154]
push 0x104
push eax
call fcn.00443c38
push str.profiles.ini
lea eax, [ebp - 0x154]
push 0x104
push eax
call fcn.00445026
push 0x3f
lea eax, [ebp - 0x4f]
mov byte [ebp - 0x50], bl
push ebx
push eax
call fcn.00447ae0
push edi
lea eax, [ebp - 0x35b]
mov byte [ebp - 0x7d5], 1
push ebx
push eax
mov byte [ebp - 0x35c], bl
call fcn.00447ae0
add esp, 0x48
mov byte [ebp - 0x75c], bl
lea eax, [ebp - 0x75b]
push 0x3ff
push ebx
push eax
call fcn.00447ae0
add esp, 0xc
lea ecx, [ebp - 0x888]
push 1
push 3
call fcn.00422673
mov dword [ebp - 4], ebx
mov edi, ebx
push edi
lea eax, [ebp - 0x878]
push str.Profile
push eax
call fcn.00420f0e
pop ecx
pop ecx
mov ecx, eax
call fcn.00422c76
lea eax, [ebp - 0x7a4]
push eax
lea ecx, [ebp - 0x888]
call fcn.00426e97
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x425ada
mov eax, dword [eax]
lea ecx, [ebp - 0x154]
push ecx
push 0x400
lea ecx, [ebp - 0x75c]
push ecx
push 0x46a96c
push str.Default
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x7a4]
push ebx
push 1
call fcn.004017ef
lea eax, [ebp - 0x75c]
push eax
call fcn.004440cb
test eax, eax
pop ecx
setg al
mov byte [ebp - 0x7d6], al
test al, al
jne 0x425b37
cmp byte [ebp - 0x35c], al
jne 0x425c40
lea eax, [ebp - 0x7bc]
push eax
lea ecx, [ebp - 0x888]
call fcn.00426e97
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x425b55
mov eax, dword [eax]
lea ecx, [ebp - 0x154]
push ecx
push 0x40
lea ecx, [ebp - 0x50]
push ecx
push str.not_exist
push str.Name
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x7bc]
push ebx
push 1
call fcn.004017ef
lea eax, [ebp - 0x7d4]
push eax
lea ecx, [ebp - 0x888]
call fcn.00426e97
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x425ba2
mov eax, dword [eax]
lea ecx, [ebp - 0x154]
push ecx
push 0x400
lea ecx, [ebp - 0x75c]
push ecx
push 0x46a96c
push str.IsRelative
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x7d4]
push ebx
push 1
call fcn.004017ef
lea eax, [ebp - 0x75c]
push eax
call fcn.004440cb
test eax, eax
lea eax, [ebp - 0x78c]
pop ecx
push eax
lea ecx, [ebp - 0x888]
setg byte [ebp - 0x7d5]
call fcn.00426e97
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x425c0b
mov eax, dword [eax]
lea ecx, [ebp - 0x154]
push ecx
push 0x104
lea ecx, [ebp - 0x35c]
push ecx
push 0x47d978
push str.Path
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x78c]
push ebx
push 1
call fcn.004017ef
push 0x47d978
lea ecx, [ebp - 0x774]
call fcn.004016e7
mov byte [ebp - 4], 5
lea eax, [ebp - 0x774]
push eax
lea ecx, [ebp - 0x870]
call fcn.00426d53
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x774]
push ebx
push 1
call fcn.004017ef
cmp byte [ebp - 0x7d6], 0
jne 0x425c8a
inc edi
cmp edi, 0xa
jl 0x425aa1
cmp byte [ebp - 0x35c], 0
je 0x425d0b
mov al, byte [ebp - 0x7d5]
mov edi, 0x480b34
test al, al
je 0x425cd4
push edi
mov ebx, 0x104
lea eax, [ebp - 0x258]
push ebx
push eax
call fcn.00445026
lea eax, [ebp - 0x35c]
push eax
lea eax, [ebp - 0x258]
push ebx
push eax
call fcn.00445026
add esp, 0x18
lea eax, [ebp - 0x258]
jmp 0x425cda
lea eax, [ebp - 0x35c]
push eax
push dword [ebp + 0xc]
push esi
call fcn.00443c38
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x425cec
sub ecx, edx
cmp byte [esi + ecx - 1], 0x5c
je 0x425d09
push edi
push dword [ebp + 0xc]
push esi
call fcn.00445026
add esp, 0xc
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x820]
call fcn.00422a6d
lea ecx, [ebp - 0x820]
call fcn.0042294a
mov al, bl
call fcn.004457fe
ret