Function at 0x414cd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f19b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x460
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
call fcn.00401070
mov eax, 0x6cc7b8
test eax, eax
je 0x414d5a
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x414d5a
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push ebx
push 0xffffffffffffffff
push 0x6cc7b8
push ebx
push ebx
call edi
cmp eax, ebx
mov dword [esi + 8], eax
je 0x414d5a
lea ecx, [eax + eax + 2]
push ecx
call fcn.005db95d
add esp, 4
cmp eax, ebx
mov dword [esi], eax
je 0x414d5a
mov edx, dword [esi + 8]
push edx
push eax
push 0xffffffffffffffff
push 0x6cc7b8
push ebx
push ebx
call edi
mov dword [esi + 8], eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp + 8]
push eax
push 0x20019
push ebx
push str.SOFTWARENetscapeNetscape_6
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x414fb5
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x54]
push ecx
push edx
push ebx
push ebx
push str.CurrentVersion
push eax
mov dword [ebp - 0x14], 0x32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x414fb5
mov eax, dword [ebp + 8]
lea ecx, [ebp + 8]
push ecx
push 0x20019
lea edx, [ebp - 0x54]
push ebx
push edx
push eax
call edi
test eax, eax
jne 0x414fb5
mov edx, dword [ebp + 8]
lea ecx, [ebp + 8]
push ecx
push 0x20019
push ebx
push str.Main
push edx
call edi
test eax, eax
jne 0x414fb5
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x25c]
push eax
push ecx
push ebx
push ebx
push str.Install_Directory
push edx
mov dword [ebp - 0x14], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x414fb5
lea eax, [ebp - 0x25c]
push eax
call fcn.005c2f1a
add esp, 4
cmp word [ebp + eax*2 - 0x25e], 0x5c
je 0x414e38
lea ecx, [ebp - 0x25c]
push 0x69e054
push ecx
call fcn.005c3090
add esp, 8
lea edx, [ebp - 0x25c]
push str.Plugins_
push edx
call fcn.005c3090
lea eax, [ebp - 0x25c]
add esp, 8
test eax, eax
je 0x414ef9
cmp dword [esi], ebx
je 0x414ef9
lea ecx, [ebp - 0x25c]
push ecx
call fcn.005c2f1a
add esp, 4
test eax, eax
je 0x414ef9
mov eax, dword [esi]
lea edx, [ebp - 0x25c]
cmp eax, edx
ja 0x414ef9
push eax
call fcn.005c2f1a
mov ecx, dword [esi]
add esp, 4
lea edx, [ecx + eax*2]
lea eax, [ebp - 0x25c]
cmp edx, eax
jb 0x414ef9
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x20], ebx
push ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x1c], bx
call fcn.00401f50
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 1
cmp eax, ebx
jne 0x414ec4
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.00401f50
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.00401070
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
call fcn.00401070
lea edx, [ebp - 0x25c]
test edx, edx
je 0x414f5d
lea eax, [ebp - 0x25c]
push eax
call fcn.005c2f1a
add esp, 4
test eax, eax
je 0x414f5d
lea ecx, [ebp - 0x25c]
push ecx
call fcn.005c2f1a
lea edx, [eax + eax + 2]
push edx
call fcn.005db95d
add esp, 8
cmp eax, ebx
mov dword [esi], eax
je 0x414f5d
lea eax, [ebp - 0x25c]
push eax
call fcn.005c2f1a
mov edx, dword [esi]
lea ecx, [ebp - 0x25c]
push ecx
push edx
mov dword [esi + 8], eax
call fcn.005c30ba
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4