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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c89bb
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x4eb6b8]
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 0x424fa0
mov ecx, dword [str.MozillaFirefox_]
mov edx, dword [0x4cf11c]
mov dword [eax], ecx
mov ecx, dword [0x4cf120]
mov dword [eax + 4], edx
mov edx, dword [0x4cf124]
mov dword [eax + 8], ecx
mov cx, word [0x4cf128]
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 0x424fe0
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 0x424ff7
mov edx, dword [str.profiles.ini]
mov ecx, dword [0x4cf130]
mov dword [eax], edx
mov edx, dword [0x4cf134]
mov dword [eax + 4], ecx
mov cl, byte [0x4cf138]
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 0x4cdc18
push str.Path
push str.Profile0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x220], 0
je 0x4250f2
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 0x425063
lea eax, [edi - 1]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x425070
mov edx, dword [str.extensions.sqlite]
mov ecx, dword [0x4cf154]
mov dword [eax], edx
mov edx, dword [0x4cf158]
mov dword [eax + 4], ecx
mov ecx, dword [0x4cf15c]
mov dword [eax + 8], edx
mov dx, word [0x4cf160]
mov dword [eax + 0xc], ecx
mov cl, byte [0x4cf162]
mov word [eax + 0x10], dx
lea edx, [ebp - 0x244]
mov byte [eax + 0x12], cl
push edx
lea eax, [ebp - 0x118]
push eax
call fcn.0042b710
add esp, 8
test eax, eax
jne 0x4250f2
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.0042c3b0
add esp, 8
test eax, eax
je 0x4250f9
mov eax, edi
call fcn.0042ae70
xor al, al
jmp 0x42521a
mov esi, dword [ebp - 0x240]
push esi
call fcn.0042c9b0
add esp, 4
cmp eax, 0x64
jne 0x42520c
xor eax, eax
mov edi, esi
call fcn.0042cc50
mov ebx, eax
call fcn.0042cbb0
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 0x425145
sub eax, edx
push eax
push ebx
lea ecx, [ebp - 0x23c]
call fcn.004190e0
mov dword [ebp - 4], edi
mov edi, dword [0x4f0cc0]
cmp edi, dword [0x4f0cc4]
je 0x425191
lea esp, [esp]
mov ebx, dword [edi]
lea edx, [ebp - 0x23c]
add ebx, 0x14
push edx
call fcn.00423600
cmp eax, 0xffffffff
jne 0x4251e9
add edi, 4
cmp edi, dword [0x4f0cc4]
jne 0x425170
xor edi, edi
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x228], 0x10
jb 0x4251b2
mov eax, dword [ebp - 0x23c]
push eax
call fcn.0049ca60
add esp, 4
mov dword [ebp - 0x228], 0xf
mov dword [ebp - 0x22c], 0
mov byte [ebp - 0x23c], 0
test edi, edi
je 0x4251f4
cmp dword [ebp - 0x240], 0
je 0x4251ed
mov eax, 1
cmp dword [edi + 0x60], eax
jle 0x4251f4
mov dword [edi + 0x60], eax
jmp 0x4251f4
mov edi, dword [edi]
jmp 0x425193
mov dword [edi + 0x60], 2
push esi
call fcn.0042c9b0
add esp, 4
cmp eax, 0x64
je 0x425111
mov edi, dword [ebp - 0x244]
call fcn.0042ba60
mov eax, edi
call fcn.0042ae70
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.0049ca6b
mov esp, ebp
pop ebp
ret