Function at 0x455775
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4b7a80
call fcn.0049dfc4
sub esp, 0x40
push ebx
push esi
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x20], eax
xor esi, esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
call fcn.00401e1e
mov edi, vtable._zstring_class_ztraits_0__.0
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x30], esi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.00401e1e
mov dword [ebp - 0x3c], edi
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov byte [ebp - 4], 4
mov ebx, dword [eax + 0xc]
push ebx
call edi
push eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00403753
lea ecx, [ebp - 0x2c]
call fcn.00402f35
lea eax, [ebp + 8]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
push 0x20019
push esi
mov dword [ebp + 8], esi
push dword [ebp - 0x28]
push SysReAllocStringLen
call ebx
cmp eax, esi
jne 0x45581c
lea ecx, [ebp - 0x10]
call fcn.0041623e
mov ecx, dword [ebp + 8]
cmp eax, esi
mov dword [ebp - 0x10], ecx
je 0x45584d
lea ecx, [ebp - 0x2c]
call fcn.00402f35
lea eax, [ebp + 8]
mov dword [ebp + 8], esi
push eax
push 0x20019
push esi
push dword [ebp - 0x28]
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
cmp eax, esi
jne 0x45584d
lea ecx, [ebp - 0x10]
call fcn.0041623e
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], 0x200
mov dword [ebp - 0x14], esi
mov eax, dword [eax + 0xc]
cmp eax, esi
mov dword [ebp + 8], eax
jne 0x455868
xor eax, eax
jmp 0x455888
push eax
call edi
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.0049dff0
mov eax, esp
push esi
push ebx
push dword [ebp + 8]
push eax
call fcn.00408c5b
lea ecx, [ebp - 0x18]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ecx
lea ecx, [ebp - 0x14]
push esi
push ecx
push esi
push eax
push dword [ebp - 0x10]
call ebx
cmp dword [ebp - 0x14], 1
je 0x455951
cmp dword [ebp - 0x14], 7
je 0x455951
cmp dword [ebp - 0x14], 2
je 0x455951
mov eax, dword [ebp - 0x20]
mov dword [ebp + 0xc], esi
cmp eax, esi
mov dword [ebp + 8], eax
jne 0x4558cd
xor eax, eax
jmp 0x4558ed
push eax
call edi
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.0049dff0
mov eax, esp
push esi
push edi
push dword [ebp + 8]
push eax
call fcn.00408c5b
lea ecx, [ebp + 8]
mov dword [ebp - 0x1c], esi
push ecx
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push esi
push eax
mov dword [ebp + 8], 4
push dword [ebp - 0x10]
call ebx
cmp eax, esi
jne 0x4559c6
mov eax, dword [ebp + 0xc]
push 8
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x4c]
push esi
push eax
lea eax, [ebp - 0x4c]
mov word [ebp - 0x4c], 3
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
push dword [ebp - 0x30]
mov edi, dword [ebp - 0x44]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x4559c6
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], 0x200
mov eax, dword [eax + 0xc]
cmp eax, esi
mov dword [ebp + 8], eax
jne 0x455969
xor edi, edi
jmp 0x45598b
push eax
call edi
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.0049dff0
mov eax, esp
push esi
push edi
push dword [ebp + 8]
push eax
call fcn.00408c5b
mov edi, eax
lea eax, [ebp - 0x4c]
push 0x200
push eax
lea ecx, [ebp - 0x3c]
call fcn.0041120a
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00411336
lea ecx, [ebp - 0x18]
mov dword [ebp + 0xc], esi
push ecx
push eax
lea eax, [ebp + 0xc]
push eax
push esi
push edi
push dword [ebp - 0x10]
call ebx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.00401d79
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x3c]
push eax
call fcn.00410f26
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.004012b4
cmp dword [ebp - 0x10], esi
je 0x4559ef
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004012b4
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x58]
mov al, 1
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc