Function at 0x10082550
Capabilities:
Check if file exists
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009f816
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x126c
call fcn.100974c0
mov eax, dword [0x100e6018]
xor eax, esp
mov dword [esp + 0x1268], eax
push ebx
push esi
push edi
mov eax, dword [0x100e6018]
xor eax, esp
push eax
lea eax, [esp + 0x1280]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
mov word [esp + 0x54], ax
lea eax, [esp + 0x56]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
xor eax, eax
push 0x40e
push eax
mov word [esp + 0x66c], ax
lea eax, [esp + 0x66e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [esp + 0x4c]
push eax
push 1
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x100825ee
or eax, 0xffffffff
jmp 0x1008285e
push str.MozillaFirefox
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x100825e6
push str.profiles.ini
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x66c]
push 0x100b30a0
push eax
call fcn.10083780
add esp, 0x10
lea eax, [esp + 0x664]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100825e6
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], ax
mov dword [esp + 0x1288], eax
push 0x206
push eax
mov dword [esp + 0x38], eax
mov word [esp + 0x464], ax
lea eax, [esp + 0x466]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0xa7c], ax
lea eax, [esp + 0xa7e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [esp + 0x664]
push eax
push 0x400
lea eax, [esp + 0xa7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
xor esi, esi
mov dword [esp + 0x14], eax
test eax, eax
je 0x10082848
mov edi, dword [sym.imp.MSVCR110.dll_swprintf_s]
mov ax, word [esp + esi*2 + 0xa74]
mov word [esp + 0x30], ax
test ax, ax
je 0x10082703
lea ecx, [esp + 0x30]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100826e0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x3c]
call fcn.10011f70
jmp 0x1008283d
cmp dword [esp + 0x44], 0
je 0x1008283d
push 0x208
lea eax, [esp + 0x460]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [esp + 0x48], 8
lea ecx, [esp + 0x664]
push ecx
push 0x104
lea ecx, [esp + 0x464]
push ecx
push 0x100b2814
lea eax, [esp + 0x44]
cmovae eax, dword [esp + 0x44]
push str.Path
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x1008282d
xor eax, eax
push 0x206
push eax
mov word [esp + 0x25c], ax
lea eax, [esp + 0x25e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [esp + 0x48], 8
lea ecx, [esp + 0x664]
push ecx
push 0
lea eax, [esp + 0x3c]
cmovae eax, dword [esp + 0x3c]
push str.IsRelative
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
lea eax, [esp + 0x45c]
push eax
je 0x100827cf
lea eax, [esp + 0x50]
push eax
push str._s_sextensions.sqlite
lea eax, [esp + 0x260]
push 0x104
push eax
call edi
add esp, 0x14
jmp 0x100827e6
push str._sextensions.sqlite
lea eax, [esp + 0x25c]
push 0x104
push eax
call edi
add esp, 0x10
lea eax, [esp + 0x254]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1008282d
lea eax, [esp + 0x254]
push eax
lea ecx, [esp + 0x1c]
call fcn.10008550
lea ecx, [esp + 0x18]
mov byte [esp + 0x1288], 1
call fcn.100823f0
lea ecx, [esp + 0x18]
add ebx, eax
mov byte [esp + 0x1288], 0
call sym.iImportLib.dll_public:_void___thiscall_elex::strings::CAnalyzeCmdline::destructor_void_
push 0
push 0x100b2814
lea ecx, [esp + 0x3c]
call fcn.100089b0
inc esi
cmp esi, dword [esp + 0x14]
jb 0x100826c0
cmp dword [esp + 0x48], 8
jb 0x1008285c
push dword [esp + 0x34]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x1280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1268]
xor ecx, esp
call fcn.100947be
mov esp, ebp
pop ebp
ret