Function at 0x413c37
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
xor esi, esi
push edi
cmp word [ebp + 8], si
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x413e21
lea eax, [ebp - 4]
mov ebx, Ordinal_3
push eax
push 0x20019
push esi
push str.SoftwareNetscapeNetscape_NavigatorSuffixes
push ebx
mov dword [ebp - 0xc], 0x80
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x413f52
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x90]
push eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov dword [ebp - 8], eax
call edi
cmp dword [ebp - 8], esi
jne 0x413f9d
push dword [ebp + 0x10]
lea eax, [ebp - 0x90]
push eax
call fcn.0044c190
pop ecx
test eax, eax
pop ecx
jne 0x413f9d
lea eax, [ebp - 4]
push eax
push 0x20019
push esi
push str.SoftwareNetscapeNetscape_NavigatorViewers
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x413f52
lea eax, [ebp - 0xc]
mov dword [ebp + 0x10], esi
push eax
lea eax, [ebp - 0x90]
push eax
push esi
push esi
mov dword [ebp - 0xc], 0x80
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp byte [ebp - 0x90], 0x22
jne 0x413d1d
cmp dword [ebp - 0xc], 2
jbe 0x413d1d
sub dword [ebp - 0xc], 2
mov dword [ebp + 0x10], 1
cmp eax, esi
jne 0x413e17
push dword [ebp + 0x14]
call fcn.0044c220
cmp eax, dword [ebp - 0xc]
pop ecx
jae 0x413d3e
push dword [ebp + 0x14]
call fcn.0044c220
pop ecx
jmp 0x413d41
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 0x10]
push dword [ebp + 0x14]
lea eax, [ebp + eax - 0x90]
push eax
call fcn.005e7d10
add esp, 0xc
test eax, eax
jne 0x413e17
mov dword [ebp - 8], esi
mov dword [ebp + 0x10], 1
cmp dword [ebp + 0x10], 0x64
jge 0x413df4
push dword [ebp + 0x10]
lea eax, [ebp - 0x90]
push str.TYPE_d
push eax
call fcn.0044d095
add esp, 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x80
push eax
lea eax, [ebp - 0x110]
push eax
push esi
lea eax, [ebp - 0x90]
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x413de4
lea eax, [ebp - 0x110]
push 0x6adac0
push eax
call fcn.0044c190
pop ecx
test eax, eax
pop ecx
je 0x413de4
push dword [ebp + 0xc]
lea eax, [ebp - 0x110]
push eax
call fcn.0044c190
pop ecx
test eax, eax
pop ecx
je 0x413de4
inc dword [ebp + 0x10]
jmp 0x413deb
mov dword [ebp - 8], 1
cmp dword [ebp - 8], esi
je 0x413d6a
push dword [ebp - 4]
call edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x110]
push eax
call fcn.0044c190
pop ecx
test eax, eax
pop ecx
je 0x413f52
jmp 0x413f9d
push dword [ebp - 4]
call edi
jmp 0x413f9d
lea eax, [ebp - 4]
mov ebx, Ordinal_3
push eax
push 0x20006
push esi
push str.SoftwareNetscapeNetscape_NavigatorSuffixes
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x413fa3
push 4
push dword [ebp + 0x10]
push 1
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call edi
lea eax, [ebp - 4]
push eax
push 0xf003f
push esi
push str.SoftwareNetscapeNetscape_NavigatorViewers
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x413fa3
push dword [ebp + 0x14]
call fcn.0044c220
pop ecx
inc eax
push eax
push dword [ebp + 0x14]
push 1
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 8], esi
mov dword [ebp + 0x10], 1
cmp dword [ebp + 0x10], 0x64
jge 0x413f2c
push dword [ebp + 0x10]
lea eax, [ebp - 0x90]
push str.TYPE_d
push eax
call fcn.0044d095
add esp, 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x80
push eax
lea eax, [ebp - 0x110]
push eax
push esi
lea eax, [ebp - 0x90]
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x413f1c
lea eax, [ebp - 0x110]
push 0x6adac0
push eax
call fcn.0044c190
pop ecx
test eax, eax
pop ecx
je 0x413f1c
push dword [ebp + 0xc]
lea eax, [ebp - 0x110]
push eax
call fcn.0044c190
pop ecx
test eax, eax
pop ecx
je 0x413f1c
inc dword [ebp + 0x10]
jmp 0x413f23
mov dword [ebp - 8], 1
cmp dword [ebp - 8], esi
je 0x413ea2
push dword [ebp + 0xc]
call fcn.0044c220
pop ecx
inc eax
push eax
lea eax, [ebp - 0x90]
push dword [ebp + 0xc]
push 1
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call edi
cmp word [ebp + 8], si
je 0x413fa3
lea eax, [ebp - 4]
push eax
push 0x20019
push esi
push str.SoftwareNetscapeNetscape_NavigatorUser_Trusted_External_Applications
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x413fdc
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x80
push eax
lea eax, [ebp - 0x90]
push eax
push esi
push esi
push dword [ebp + 0x14]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov ebx, eax
call edi
cmp ebx, esi
je 0x413fdc
mov ax, 1
jmp 0x413fdf
lea eax, [ebp - 4]
push esi
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SoftwareNetscapeNetscape_NavigatorUser_Trusted_External_Applications
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x413fdc
push 4
push 0x66fe54
push 1
push esi
push dword [ebp + 0x14]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call edi
xor ax, ax
pop edi
pop esi
pop ebx
leave
ret