Function at 0x413c6a
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 0x413e54
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 0x413f85
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 0x413fd0
push dword [ebp + 0x10]
lea eax, [ebp - 0x90]
push eax
call fcn.0044c3b0
pop ecx
test eax, eax
pop ecx
jne 0x413fd0
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 0x413f85
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 0x413d50
cmp dword [ebp - 0xc], 2
jbe 0x413d50
sub dword [ebp - 0xc], 2
mov dword [ebp + 0x10], 1
cmp eax, esi
jne 0x413e4a
push dword [ebp + 0x14]
call fcn.0044c440
cmp eax, dword [ebp - 0xc]
pop ecx
jae 0x413d71
push dword [ebp + 0x14]
call fcn.0044c440
pop ecx
jmp 0x413d74
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.005ed1a0
add esp, 0xc
test eax, eax
jne 0x413e4a
mov dword [ebp - 8], esi
mov dword [ebp + 0x10], 1
cmp dword [ebp + 0x10], 0x64
jge 0x413e27
push dword [ebp + 0x10]
lea eax, [ebp - 0x90]
push str.TYPE_d
push eax
call fcn.0044d2a5
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 0x413e17
lea eax, [ebp - 0x110]
push 0x6b4f90
push eax
call fcn.0044c3b0
pop ecx
test eax, eax
pop ecx
je 0x413e17
push dword [ebp + 0xc]
lea eax, [ebp - 0x110]
push eax
call fcn.0044c3b0
pop ecx
test eax, eax
pop ecx
je 0x413e17
inc dword [ebp + 0x10]
jmp 0x413e1e
mov dword [ebp - 8], 1
cmp dword [ebp - 8], esi
je 0x413d9d
push dword [ebp - 4]
call edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x110]
push eax
call fcn.0044c3b0
pop ecx
test eax, eax
pop ecx
je 0x413f85
jmp 0x413fd0
push dword [ebp - 4]
call edi
jmp 0x413fd0
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 0x413fd6
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 0x413fd6
push dword [ebp + 0x14]
call fcn.0044c440
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 0x413f5f
push dword [ebp + 0x10]
lea eax, [ebp - 0x90]
push str.TYPE_d
push eax
call fcn.0044d2a5
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 0x413f4f
lea eax, [ebp - 0x110]
push 0x6b4f90
push eax
call fcn.0044c3b0
pop ecx
test eax, eax
pop ecx
je 0x413f4f
push dword [ebp + 0xc]
lea eax, [ebp - 0x110]
push eax
call fcn.0044c3b0
pop ecx
test eax, eax
pop ecx
je 0x413f4f
inc dword [ebp + 0x10]
jmp 0x413f56
mov dword [ebp - 8], 1
cmp dword [ebp - 8], esi
je 0x413ed5
push dword [ebp + 0xc]
call fcn.0044c440
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 0x413fd6
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 0x41400f
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 0x41400f
mov ax, 1
jmp 0x414012
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 0x41400f
push 4
push 0x676e54
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