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

Disassembly:
push 0x3b4
mov eax, 0x490d20
call fcn.00474ec1
xor ebx, ebx
mov edi, ecx
mov esi, edx
mov dword [ebp - 0x30c], ebx
mov dword [ebp - 0x2fc], edi
mov dword [ebp - 0x308], esi
cmp dword [0x4bfb94], ebx
je 0x4141ed
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x300], esp
push str.GetFFIncumbentDSProvider_in
call fcn.00409f78
mov ecx, 0x4bfcf0
call fcn.004437f6
push 0x49bf38
lea ecx, [ebp - 0x250]
call fcn.0040a4c4
push ebx
push 0x1a
lea eax, [ebp - 0x218]
push eax
push ebx
mov dword [ebp - 4], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x414244
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
lea eax, [ebp - 0x250]
push eax
mov ecx, edi
call fcn.0040a4f5
push ebx
push 1
lea ecx, [ebp - 0x250]
call fcn.0040bba0
mov eax, edi
jmp 0x414631
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x26c]
mov dword [esi], 2
call fcn.0040a4c4
lea ecx, [ebp - 0x2a4]
push str.MozillaFirefox
push ecx
mov esi, eax
mov byte [ebp - 4], 2
call fcn.00418f59
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 4
call fcn.0040bba0
lea eax, [ebp - 0x234]
push str.profiles.ini
push eax
lea edi, [ebp - 0x2a4]
call fcn.0040fa7f
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 5
call fcn.0045772c
add esp, 0xc
test al, al
jne 0x4142eb
mov ecx, dword [ebp - 0x2fc]
lea eax, [ebp - 0x250]
push eax
call fcn.0040a4f5
push ebx
push 1
lea ecx, [ebp - 0x234]
call fcn.0040bba0
push ebx
push 1
lea ecx, [ebp - 0x2a4]
call fcn.0040bba0
push ebx
push 1
jmp 0x414620
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x414300
lea eax, [ebp - 0x234]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x49bf38
push str.Path
push str.Profile0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, ebx
jle 0x4142b5
push str.prefs.js
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x300], esp
mov edi, 0x49c6b8
push edi
call fcn.0040a4c4
sub esp, 0x1c
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x310], esp
push 0x49d64c
call fcn.0040a4c4
sub esp, 0x1c
lea eax, [ebp - 0x218]
mov ecx, esp
mov dword [ebp - 0x304], esp
push eax
mov byte [ebp - 4], 7
call fcn.0040a4c4
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 5
call fcn.00456d94
mov esi, eax
push edi
lea eax, [ebp - 0x2dc]
push eax
lea edi, [ebp - 0x2a4]
mov byte [ebp - 4], 8
call fcn.0040fa7f
add esp, 0x60
mov ecx, eax
mov eax, esi
lea edi, [ebp - 0x2f8]
mov byte [ebp - 4], 9
call fcn.00418f84
lea ecx, [ebp - 0x26c]
push ecx
mov esi, eax
mov byte [ebp - 4], 0xa
call fcn.00418f59
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0xb
call fcn.0040ba5a
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x26c]
call fcn.0040bba0
push ebx
push edi
lea ecx, [ebp - 0x2f8]
call fcn.0040bba0
push ebx
push edi
lea ecx, [ebp - 0x2dc]
call fcn.0040bba0
push ebx
push edi
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 5
call fcn.0040bba0
lea eax, [ebp - 0x234]
push eax
call fcn.0045772c
pop ecx
test al, al
jne 0x41443b
mov ecx, dword [ebp - 0x2fc]
lea eax, [ebp - 0x250]
push eax
call fcn.0040a4f5
jmp 0x414604
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x414450
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x3c0]
push eax
call fcn.004175ea
mov dword [ebp - 0x274], 0xf
mov dword [ebp - 0x278], ebx
mov byte [ebp - 0x288], bl
mov byte [ebp - 4], 0xd
jmp 0x4144d1
cmp dword [ebp - 0x278], ebx
je 0x4144d1
push str.user_pref__keyword.URL____
lea ecx, [ebp - 0x26c]
call fcn.00409f78
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x258], 0x10
mov eax, dword [ebp - 0x26c]
jae 0x4144aa
lea eax, [ebp - 0x26c]
push dword [ebp - 0x25c]
push eax
lea eax, [ebp - 0x288]
call fcn.004181be
cmp eax, ebx
jge 0x414506
push ebx
push edi
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0xd
call fcn.00401524
lea eax, [ebp - 0x288]
push eax
lea esi, [ebp - 0x3c0]
call fcn.00418fcd
pop ecx
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
and al, 6
movsx eax, al
neg eax
sbb eax, eax
not eax
test ecx, eax
jne 0x414479
jmp 0x4145c1
push 0xffffffffffffffff
mov ecx, 0xfde9
push ecx
push ecx
mov ecx, dword [ebp - 0x25c]
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x304], esp
push 0x3e8
add ecx, eax
push ecx
lea eax, [ebp - 0x288]
push eax
call fcn.004170c6
lea eax, [ebp - 0x2c0]
push eax
call fcn.00456b26
add esp, 0x2c
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0xf
call fcn.0040ba5a
push ebx
push edi
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 0xe
call fcn.0040bba0
mov esi, 0x49d9e4
push esi
call fcn.0046faa4
pop ecx
push eax
push esi
xor eax, eax
lea ecx, [ebp - 0x234]
call fcn.0041835a
cmp eax, ebx
jle 0x4145b0
push eax
push ebx
lea eax, [ebp - 0x234]
push eax
lea esi, [ebp - 0x2c0]
call fcn.0040a5d3
push eax
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0x10
call fcn.0040ba5a
push ebx
push edi
mov ecx, esi
call fcn.0040bba0
push ebx
push edi
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0xd
call fcn.00401524
lea esi, [ebp - 0x3c0]
call fcn.004176ba
mov eax, dword [ebp - 0x308]
mov ecx, dword [ebp - 0x2fc]
mov dword [eax], ebx
lea eax, [ebp - 0x250]
push eax
call fcn.0040a4f5
push ebx
push edi
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x30c], edi
call fcn.00401524
mov eax, esi
mov byte [ebp - 4], 5
call fcn.00414637
push ebx
push edi
lea ecx, [ebp - 0x234]
call fcn.0040bba0
push ebx
push edi
lea ecx, [ebp - 0x2a4]
call fcn.0040bba0
push ebx
push edi
lea ecx, [ebp - 0x250]
call fcn.0040bba0
mov eax, dword [ebp - 0x2fc]
call fcn.00474f44
ret