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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x79c
push ebx
push esi
lea eax, [ebp - 0x14]
push edi
push eax
lea eax, [ebp - 0x698]
push eax
mov edi, 0x80000000
mov esi, 0x104
push str..htm
mov dword [ebp - 0x18], ecx
push edi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x453a86
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x698]
push str._shellopencommand
push eax
call ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
push eax
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x698]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x453a86
lea eax, [ebp - 0x184]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x184]
push eax
call dword [sym.imp.USER32.dll_CharLowerBuffA]
lea eax, [ebp - 0x184]
push str.netscape.exe
push eax
call fcn.00458bf0
pop ecx
test eax, eax
pop ecx
je 0x4537da
cmp byte [ebp - 0x184], 0x22
lea ecx, [ebp - 0x184]
jne 0x453788
lea ecx, [ebp - 0x183]
sub eax, ecx
add eax, 0xd
push eax
lea eax, [ebp - 0x38c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea ecx, [ebp - 0x64]
call fcn.00417a78
lea eax, [ebp - 0x38c]
lea ecx, [ebp - 0x64]
push eax
call fcn.00455011
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x18]
mov edx, ecx
mov dword [ebp - 0x64], 0x469d3c
shr edx, 0x10
mov word [eax + 0x16], cx
lea ecx, [ebp - 0x64]
mov word [eax + 0x14], dx
call fcn.00417ae0
jmp 0x453a82
lea eax, [ebp - 0x184]
push str.netscp6.exe
push eax
call fcn.00458bf0
pop ecx
test eax, eax
pop ecx
je 0x453a86
cmp byte [ebp - 0x184], 0x22
lea ecx, [ebp - 0x184]
jne 0x45380a
lea ecx, [ebp - 0x183]
sub eax, ecx
add eax, 0xc
push eax
lea eax, [ebp - 0x79c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
mov word [eax + 0x14], 6
lea eax, [ebp - 0x38c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x38c]
push str.mozver.dat
push eax
call ebx
push 0
push 0x80
push 3
push 0
push 1
lea eax, [ebp - 0x38c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x453872
mov dword [ebp - 4], eax
xor edi, edi
push edi
push edi
push edi
push 2
push edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, edi
je 0x45388a
mov dword [ebp - 0xc], eax
push edi
push edi
push edi
push 4
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
je 0x45389f
mov dword [ebp - 8], eax
push edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push str.PackageName
add edi, dword [ebp - 8]
push edi
mov dword [ebp - 0x10], edi
push dword [ebp - 8]
call fcn.00453683
add esp, 0xc
test eax, eax
je 0x453a57
push str.Browser
push edi
push eax
call fcn.00453683
add esp, 0xc
test eax, eax
je 0x453a57
push str.Version
push edi
push eax
call fcn.00453683
mov edx, eax
add esp, 0xc
test edx, edx
mov dword [ebp - 0x1c], edx
je 0x453a57
and byte [ebp - 0x80], 0
push 0x18
pop ecx
xor eax, eax
lea edi, [ebp - 0x7f]
add edx, 8
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x80]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.Path
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
call fcn.00453683
mov edx, eax
add esp, 0xc
test edx, edx
je 0x453a57
and byte [ebp - 0x288], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x287]
add edx, 5
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x288]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x288]
push str.netscp6.exe
push eax
call ebx
and byte [ebp - 0x490], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x48f]
and byte [ebp - 0x594], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x593]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea eax, [ebp - 0x490]
push esi
push eax
lea eax, [ebp - 0x79c]
push eax
call edi
lea eax, [ebp - 0x594]
push esi
push eax
lea eax, [ebp - 0x288]
push eax
call edi
lea eax, [ebp - 0x594]
push eax
lea eax, [ebp - 0x490]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x453a57
mov cl, byte [ebp - 0x80]
push 1
xor edi, edi
pop esi
lea eax, [ebp - 0x80]
mov dword [ebp - 0x10], edi
mov edx, esi
mov bl, 0x2e
test cl, cl
je 0x4539fd
cmp cl, bl
je 0x4539fd
mov cl, byte [eax + 1]
inc eax
jmp 0x4539ef
mov cl, byte [eax + 1]
inc eax
test cl, cl
je 0x453a09
cmp cl, bl
jne 0x4539fd
mov cl, byte [eax - 1]
dec eax
cmp cl, bl
je 0x453a23
movsx ecx, cl
sub ecx, 0x30
imul ecx, edx
lea edx, [edx + edx*4]
add edi, ecx
shl edx, 1
jmp 0x453a09
mov cl, byte [eax - 1]
dec eax
cmp cl, byte [ebp - 0x80]
je 0x453a3f
movsx ecx, cl
sub ecx, 0x30
imul ecx, esi
add dword [ebp - 0x10], ecx
lea esi, [esi + esi*4]
shl esi, 1
jmp 0x453a23
movsx cx, byte [eax]
sub ecx, 0x30
mov eax, dword [ebp - 0x18]
imul ecx, esi
add ecx, dword [ebp - 0x10]
mov word [eax + 0x16], di
mov word [eax + 0x14], cx
cmp dword [ebp - 8], 0
je 0x453a66
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp dword [ebp - 0xc], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x453a77
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 4], 0xffffffff
je 0x453a82
push dword [ebp - 4]
call esi
xor eax, eax
jmp 0x453a89
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret