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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3ec
push ebx
push esi
push edi
mov edx, ecx
push 0xb
mov esi, str.SOFTWARENetscapeNetscape_NavigatorUsers_
pop ecx
lea edi, [ebp - 0x1e4]
rep movsd dword es:[edi], dword [esi]
push 0x36
xor eax, eax
pop ecx
lea edi, [ebp - 0x1b8]
rep stosd dword es:[edi], eax
mov al, byte [0x434e70]
push 0x40
mov byte [ebp - 0x2e8], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x2e7]
rep stosd dword es:[edi], eax
cmp word [edx + 0x16], 0x32
mov dword [ebp - 0x18], edx
stosw word es:[edi], ax
stosb byte es:[edi], al
jae 0x41a0c0
lea eax, [ebp - 4]
xor ebx, ebx
push eax
lea eax, [ebp - 0x1e4]
push eax
push 0x80000002
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x41a011
lea ecx, [ebp - 8]
jmp 0x41a098
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x1e4]
push eax
call edi
mov esi, 0x104
mov ecx, esi
sub ecx, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1e4]
push eax
mov dword [ebp - 0x14], ecx
call edi
lea eax, [ebp + eax - 0x1e4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push ebx
push ebx
push str.CurrentUser
push dword [ebp - 0xc]
call edi
test eax, eax
jne 0x41a009
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1e4]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x41a009
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
push eax
lea eax, [ebp - 0x2e8]
push eax
push ebx
push ebx
push str.DirRoot
push dword [ebp - 8]
call edi
test eax, eax
lea ecx, [ebp - 8]
je 0x41a0aa
call fcn.0041b728
lea ecx, [ebp - 4]
call fcn.0041b728
jmp 0x41a362
call fcn.0041b728
cmp dword [ebp - 4], ebx
je 0x41a2f2
push dword [ebp - 4]
jmp 0x41a2ec
push 0x18
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x7b]
mov byte [ebp - 0x7c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
or dword [ebp - 0xc], 0xffffffff
push 0x104
stosb byte es:[edi], al
lea eax, [ebp - 0x3ec]
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x3ec]
push str._nsreg.dat
push eax
call esi
push ebx
push 0x80
push 3
push ebx
push 1
lea eax, [ebp - 0x3ec]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x41a12a
mov dword [ebp - 0xc], eax
push ebx
push ebx
push ebx
push 2
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebx
je 0x41a140
mov dword [ebp - 8], eax
push ebx
push ebx
push ebx
push 4
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
je 0x41a155
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
push str.SOFTWARENetscapeNetscape_Navigator_biff
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x41a19f
cmp dword [ebp - 0x10], ebx
je 0x41a17b
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp dword [ebp - 8], ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x41a18b
push dword [ebp - 8]
call edi
cmp dword [ebp - 0xc], 0xffffffff
je 0x41a291
push dword [ebp - 0xc]
call edi
jmp 0x41a291
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x64
push eax
lea eax, [ebp - 0xe0]
push eax
push ebx
push ebx
push str.CurrentUser
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41a16d
cmp byte [ebp - 0xe0], bl
lea edi, [ebp - 0xe0]
je 0x41a1fa
cmp byte [edi], 0x20
jne 0x41a1e5
lea eax, [ebp - 0x7c]
push 0x431b44
push eax
call esi
jmp 0x41a1f5
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov cl, byte [edi]
mov byte [ebp + eax - 0x7c], cl
inc edi
cmp byte [edi], bl
jne 0x41a1d3
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push str.ProfileManager
add edi, dword [ebp - 0x10]
push edi
push dword [ebp - 0x10]
call fcn.0041984c
add esp, 0xc
cmp eax, ebx
mov esi, str.ProfileLocation
je 0x41a257
lea ecx, [ebp - 0x7c]
push ecx
push edi
push eax
call fcn.0041984c
add esp, 0xc
cmp eax, ebx
je 0x41a257
lea ecx, [ebp - 0x7c]
inc eax
push ecx
push edi
push eax
call fcn.0041984c
add esp, 0xc
cmp eax, ebx
je 0x41a257
push esi
push edi
push eax
call fcn.0041984c
add esp, 0xc
cmp eax, ebx
jne 0x41a2a8
push esi
push edi
push dword [ebp - 0x10]
call fcn.0041984c
add esp, 0xc
cmp eax, ebx
jne 0x41a2a8
cmp dword [ebp - 0x10], ebx
je 0x41a276
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp dword [ebp - 8], ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x41a286
push dword [ebp - 8]
call esi
cmp dword [ebp - 0xc], 0xffffffff
je 0x41a291
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 4], ebx
je 0x41a362
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41a362
add eax, 0x10
push eax
lea eax, [ebp - 0x2e8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [ebp - 0x10], ebx
je 0x41a2c7
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp dword [ebp - 8], ebx
je 0x41a2d5
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xc], 0xffffffff
je 0x41a2e4
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], ebx
je 0x41a2f2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x2e8]
push str.prefs.js
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebx
push 0x80
push 3
push ebx
push 1
lea eax, [ebp - 0x2e8]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x41a362
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebp - 4], eax
call fcn.0041d7f8
pop ecx
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push ebx
push ecx
mov dword [esi + 0x10], eax
push dword [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41a35b
mov ecx, esi
call fcn.0041a62e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret