Function at 0x45ab70
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb2a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x72c
push ebx
push esi
push edi
mov esi, 0x100
mov dword [ebp - 0x10], esp
xor edi, edi
push esi
mov dword [ebp - 4], edi
call fcn.004f266a
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x1c], edi
push eax
push 0x20019
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push closesocket
mov byte [ebp - 0x238], 0
mov byte [ebp - 0x338], 0
mov byte [ebp - 0x538], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45adca
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
push 0
push 0
push 0
lea ecx, [ebp - 0x34]
push 0
push ecx
push ebx
push edx
push eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
mov dword [ebp - 0x38], eax
je 0x45adb8
push ebx
push str.CLSID
lea ecx, [ebp - 0x438]
push str._s_sInprocServer32
push ecx
call fcn.004f175f
mov esi, edi
push ebx
shl esi, 4
sub esi, edi
shl esi, 4
sub esi, edi
shl esi, 2
mov dword [ebp - 0x28], esi
call fcn.004fa6c0
push eax
lea edx, [esi + 0xd0a174]
push str.HKEY_CLASSES_ROOTCLSID_s
push edx
call fcn.004f175f
push ebx
call fcn.004fa6c0
push eax
lea eax, [esi + 0xd0a0d0]
push 0x50d39c
push eax
call fcn.004f175f
add esp, 0x30
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x438]
push ecx
push 0x20019
push 0
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x138]
push eax
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x18]
push ecx
push edx
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x45acd0
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x138]
push ecx
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45acff
lea edi, [ebp - 0x138]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x238]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x338]
lea edx, [ebp - 0x238]
push ecx
push edx
mov byte [ebp - 0x338], 0
call fcn.004d9590
add esp, 8
push ebx
call fcn.004fa6c0
add esp, 4
push eax
mov eax, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push eax
call fcn.004fa6c0
add esp, 4
push eax
push str.HKEY_LOCAL_MACHINE
lea eax, [esi + 0xd0a218]
push str._s_s_s
push eax
call fcn.004f175f
lea ecx, [ebp - 0x338]
lea edx, [ebp - 0x238]
push ecx
push edx
lea eax, [esi + 0xd0a360]
push str._s___s_
push eax
call fcn.004f175f
lea ecx, [ebp - 0x238]
lea edx, [esi + 0xd0a2bc]
push ecx
push 0x50d39c
push edx
call fcn.004f175f
mov eax, dword [ebp - 0x20]
add esp, 0x30
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
cmp edi, 0xff
mov dword [ebp - 0x1c], edi
jle 0x45adb0
mov ax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x38]
mov esi, 0x100
mov edx, dword [ebp - 0x24]
inc edx
cmp eax, 0x103
mov dword [ebp - 0x24], edx
jne 0x45abe6
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x30]
mov eax, str.SOFTWAREMicrosoftInternet_ExplorerExtensions
push edx
push 0x20019
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45b1aa
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x30]
push 0
push 0
push 0
lea eax, [ebp - 0x34]
push 0
push eax
push ebx
push ecx
push edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
mov dword [ebp - 0x38], eax
je 0x45b198
mov eax, str.SOFTWAREMicrosoftInternet_ExplorerExtensions
push ebx
push eax
lea eax, [ebp - 0x438]
push str._s_s
push eax
call fcn.004f175f
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x638]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x438]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x2c]
push ecx
push 0x20019
push 0
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x138]
push eax
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x18]
push ecx
push edx
push 0
push str.clsid
push eax
call esi
test eax, eax
je 0x45aec9
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x138]
push ecx
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push str.clsid
push ecx
call esi
lea edi, [ebp - 0x138]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x738]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x138]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x2c]
push edx
push eax
push 0
push str.ButtonText
push ecx
call edi
test eax, eax
je 0x45af38
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x138]
push ecx
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push str.ButtonText
push ecx
call edi
test eax, eax
jne 0x45af67
lea edi, [ebp - 0x138]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x338]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x138]
push ecx
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push str.Exec
push ecx
call edi
test eax, eax
je 0x45afa7
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x138]
push ecx
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push str.Exec
push ecx
call edi
test eax, eax
jne 0x45afd6
lea edi, [ebp - 0x138]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x538]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push str.CLSID
lea edx, [ebp - 0x438]
push str._s_sInprocServer32
push edx
call fcn.004f175f
mov eax, dword [ebp - 0x1c]
push ebx
mov esi, eax
shl esi, 4
sub esi, eax
shl esi, 4
sub esi, eax
shl esi, 2
mov dword [ebp - 0x28], esi
call fcn.004fa6c0
push eax
lea eax, [esi + 0xd0a174]
push str.HKEY_LOCAL_MACHINESOFTWAREMicrosoftInternet_ExplorerExtensions_s
push eax
call fcn.004f175f
push ebx
call fcn.004fa6c0
push eax
lea ecx, [esi + 0xd0a0d0]
push 0x50d39c
push ecx
call fcn.004f175f
add esp, 0x30
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x438]
mov dword [ebp - 0x18], 1
push edx
push 0x20019
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x138]
push ecx
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push 0xc30c0c
push ecx
call edi
test eax, eax
jne 0x45b091
lea edi, [ebp - 0x138]
lea edx, [ebp - 0x238]
jmp 0x45b0ca
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x138]
push ecx
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push 0xc30c0c
push ecx
call edi
test eax, eax
jne 0x45b0bf
lea edi, [ebp - 0x138]
lea edx, [ebp - 0x238]
jmp 0x45b0ca
lea edx, [ebp - 0x238]
mov edi, str.NULL
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x638]
push ecx
call fcn.004fa6c0
add esp, 4
push eax
mov eax, str.SOFTWAREMicrosoftInternet_ExplorerExtensions
push eax
call fcn.004fa6c0
mov esi, dword [ebp - 0x28]
add esp, 4
push eax
push str.HKEY_LOCAL_MACHINE
lea edx, [esi + 0xd0a218]
push str._s_s_s
push edx
call fcn.004f175f
lea eax, [ebp - 0x538]
lea ecx, [ebp - 0x338]
push eax
lea edx, [ebp - 0x238]
push ecx
push edx
lea eax, [esi + 0xd0a360]
push str._s___s____s_
push eax
call fcn.004f175f
lea ecx, [ebp - 0x238]
lea edx, [esi + 0xd0a2bc]
push ecx
push 0x50d39c
push edx
call fcn.004f175f
mov eax, dword [ebp - 0x20]
add esp, 0x34
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x1c]
inc eax
cmp eax, 0xff
mov dword [ebp - 0x1c], eax
jle 0x45b18d
mov ax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x38]
mov esi, 0x100
mov edx, dword [ebp - 0x24]
inc edx
cmp eax, 0x103
mov dword [ebp - 0x24], edx
jne 0x45adfb
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x30]
mov eax, str.SOFTWAREMicrosoftInternet_ExplorerToolbar
push edx
push 0x20019
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45b40c
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x30]
push 0
push 0
push 0
lea eax, [ebp - 0x34]
push 0
push eax
push ebx
push ecx
push edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
mov dword [ebp - 0x38], eax
je 0x45b3fa
push ebx
push str.CLSID
lea eax, [ebp - 0x438]
push str._s_sInprocServer32
push eax
call fcn.004f175f
mov esi, edi
push ebx
shl esi, 4
sub esi, edi
shl esi, 4
sub esi, edi
shl esi, 2
mov dword [ebp - 0x28], esi
call fcn.004fa6c0
push eax
lea ecx, [esi + 0xd0a174]
push str.HKEY_CLASSES_ROOTCLSID_s
push ecx
call fcn.004f175f
push ebx
call fcn.004fa6c0
push eax
lea edx, [esi + 0xd0a0d0]
push 0x50d39c
push edx
call fcn.004f175f
add esp, 0x30
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x438]
push eax
push 0x20019
push 0
push ecx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x138]
push edx
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x45b2c5
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x138]
push ecx
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45b2f4
lea edi, [ebp - 0x138]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x238]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x138]
push ecx
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x45b334
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x138]
push ecx
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45b363
lea edi, [ebp - 0x138]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x338]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
mov eax, str.SOFTWAREMicrosoftInternet_ExplorerToolbar
push eax
call fcn.004fa6c0
push eax
push str.HKEY_LOCAL_MACHINE
lea ecx, [esi + 0xd0a218]
push str._s_s
push ecx
call fcn.004f175f
lea edx, [ebp - 0x338]
lea eax, [ebp - 0x238]
push edx
push eax
lea ecx, [esi + 0xd0a360]
push str._s___s_
push ecx
call fcn.004f175f
lea edx, [ebp - 0x238]
lea eax, [esi + 0xd0a2bc]
push edx
push 0x50d39c
push eax
call fcn.004f175f
mov ecx, dword [ebp - 0x2c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x30
push ecx
call esi
mov edx, dword [ebp - 0x20]
push edx
call esi
inc edi
cmp edi, 0xff
mov dword [ebp - 0x1c], edi
jle 0x45b3f2
mov ax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x38]
mov esi, 0x100
mov edx, dword [ebp - 0x24]
inc edx
cmp eax, 0x103
mov dword [ebp - 0x24], edx
jne 0x45b1db
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x30]
mov eax, str.SOFTWAREMicrosoftCode_Store_DatabaseDistribution_Units
push ecx
push 0x20019
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45b6d4
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x30]
push 0
mov eax, 0x80
push 0
push 0
lea edx, [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
push 0
push edx
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
mov dword [ebp - 0x38], eax
je 0x45b6c2
mov eax, str.SOFTWAREMicrosoftCode_Store_DatabaseDistribution_Units
push ebx
push eax
lea edx, [ebp - 0x438]
push str._s_sDownloadInformation
push edx
call fcn.004f175f
mov esi, edi
push ebx
shl esi, 4
sub esi, edi
shl esi, 4
sub esi, edi
shl esi, 2
mov dword [ebp - 0x28], esi
call fcn.004fa6c0
add esp, 0x14
push eax
mov eax, str.SOFTWAREMicrosoftCode_Store_DatabaseDistribution_Units
push eax
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [esi + 0xd0a174]
push str._s_s
push eax
call fcn.004f175f
push ebx
call fcn.004fa6c0
push eax
lea ecx, [esi + 0xd0a0d0]
push 0x50d39c
push ecx
call fcn.004f175f
add esp, 0x20
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x438]
push edx
push 0x20019
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x138]
push ecx
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push str.CODEBASE
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x45b545
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x138]
push ecx
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push str.CODEBASE
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45b574
lea edi, [ebp - 0x138]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x238]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
mov eax, str.SOFTWAREMicrosoftCode_Store_DatabaseDistribution_Units
push ebx
push eax
lea ecx, [ebp - 0x438]
push str._s_sInstalledVersion
push ecx
call fcn.004f175f
add esp, 0x10
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x438]
push edx
push 0x20019
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x138]
push ecx
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push str.LastModified
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x45b5f4
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x138]
push ecx
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push str.LastModified
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45b623
lea edi, [ebp - 0x138]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x338]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
push ebx
call fcn.004fa6c0
add esp, 4
push eax
mov eax, str.SOFTWAREMicrosoftCode_Store_DatabaseDistribution_Units
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [esi + 0xd0a218]
push eax
push str.HKEY_LOCAL_MACHINE
push str._s_s_s
push ecx
call fcn.004f175f
lea edx, [ebp - 0x338]
lea eax, [ebp - 0x238]
push edx
push eax
lea ecx, [esi + 0xd0a360]
push str._s___s_
push ecx
call fcn.004f175f
lea edx, [ebp - 0x238]
lea eax, [esi + 0xd0a2bc]
push edx
push 0x50d39c
push eax
call fcn.004f175f
mov ecx, dword [ebp - 0x2c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x30
push ecx
call esi
mov edx, dword [ebp - 0x20]
push edx
call esi
inc edi
cmp edi, 0xff
mov dword [ebp - 0x1c], edi
jle 0x45b6bf
mov ax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x24]
inc edx
cmp eax, 0x103
mov dword [ebp - 0x24], edx
jne 0x45b43d
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
mov dword [0xe56e00], edi
call fcn.004f265f
add esp, 4
mov ax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret