Function at 0x1000c0c0
Capabilities:
Delete file
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x14], ebx
je 0x1000c0db
xor eax, eax
jmp 0x1000c2dc
mov eax, dword [edi + 0x18]
lea edx, [ebp - 0x14]
push esi
push edx
push 0x20019
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinPE
mov dword [ebp - 0x14], ebx
mov esi, 0x80000002
mov dword [ebp - 0x1c], ebx
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x1000c2cf
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push str.InstRoot
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000c2cf
mov eax, dword [edi + 0x18]
lea edx, [ebp - 8]
push edx
push 0x30019
push str.SOFTWAREMicrosoftWindowsCurrentVersionComponent_Based_ServicingPackagesPending
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x1000c2bb
mov eax, dword [edi + 0x18]
lea edx, [ebp - 4]
push edx
push 0x2001f
push str.SOFTWAREMicrosoftWindowsCurrentVersionComponent_Based_ServicingPackages
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x1000c2bb
push 0x10b
lea eax, [ebp - 0x238]
mov esi, ebx
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x1000c1b1
push str.Owners
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 4]
mov edx, eax
call fcn.100123d0
pop ecx
pop ecx
push 0x10b
lea eax, [ebp - 0x238]
inc esi
push eax
push esi
push dword [ebp - 8]
call ebx
test eax, eax
lea eax, [ebp - 0x238]
je 0x1000c181
push 0x10b
xor esi, esi
push eax
push esi
jmp 0x1000c228
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x20]
push eax
push str.CurrentState
lea edx, [ebp - 0x238]
call fcn.100120cd
pop ecx
pop ecx
test eax, eax
jne 0x1000c21a
cmp dword [ebp - 0x20], 0x60
jne 0x1000c21a
push ecx
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x70
push eax
push ecx
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x238]
call fcn.10012108
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1000c2bd
mov esi, dword [ebp - 0x18]
push 0x10b
lea eax, [ebp - 0x238]
inc esi
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x18], esi
call ebx
test eax, eax
je 0x1000c1cb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push str.Windowswinsxspending.xml
lea edx, [edi + 4]
lea ecx, [ebp - 0xc]
call fcn.1001087d
pop ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.100110af
mov ecx, dword [ebp - 8]
call fcn.10012296
mov esi, eax
test esi, esi
jne 0x1000c2bd
mov eax, dword [edi + 0x18]
lea edx, [ebp - 0x10]
xor ebx, ebx
push ebx
push edx
push 0x20006
push str.SOFTWAREMicrosoftWindowsCurrentVersionSideBySideConfiguration
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push 0x80000002
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x1000c2b3
push 4
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 1
push eax
push 4
push ebx
push str.DisableComponentBackups
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x10]
call fcn.100108d9
mov esi, ebx
lea ecx, [ebp - 4]
call fcn.100108d9
lea ecx, [ebp - 8]
call fcn.100108d9
jmp 0x1000c2d1
mov esi, ebx
lea ecx, [ebp - 0x14]
call fcn.100108d9
mov eax, esi
pop esi
pop edi
pop ebx
leave
ret