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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e2dfb
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x1010e07c]
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 0x10009ef0
mov ecx, dword [str.MozillaFirefox_]
mov edx, dword [0x100eaea4]
mov dword [eax], ecx
mov ecx, dword [0x100eaea8]
mov dword [eax + 4], edx
mov edx, dword [0x100eaeac]
mov dword [eax + 8], ecx
mov cx, word [0x100eaeb0]
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 0x10009f30
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 0x10009f47
mov edx, dword [str.profiles.ini]
mov ecx, dword [0x100eaeb8]
mov dword [eax], edx
mov edx, dword [0x100eaebc]
mov dword [eax + 4], ecx
mov cl, byte [0x100eaec0]
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 0x100eac18
push str.Path
push str.Profile0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x220], 0
je 0x1000a042
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 0x10009fb3
lea eax, [edi - 1]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10009fc0
mov edx, dword [str.extensions.sqlite]
mov ecx, dword [0x100eaedc]
mov dword [eax], edx
mov edx, dword [0x100eaee0]
mov dword [eax + 4], ecx
mov ecx, dword [0x100eaee4]
mov dword [eax + 8], edx
mov dx, word [0x100eaee8]
mov dword [eax + 0xc], ecx
mov cl, byte [0x100eaeea]
mov word [eax + 0x10], dx
lea edx, [ebp - 0x244]
mov byte [eax + 0x12], cl
push edx
lea eax, [ebp - 0x118]
push eax
call fcn.10018060
add esp, 8
test eax, eax
jne 0x1000a042
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.10018d20
add esp, 8
test eax, eax
je 0x1000a049
mov eax, edi
call fcn.100177c0
xor al, al
jmp 0x1000a16a
mov esi, dword [ebp - 0x240]
push esi
call fcn.10019320
add esp, 4
cmp eax, 0x64
jne 0x1000a15c
xor eax, eax
mov edi, esi
call fcn.100195c0
mov ebx, eax
call fcn.10019520
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 0x1000a095
sub eax, edx
push eax
push ebx
lea ecx, [ebp - 0x23c]
call fcn.100065d0
mov dword [ebp - 4], edi
mov edi, dword [0x101135a0]
cmp edi, dword [0x101135a4]
je 0x1000a0e1
lea esp, [esp]
mov ebx, dword [edi]
lea edx, [ebp - 0x23c]
add ebx, 0x14
push edx
call fcn.10008080
cmp eax, 0xffffffff
jne 0x1000a139
add edi, 4
cmp edi, dword [0x101135a4]
jne 0x1000a0c0
xor edi, edi
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x228], 0x10
jb 0x1000a102
mov eax, dword [ebp - 0x23c]
push eax
call fcn.100b2678
add esp, 4
mov dword [ebp - 0x228], 0xf
mov dword [ebp - 0x22c], 0
mov byte [ebp - 0x23c], 0
test edi, edi
je 0x1000a144
cmp dword [ebp - 0x240], 0
je 0x1000a13d
mov eax, 1
cmp dword [edi + 0x60], eax
jle 0x1000a144
mov dword [edi + 0x60], eax
jmp 0x1000a144
mov edi, dword [edi]
jmp 0x1000a0e3
mov dword [edi + 0x60], 2
push esi
call fcn.10019320
add esp, 4
cmp eax, 0x64
je 0x1000a061
mov edi, dword [ebp - 0x244]
call fcn.100183b0
mov eax, edi
call fcn.100177c0
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.100b2b2c
mov esp, ebp
pop ebp
ret