Function at 0x4571cf
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x47c0ef
call fcn.00467ed8
mov eax, 0x1a34
call fcn.00468060
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.0040562c
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0xc4]
push eax
mov byte [ebp - 4], 2
call fcn.0040582c
mov ecx, dword [eax]
mov byte [ebp - 4], 3
mov byte [eax + 4], 1
call fcn.004065c2
push 0x4954c4
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 0x457299
mov ecx, dword [ebp - 0x54]
push dword [ecx + 0x1c]
call fcn.004057ef
lea eax, [ebp - 0x25]
push 1
mov edi, 0x495744
push eax
push edi
lea ecx, [ebp - 0x9c]
call fcn.004056a1
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.00408bae
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.004056a1
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.00408bae
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.0040654b
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 0x45735d
lea ecx, [ebp - 0x18]
call fcn.00403677
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov edx, dword [0x498e68]
mov dword [ebp - 0x14], 0x498e68
cmp edx, ebx
je 0x457438
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.004579b2
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.0040dfb6
pop ecx
mov dword [ebp - 0x1c], eax
pop ecx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 9
call fcn.004065c2
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 0x457372
mov esi, dword [ebp - 0x2c]
mov edx, dword [0x498e9c]
mov dword [ebp - 0x14], 0x498e9c
cmp edx, ebx
je 0x457513
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.004579b2
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.0040dfb6
pop ecx
mov dword [ebp - 0x1c], eax
pop ecx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0xb
call fcn.004065c2
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 0x45744d
mov esi, dword [ebp - 0x2c]
mov eax, dword [0x498ea4]
mov dword [ebp - 0x14], 0x498ea4
cmp eax, ebx
je 0x4575ce
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.0040dfb6
pop ecx
mov dword [ebp - 0x10], eax
pop ecx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0xd
call fcn.004065c2
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 0x457527
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 0x49b310
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 0x457668
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 0x49b304
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.004065c2
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.0040654b
push eax
call fcn.0044998a
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, 0x49b2f8
push eax
lea eax, [ebp - 0x1240]
push eax
push edi
lea ecx, [esi + 0x2f8]
mov dword [ebp - 0x40], 0x800
call fcn.0040654b
push eax
call sub.msi.dll_MsiGetProductPropertyA
lea eax, [ebp - 0x1240]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x457770
cmp byte [esi + 0x404], bl
lea eax, [ebp - 0x240]
push eax
je 0x457725
lea eax, [ebp - 0x1a40]
push 0x49b2cc
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x1a40]
push 0xf003f
push eax
push SysReAllocString
jmp 0x45774b
lea eax, [ebp - 0x1a40]
push 0x49b2b4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x1a40]
push 0xf003f
push eax
push SysReAllocString
lea ecx, [ebp - 0x18]
call fcn.004291d8
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.004579b2
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 0x49b29c
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.004065c2
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.0040562c
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0xec]
push 0x49b290
push eax
mov byte [ebp - 4], 0x12
call fcn.004570cd
mov eax, dword [ebp - 0xe4]
cmp eax, ebx
jne 0x45781a
mov eax, 0x47e4c8
push eax
lea ecx, [ebp - 0x3c]
mov word [ebp - 0x3c], bx
call fcn.00403633
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 0x49b27c
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.004065c2
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.0040562c
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x114]
push 0x49b270
push eax
mov byte [ebp - 4], 0x15
call fcn.004570cd
mov eax, dword [ebp - 0x10c]
cmp eax, ebx
jne 0x4578be
mov eax, 0x47e4c8
push eax
lea ecx, [ebp - 0x3c]
mov word [ebp - 0x3c], bx
call fcn.00403633
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 0x49b258
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.004065c2
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.00407d51
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 7
call fcn.00407d51
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 6
call fcn.00407d51
cmp dword [ebp - 0x18], ebx
je 0x457964
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.00407d51
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 1
call fcn.00407d51
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x457992
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x4579a3
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