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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c826b
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x100eb6ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x118]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea eax, [ebp - 0x118]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10025060
mov ecx, dword [str.MozillaFirefox_]
mov edx, dword [0x100cf0f4]
mov dword [eax], ecx
mov ecx, dword [0x100cf0f8]
mov dword [eax + 4], edx
mov edx, dword [0x100cf0fc]
mov dword [eax + 8], ecx
mov cx, word [0x100cf100]
mov dword [eax + 0xc], edx
mov word [eax + 0x10], cx
lea eax, [ebp - 0x118]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100250a0
sub eax, edx
lea edi, [ebp + eax - 0x118]
lea eax, [ebp - 0x118]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x100250b7
mov edx, dword [str.profiles.ini]
mov ecx, dword [0x100cf108]
mov dword [eax], edx
mov edx, dword [0x100cf10c]
mov dword [eax + 4], ecx
mov cl, byte [0x100cf110]
mov dword [eax + 8], edx
lea edx, [ebp - 0x118]
push edx
push 0x104
mov byte [eax + 0xc], cl
lea eax, [ebp - 0x220]
push eax
push 0x100cdc9d
push str.Path
push str.Profile0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x220], 0
je 0x100251b2
lea eax, [ebp - 0x220]
mov edx, edi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10025123
lea eax, [edi - 1]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10025130
mov edx, dword [str.extensions.sqlite]
mov ecx, dword [0x100cf12c]
mov dword [eax], edx
mov edx, dword [0x100cf130]
mov dword [eax + 4], ecx
mov ecx, dword [0x100cf134]
mov dword [eax + 8], edx
mov dx, word [0x100cf138]
mov dword [eax + 0xc], ecx
mov cl, byte [0x100cf13a]
mov word [eax + 0x10], dx
lea edx, [ebp - 0x244]
mov byte [eax + 0x12], cl
push edx
lea eax, [ebp - 0x118]
push eax
call fcn.1002bae0
add esp, 8
test eax, eax
jne 0x100251b2
mov edi, dword [ebp - 0x244]
lea ecx, [ebp - 0x240]
push ecx
push str.select_id_userDisabled_from_addon
xor edx, edx
mov ecx, edi
call fcn.1002c780
add esp, 8
test eax, eax
je 0x100251b9
mov eax, edi
call fcn.1002b240
xor al, al
jmp 0x100252da
mov esi, dword [ebp - 0x240]
push esi
call fcn.1002cd80
add esp, 4
cmp eax, 0x64
jne 0x100252cc
xor eax, eax
mov edi, esi
call fcn.1002d030
mov ebx, eax
call fcn.1002cf90
mov dword [ebp - 0x240], eax
xor edi, edi
mov eax, ebx
mov dword [ebp - 0x228], 0xf
mov dword [ebp - 0x22c], edi
mov byte [ebp - 0x23c], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10025205
sub eax, edx
push eax
push ebx
lea ecx, [ebp - 0x23c]
call fcn.100191b0
mov dword [ebp - 4], edi
mov edi, dword [0x100f0eb0]
cmp edi, dword [0x100f0eb4]
je 0x10025251
lea esp, [esp]
mov ebx, dword [edi]
lea edx, [ebp - 0x23c]
add ebx, 0x14
push edx
call fcn.100236d0
cmp eax, 0xffffffff
jne 0x100252a9
add edi, 4
cmp edi, dword [0x100f0eb4]
jne 0x10025230
xor edi, edi
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x228], 0x10
jb 0x10025272
mov eax, dword [ebp - 0x23c]
push eax
call fcn.1009c0c0
add esp, 4
mov dword [ebp - 0x228], 0xf
mov dword [ebp - 0x22c], 0
mov byte [ebp - 0x23c], 0
test edi, edi
je 0x100252b4
cmp dword [ebp - 0x240], 0
je 0x100252ad
mov eax, 1
cmp dword [edi + 0x60], eax
jle 0x100252b4
mov dword [edi + 0x60], eax
jmp 0x100252b4
mov edi, dword [edi]
jmp 0x10025253
mov dword [edi + 0x60], 2
push esi
call fcn.1002cd80
add esp, 4
cmp eax, 0x64
je 0x100251d1
mov edi, dword [ebp - 0x244]
call fcn.1002be30
mov eax, edi
call fcn.1002b240
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009c0cb
mov esp, ebp
pop ebp
ret