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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7d6b
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 0x41c3d0
mov ecx, dword [str.MozillaFirefox_]
mov edx, dword [0x4cdd3c]
mov dword [eax], ecx
mov ecx, dword [0x4cdd40]
mov dword [eax + 4], edx
mov edx, dword [0x4cdd44]
mov dword [eax + 8], ecx
mov cx, word [0x4cdd48]
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 0x41c410
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 0x41c427
mov edx, dword [str.profiles.ini]
mov ecx, dword [0x4cdd50]
mov dword [eax], edx
mov edx, dword [0x4cdd54]
mov dword [eax + 4], ecx
mov cl, byte [0x4cdd58]
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 0x4ccc6a
push str.Path
push str.Profile0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x220], 0
je 0x41c522
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 0x41c493
lea eax, [edi - 1]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x41c4a0
mov edx, dword [str.extensions.sqlite]
mov ecx, dword [0x4cdd74]
mov dword [eax], edx
mov edx, dword [0x4cdd78]
mov dword [eax + 4], ecx
mov ecx, dword [0x4cdd7c]
mov dword [eax + 8], edx
mov dx, word [0x4cdd80]
mov dword [eax + 0xc], ecx
mov cl, byte [0x4cdd82]
mov word [eax + 0x10], dx
lea edx, [ebp - 0x244]
mov byte [eax + 0x12], cl
push edx
lea eax, [ebp - 0x118]
push eax
call fcn.00423b20
add esp, 8
test eax, eax
jne 0x41c522
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.004247c0
add esp, 8
test eax, eax
je 0x41c529
mov eax, edi
call fcn.00423280
xor al, al
jmp 0x41c64a
mov esi, dword [ebp - 0x240]
push esi
call fcn.00424dc0
add esp, 4
cmp eax, 0x64
jne 0x41c63c
xor eax, eax
mov edi, esi
call fcn.00425060
mov ebx, eax
call fcn.00424fc0
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 0x41c575
sub eax, edx
push eax
push ebx
lea ecx, [ebp - 0x23c]
call fcn.004159b0
mov dword [ebp - 4], edi
mov edi, dword [0x4f0adc]
cmp edi, dword [0x4f0ae0]
je 0x41c5c1
lea esp, [esp]
mov ebx, dword [edi]
lea edx, [ebp - 0x23c]
add ebx, 0x14
push edx
call fcn.0041a990
cmp eax, 0xffffffff
jne 0x41c619
add edi, 4
cmp edi, dword [0x4f0ae0]
jne 0x41c5a0
xor edi, edi
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x228], 0x10
jb 0x41c5e2
mov eax, dword [ebp - 0x23c]
push eax
call fcn.0049b30a
add esp, 4
mov dword [ebp - 0x228], 0xf
mov dword [ebp - 0x22c], 0
mov byte [ebp - 0x23c], 0
test edi, edi
je 0x41c624
cmp dword [ebp - 0x240], 0
je 0x41c61d
mov eax, 1
cmp dword [edi + 0x60], eax
jle 0x41c624
mov dword [edi + 0x60], eax
jmp 0x41c624
mov edi, dword [edi]
jmp 0x41c5c3
mov dword [edi + 0x60], 2
push esi
call fcn.00424dc0
add esp, 4
cmp eax, 0x64
je 0x41c541
mov edi, dword [ebp - 0x244]
call fcn.00423e70
mov eax, edi
call fcn.00423280
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.0049b315
mov esp, ebp
pop ebp
ret