Function at 0x45730f
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x47c2ef
call fcn.004680bc
mov eax, 0x1a34
call fcn.00468240
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], ebx
mov eax, dword [esi + 0x74]
lea edx, [ebp - 0x24]
push edx
push 0x4958e8
mov ecx, dword [eax]
push 0x4811ec
push eax
mov dword [ebp - 4], ebx
call dword [ecx + 0xc]
mov dword [ebp - 0x48], ebx
mov eax, dword [esi + 0x74]
lea edx, [ebp - 0x48]
push edx
push 0x495440
mov ecx, dword [eax]
push 0x47f620
push eax
mov byte [ebp - 4], 1
call dword [ecx + 0xc]
lea eax, [ebp - 0x49]
push 1
push eax
lea ecx, [ebp - 0xc4]
call fcn.0040561b
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0xc4]
push eax
mov byte [ebp - 4], 2
call fcn.0042c904
mov ecx, dword [eax]
mov byte [ebp - 4], 3
mov byte [eax + 4], 1
call fcn.004065b3
push str.UNINSTALLKEY
mov edi, eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x48]
push edi
push dword [ebp - 0x20]
mov byte [ebp - 4], 4
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
push dword [ebp - 0x20]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp byte [ebp - 0x50], bl
mov byte [ebp - 4], 2
je 0x4573d9
mov ecx, dword [ebp - 0x54]
push dword [ecx + 0x1c]
call fcn.004057de
lea eax, [ebp - 0x25]
push 1
mov edi, str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push eax
push edi
lea ecx, [ebp - 0x9c]
call fcn.00405690
push dword [0x47e4c4]
lea eax, [ebp - 0xc4]
neg eax
sbb eax, eax
lea ecx, [ebp - 0xc0]
and eax, ecx
push ebx
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 5
call fcn.00408b32
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x25]
push 1
push eax
push edi
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 6
call fcn.00405690
push dword [0x47e4c4]
lea eax, [esi + 0x2f8]
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
push ebx
and ecx, eax
mov byte [ebp - 4], 7
push ecx
lea ecx, [ebp - 0x138]
call fcn.00408b32
mov al, byte [esi + 0x404]
mov edi, reloc.OLEAUT32.dll_SysReAllocString
neg al
sbb eax, eax
lea ecx, [ebp - 0x13c]
add eax, edi
mov dword [ebp - 0x20], eax
call fcn.0040653c
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push ecx
push 1
push ebx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x45749d
lea ecx, [ebp - 0x18]
call fcn.00403666
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov edx, dword [0x499068]
mov dword [ebp - 0x14], 0x499068
cmp edx, ebx
je 0x457578
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0xa3f]
mov byte [ebp - 0xa40], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x800
push eax
lea eax, [ebp - 0xa40]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push edx
mov dword [ebp - 0x1c], ebx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0xa40]
lea ecx, [ebp - 0x5c]
push eax
mov word [ebp - 0x5c], bx
call fcn.00457af2
lea esi, [ebp - 0x5c]
lea edi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x14]
push 0xffffffffffffffff
movsd dword es:[edi], dword [esi]
mov eax, dword [eax]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call fcn.0040dee8
pop ecx
mov dword [ebp - 0x1c], eax
pop ecx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 9
call fcn.004065b3
push ebx
lea esi, [ebp - 0x3c]
sub esp, 0x10
mov eax, dword [eax]
mov edi, esp
mov ecx, dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
push 1
mov edx, dword [ecx]
push dword [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x20]
movsd dword es:[edi], dword [esi]
push ecx
movsd dword es:[edi], dword [esi]
call dword [edx + 0x20]
push dword [ebp - 0x1c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 7
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
add dword [ebp - 0x14], 4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
cmp edx, ebx
jne 0x4574b2
mov esi, dword [ebp - 0x2c]
mov edx, dword [0x49909c]
mov dword [ebp - 0x14], 0x49909c
cmp edx, ebx
je 0x457653
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0xa3f]
mov byte [ebp - 0xa40], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x800
push eax
lea eax, [ebp - 0xa40]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push edx
mov dword [ebp - 0x1c], ebx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0xa40]
lea ecx, [ebp - 0x5c]
push eax
mov word [ebp - 0x5c], bx
call fcn.00457af2
lea esi, [ebp - 0x5c]
lea edi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x14]
push 0xffffffffffffffff
movsd dword es:[edi], dword [esi]
mov eax, dword [eax]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call fcn.0040dee8
pop ecx
mov dword [ebp - 0x1c], eax
pop ecx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0xb
call fcn.004065b3
push ebx
lea esi, [ebp - 0x3c]
sub esp, 0x10
mov eax, dword [eax]
mov edi, esp
mov ecx, dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
push 2
mov edx, dword [ecx]
push dword [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x20]
movsd dword es:[edi], dword [esi]
push ecx
movsd dword es:[edi], dword [esi]
call dword [edx + 0x20]
push dword [ebp - 0x1c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 7
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
add dword [ebp - 0x14], 4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
cmp edx, ebx
jne 0x45758d
mov esi, dword [ebp - 0x2c]
mov eax, dword [str.EstimatedSize]
mov dword [ebp - 0x14], 0x4990a4
cmp eax, ebx
je 0x45770e
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x50]
push ecx
push ebx
push eax
mov dword [ebp - 0x50], ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x10], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x1c]
mov word [ebp - 0x3c], 3
mov dword [ebp - 0x34], eax
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x74]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x14]
push 0xffffffffffffffff
movsd dword es:[edi], dword [esi]
mov eax, dword [eax]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call fcn.0040dee8
pop ecx
mov dword [ebp - 0x10], eax
pop ecx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0xd
call fcn.004065b3
push ebx
lea esi, [ebp - 0x74]
sub esp, 0x10
mov eax, dword [eax]
mov edi, esp
mov ecx, dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
push 4
mov edx, dword [ecx]
push dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x20]
movsd dword es:[edi], dword [esi]
push ecx
movsd dword es:[edi], dword [esi]
call dword [edx + 0x20]
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 7
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
add dword [ebp - 0x14], 4
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp eax, ebx
jne 0x457667
mov esi, dword [ebp - 0x2c]
push 4
lea eax, [ebp - 0x40]
pop edi
mov dword [ebp - 0x60], ebx
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
push str.Size
mov dword [ebp - 0x40], edi
push dword [ebp - 0x18]
mov dword [ebp - 0x64], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp - 0x60], edi
jne 0x4577a8
mov eax, dword [ebp - 0x64]
mov word [ebp - 0x3c], 3
mov dword [ebp - 0x34], eax
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x74]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x49b504
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0xf
call fcn.004065b3
push ebx
lea esi, [ebp - 0x74]
sub esp, 0x10
mov eax, dword [eax]
mov edi, esp
mov ecx, dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
push 4
mov edx, dword [ecx]
push dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x20]
movsd dword es:[edi], dword [esi]
push ecx
movsd dword es:[edi], dword [esi]
call dword [edx + 0x20]
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 7
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, dword [ebp - 0x2c]
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x23f]
mov byte [ebp - 0x240], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x240]
lea ecx, [esi + 0x2f8]
push eax
call fcn.0040653c
push eax
call fcn.00449aed
pop ecx
xor eax, eax
pop ecx
lea edi, [ebp - 0x123f]
mov ecx, 0x1ff
mov byte [ebp - 0x1240], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x40]
mov edi, str.ProductIcon
push eax
lea eax, [ebp - 0x1240]
push eax
push edi
lea ecx, [esi + 0x2f8]
mov dword [ebp - 0x40], 0x800
call fcn.0040653c
push eax
call sub.msi.dll_MsiGetProductPropertyA
lea eax, [ebp - 0x1240]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x4578b0
cmp byte [esi + 0x404], bl
lea eax, [ebp - 0x240]
push eax
je 0x457865
lea eax, [ebp - 0x1a40]
push str.SoftwareMicrosoftInstallerProducts_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x1a40]
push 0xf003f
push eax
push SysReAllocStringLen
jmp 0x45788b
lea eax, [ebp - 0x1a40]
push str.InstallerProducts_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x1a40]
push 0xf003f
push eax
push SysReAllocStringLen
lea ecx, [ebp - 0x18]
call fcn.0042929e
lea eax, [ebp - 0x40]
mov dword [ebp - 0x50], ebx
push eax
lea eax, [ebp - 0x1240]
push eax
lea eax, [ebp - 0x50]
push eax
push ebx
push edi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x1240]
lea ecx, [ebp - 0x3c]
push eax
mov word [ebp - 0x3c], bx
call fcn.00457af2
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x74]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x49b49c
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0x11
call fcn.004065b3
push ebx
lea esi, [ebp - 0x74]
sub esp, 0x10
mov eax, dword [eax]
mov edi, esp
mov ecx, dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
push 2
mov edx, dword [ecx]
push dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x20]
movsd dword es:[edi], dword [esi]
push ecx
movsd dword es:[edi], dword [esi]
call dword [edx + 0x20]
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 7
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x41]
push 1
push eax
lea ecx, [ebp - 0xec]
call fcn.0040561b
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0xec]
push str.USERNAME
push eax
mov byte [ebp - 4], 0x12
call fcn.0045720d
mov eax, dword [ebp - 0xe4]
cmp eax, ebx
jne 0x45795a
mov eax, 0x47e4c8
push eax
lea ecx, [ebp - 0x3c]
mov word [ebp - 0x3c], bx
call fcn.00403622
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x74]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push str.RegOwner
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0x14
call fcn.004065b3
push ebx
lea esi, [ebp - 0x74]
sub esp, 0x10
mov eax, dword [eax]
mov edi, esp
mov ecx, dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
push 1
mov edx, dword [ecx]
push dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x20]
movsd dword es:[edi], dword [esi]
push ecx
movsd dword es:[edi], dword [esi]
call dword [edx + 0x20]
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x12
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x4a]
push 1
push eax
lea ecx, [ebp - 0x114]
call fcn.0040561b
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x114]
push str.COMPANYNAME
push eax
mov byte [ebp - 4], 0x15
call fcn.0045720d
mov eax, dword [ebp - 0x10c]
cmp eax, ebx
jne 0x4579fe
mov eax, 0x47e4c8
push eax
lea ecx, [ebp - 0x3c]
mov word [ebp - 0x3c], bx
call fcn.00403622
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x74]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x49b458
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0x17
call fcn.004065b3
push ebx
lea esi, [ebp - 0x74]
sub esp, 0x10
mov eax, dword [eax]
mov edi, esp
mov ecx, dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
push 1
mov edx, dword [ecx]
push dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x20]
movsd dword es:[edi], dword [esi]
push ecx
movsd dword es:[edi], dword [esi]
call dword [edx + 0x20]
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0x12
call fcn.00407421
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 7
call fcn.00407421
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 6
call fcn.00407421
cmp dword [ebp - 0x18], ebx
je 0x457aa4
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.00407421
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 1
call fcn.00407421
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x457ad2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x457ae3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret