Function at 0x1000f76c
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
push 0x48
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x147]
mov byte [ebp - 0x148], bl
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 4]
mov esi, 0x104
push eax
push 0xf003f
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionModuleUsageC:_WINDOWS_System32_atl.dll
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000f8ea
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push str.2A99B1B3_E263_4a00_A167_C1B967716DE2
push dword [ebp - 4]
call edi
test eax, eax
jne 0x1000f80a
cmp dword [ebp + 8], ebx
je 0x1000f7fc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000fa02
push str.2A99B1B3_E263_4a00_A167_C1B967716DE2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push esi
lea eax, [ebp - 0x148]
push ebx
push eax
mov dword [ebp - 8], esi
call fcn.100167a0
add esp, 0xc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push str.75B5421D_15E1_43FA_990D_C7847D1077F0
push dword [ebp - 4]
call edi
test eax, eax
jne 0x1000f84f
cmp dword [ebp + 8], ebx
jne 0x1000f7ee
push str.75B5421D_15E1_43FA_990D_C7847D1077F0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push esi
lea eax, [ebp - 0x148]
push ebx
push eax
mov dword [ebp - 8], esi
call fcn.100167a0
add esp, 0xc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push str.4F57AF1B_5470_47ee_A5AA_D1EA4B3C42A6
push dword [ebp - 4]
call edi
test eax, eax
jne 0x1000f898
cmp dword [ebp + 8], ebx
jne 0x1000f7ee
push str.4F57AF1B_5470_47ee_A5AA_D1EA4B3C42A6
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push esi
lea eax, [ebp - 0x148]
push ebx
push eax
mov dword [ebp - 8], esi
call fcn.100167a0
add esp, 0xc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push str.B6C10489_FB89_11D4_93C9_006008A7EED4
push dword [ebp - 4]
call edi
test eax, eax
jne 0x1000f8e1
cmp dword [ebp + 8], ebx
jne 0x1000f7ee
push str.B6C10489_FB89_11D4_93C9_006008A7EED4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0xf003f
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionSharedDLLs
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000f9e8
mov dword [ebp - 0x18], 1
mov eax, dword [0x1001f030]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
call fcn.10012c74
cmp eax, ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ebx
jle 0x1000f9ca
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push str.C:WindowsDownloaded_Program_Files_
push str._sCONFLICT._d_
push eax
call fcn.10002307
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
push dword [ebp - 0x14]
call fcn.10012d39
cmp eax, ebx
mov dword [ebp - 0x20], eax
jne 0x1000f960
xor eax, eax
jmp 0x1000f967
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
push eax
call fcn.10002009
push esi
lea eax, [ebp - 0x148]
push ebx
push eax
call fcn.100167a0
add esp, 0xc
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp - 0x10]
push dword [ebp - 4]
call edi
test eax, eax
jne 0x1000f9bb
cmp dword [ebp + 8], ebx
jne 0x1000f9f1
push dword [ebp - 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
jl 0x1000f931
lea ecx, [ebp - 0x10]
call fcn.10001cd1
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 5
jl 0x1000f913
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x10]
call fcn.10001cd1
push 1
pop eax
jmp 0x1000f9ea