Function at 0x10025f40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x1004c024]
xor eax, ebp
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0x1003f928
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10025f90
mov eax, 1
jmp 0x100261ba
mov dword [ebp - 8], 4
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
push ecx
push 0
lea edx, [ebp - 8]
push edx
push 0
push 0x1003f8bc
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10025fd0
mov dword [ebp - 0x10], 1
jmp 0x10026189
cmp dword [ebp - 0x14], 0
ja 0x10025fe2
mov dword [ebp - 0x10], 1
jmp 0x10026189
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push str.Type
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10026018
mov dword [ebp - 0x10], 1
jmp 0x10026189
cmp dword [ebp - 0x1c], 1
je 0x1002602a
mov dword [ebp - 0x10], 1
jmp 0x10026189
mov dword [ebp - 8], 1
lea eax, [ebp - 0x14]
push eax
push 0
lea ecx, [ebp - 8]
push ecx
push 0
push 0x1003f9e4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1002605c
mov dword [ebp - 0x10], 1
jmp 0x10026189
cmp dword [ebp - 0x14], 0
ja 0x1002606e
mov dword [ebp - 0x10], 1
jmp 0x10026189
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.1000f6bd
add esp, 4
mov dword [ebp - 0x22c], eax
mov edx, dword [ebp - 0x22c]
mov dword [ebp - 4], edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push str.VersionId
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100260bf
mov dword [ebp - 0x10], 1
jmp 0x10026189
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
push str.00000001_0000_0000_0007_000000000001
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ntdll.dll_wcscmp]
add esp, 8
test eax, eax
je 0x100260e7
mov dword [ebp - 0x10], 1
jmp 0x10026189
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x230]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xc], 0
mov word [ebp - 0x228], 0
push 0x206
push 0
lea eax, [ebp - 0x226]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
push str.SYSTEMCurrentControlSetServicesVSSProvidersb5946137_7b9f_4925_af80_51abd60b20d5
push str._sCLSID
lea ecx, [ebp - 0x228]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edx, [ebp - 0xc]
push edx
push 0x20019
push 0
lea eax, [ebp - 0x228]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10026181
mov dword [ebp - 0x10], 1
jmp 0x10026189
xor ecx, ecx
jne 0x10025fa5
cmp dword [ebp - 4], 0
je 0x100261a7
mov edx, dword [ebp - 4]
mov dword [ebp - 0x234], edx
mov eax, dword [ebp - 0x234]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x100261b7
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.1000f6c2
mov esp, ebp
pop ebp
ret