Function at 0x42f1c1
Capabilities:
Get common file path
Get file size
Query or enumerate registry value
Read file on windows
Read file via mapping

Disassembly:
push 0x3f8
mov eax, 0x550c68
call fcn.005348fe
push 0xb
mov dword [ebp - 0x404], ecx
pop ecx
push 0xd8
xor ebx, ebx
lea eax, [ebp - 0x1b0]
push ebx
mov esi, str.SOFTWARENetscapeNetscape_NavigatorUsers_
lea edi, [ebp - 0x1dc]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00534390
push 0x103
lea eax, [ebp - 0x2df]
push ebx
push eax
mov byte [ebp - 0x2e0], bl
call fcn.00534390
mov eax, dword [ebp - 0x404]
add esp, 0x18
cmp word [eax + 0x16], 0x32
jae 0x42f327
lea eax, [ebp - 0x3e8]
push eax
lea eax, [ebp - 0x1dc]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x3e8], ebx
mov dword [ebp - 0x3ec], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x42f26a
lea ecx, [ebp - 0x3ec]
call fcn.0042eb3b
lea ecx, [ebp - 0x3e8]
call fcn.0042eb3b
jmp 0x42f604
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x1dc]
push eax
call esi
mov edi, 0x104
mov ecx, edi
sub ecx, eax
mov eax, dword [ebp - 0x3e8]
mov dword [ebp - 0x400], eax
lea eax, [ebp - 0x3f8]
push eax
lea eax, [ebp - 0x1dc]
push eax
mov dword [ebp - 0x3f8], ecx
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp + eax - 0x1dc]
push eax
push ebx
push ebx
push str.CurrentUser
push dword [ebp - 0x400]
call esi
test eax, eax
jne 0x42f24f
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x1dc]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x42f24f
lea eax, [ebp - 0x3f8]
push eax
lea eax, [ebp - 0x2e0]
push eax
push ebx
push ebx
push str.DirRoot
push dword [ebp - 0x3ec]
mov dword [ebp - 0x3f8], edi
call esi
lea ecx, [ebp - 0x3ec]
test eax, eax
jne 0x42f255
call fcn.0042eb3b
lea ecx, [ebp - 0x3e8]
jmp 0x42f569
push 0x63
lea eax, [ebp - 0x73]
push ebx
push eax
mov dword [ebp - 0x3f0], ebx
mov byte [ebp - 0x74], bl
call fcn.00534390
or dword [ebp - 0x3ec], 0xffffffff
add esp, 0xc
push 0x104
lea eax, [ebp - 0x3e4]
push eax
mov dword [ebp - 0x3f4], ebx
mov dword [ebp - 0x3e8], ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str._nsreg.dat
lea eax, [ebp - 0x3e4]
push eax
call edi
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
lea eax, [ebp - 0x3e4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x42f3ad
lea ecx, [ebp - 0x3ec]
call fcn.0042deab
mov dword [ebp - 0x3ec], esi
push ebx
push ebx
push ebx
push 2
push ebx
push dword [ebp - 0x3ec]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov esi, eax
cmp esi, ebx
je 0x42f3d6
lea ecx, [ebp - 0x3f4]
call fcn.00411f60
mov dword [ebp - 0x3f4], esi
push ebx
push ebx
push ebx
push 4
push dword [ebp - 0x3f4]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
cmp esi, ebx
je 0x42f3fe
lea ecx, [ebp - 0x3e8]
call fcn.0042eb55
mov dword [ebp - 0x3e8], esi
lea eax, [ebp - 0x3f0]
push eax
push str.SOFTWARENetscapeNetscape_Navigator_biff
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x42f445
lea ecx, [ebp - 0x3e8]
call fcn.0042eb55
lea ecx, [ebp - 0x3f4]
call fcn.00411f60
lea ecx, [ebp - 0x3ec]
call fcn.0042deab
lea ecx, [ebp - 0x3f0]
jmp 0x42f260
lea eax, [ebp - 0x3f8]
push eax
lea eax, [ebp - 0xd8]
push eax
push ebx
push ebx
push str.CurrentUser
push dword [ebp - 0x3f0]
mov dword [ebp - 0x3f8], 0x64
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42f419
lea esi, [ebp - 0xd8]
cmp byte [ebp - 0xd8], bl
je 0x42f4a6
cmp byte [esi], 0x20
lea eax, [ebp - 0x74]
jne 0x42f494
push 0x564268
push eax
call edi
jmp 0x42f4a1
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov cl, byte [esi]
mov byte [ebp + eax - 0x74], cl
inc esi
cmp byte [esi], bl
jne 0x42f482
mov edi, dword [ebp - 0x3e8]
push ebx
push dword [ebp - 0x3ec]
mov dword [ebp - 0x400], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea esi, [edi + eax]
mov edi, str.ProfileLocation
push edi
push esi
push dword [ebp - 0x3e8]
call fcn.0042d97b
add esp, 0xc
mov dword [ebp - 0x3fc], eax
cmp eax, ebx
je 0x42f419
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x3fc]
push dword [ebp - 0x400]
call fcn.0042d97b
add esp, 0xc
test eax, eax
jne 0x42f523
mov eax, dword [ebp - 0x3fc]
push edi
inc eax
push esi
push eax
mov dword [ebp - 0x400], eax
call fcn.0042d97b
add esp, 0xc
mov dword [ebp - 0x3fc], eax
cmp eax, ebx
jne 0x42f4e5
mov eax, dword [ebp - 0x3fc]
cmp eax, ebx
je 0x42f419
add eax, 0x10
push eax
lea eax, [ebp - 0x2e0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x3e8]
call fcn.0042eb55
lea ecx, [ebp - 0x3f4]
call fcn.00411f60
lea ecx, [ebp - 0x3ec]
call fcn.0042deab
lea ecx, [ebp - 0x3f0]
call fcn.0042eb3b
push str.prefs.js
lea eax, [ebp - 0x2e0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
or dword [ebp - 0x3f0], 0xffffffff
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
lea eax, [ebp - 0x2e0]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [ebp - 0x3f0]
mov esi, eax
call fcn.0042deab
cmp esi, 0xffffffff
je 0x42f604
push ebx
push esi
mov dword [ebp - 0x3f0], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
call fcn.00430986
pop ecx
mov ecx, dword [ebp - 0x404]
push ebx
mov dword [ecx + 0x10], eax
lea ecx, [ebp - 0x3f8]
push ecx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42f5f9
mov ecx, dword [ebp - 0x404]
call fcn.0042e2eb
lea ecx, [ebp - 0x3f0]
call fcn.0042deab
call fcn.00534981
ret