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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x354
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x350], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
mov edi, ecx
lea ecx, [esp + 0x45]
push ebx
push ecx
mov esi, edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x4c], bl
call fcn.00a7ffb0
add esp, 0xc
push 0x103
lea edx, [esp + 0x14d]
push ebx
push edx
mov byte [esp + 0x154], bl
call fcn.00a7ffb0
add esp, 0xc
push 0x103
lea eax, [esp + 0x255]
push ebx
push eax
mov byte [esp + 0x25c], bl
call fcn.00a7ffb0
add esp, 0xc
mov dword [esp + 0x24], 4
cmp esi, ebx
je 0x974d7d
mov dword [esi], ebx
push str.WebScanC
lea ecx, [esp + 0x254]
push str.SoftwareMicroWorldComponent_s
push ecx
call fcn.00a78f30
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 9
push ebx
lea eax, [esp + 0x25c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [esp + 0x20], ebx
jne 0x974e16
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x3c]
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x2c]
push edx
push ebx
push str.Version
push eax
mov dword [esp + 0x54], 4
mov dword [esp + 0x50], 0x104
call esi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x38]
push ecx
push edi
push ebx
push ebx
push str.InstallDirectory
push edx
mov byte [edi], bl
call esi
test eax, eax
je 0x974e2f
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x350]
xor ecx, esp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret 4
xor ecx, ecx
call fcn.0095a6d0
test eax, eax
jne 0x974e41
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x974e10
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push 9
push ebx
push str.Products
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, eax
push edi
call esi
cmp edi, ebx
jne 0x974e3a
mov eax, str.WebScanC
mov ecx, eax
call fcn.0094c330
test eax, eax
jne 0x974f35
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push 9
push ebx
push str.WebScan
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
push edi
call esi
cmp edi, ebx
jne 0x974f35
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x2c]
push eax
push ebx
push str.Enabled
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x44], 4
call esi
test eax, eax
jne 0x974f1f
cmp dword [esp + 0x1c], 1
jne 0x974f1f
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x14c]
push eax
push ebx
push ebx
push 0xae906c
push ecx
mov byte [esp + 0x160], bl
mov dword [esp + 0x40], 0x104
call esi
test eax, eax
jne 0x974f1f
xor ecx, ecx
lea edi, [esp + 0x148]
call fcn.0095a6d0
cmp eax, 1
jne 0x974f1f
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
mov byte [esp + 0x14c], bl
call edi
jmp 0x974f3b
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
push 0x104
lea eax, [esp + 0x44]
push eax
push ebx
push ecx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x50], bl
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x975058
cmp dword [esp + 0x30], ebx
je 0x974f7d
mov eax, str.Webscan
lea ecx, [esp + 0x40]
call fcn.0094c330
test eax, eax
jne 0x97502d
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push 9
push ebx
lea eax, [esp + 0x4c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, ebx
jne 0x97502d
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
push ecx
push ebx
push str.Enabled
push edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x44], 4
call esi
test eax, eax
jne 0x975026
cmp dword [esp + 0x1c], 1
jne 0x975026
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14c]
push ecx
push ebx
push ebx
push 0xae906c
push edx
mov byte [esp + 0x160], bl
mov dword [esp + 0x40], 0x104
call esi
test eax, eax
jne 0x975026
xor ecx, ecx
lea edi, [esp + 0x148]
call fcn.0095a6d0
cmp eax, 1
je 0x97506b
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
push eax
call edi
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push 0x104
lea ecx, [esp + 0x44]
inc eax
push ecx
push eax
push edx
mov dword [esp + 0x30], eax
mov byte [esp + 0x50], bl
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x974f61
mov eax, dword [esp + 0x18]
push eax
call edi
mov ecx, dword [esp + 0x10]
push ecx
call edi
jmp 0x974e16
mov edx, dword [esp + 0x34]
cmp edx, ebx
je 0x97508a
lea eax, [esp + 0x40]
mov ecx, eax
sub edx, ecx
jmp 0x975080
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x975080
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
mov ecx, dword [esp + 0x35c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00a78f21
mov esp, ebp
pop ebp
ret 4