Function at 0x10026e90
Capabilities:
Delete registry value

Disassembly:
push 0x34
mov eax, 0x1006a462
call fcn.1003b136
xor ecx, ecx
mov esi, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x38], ecx
mov ebx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov dword [ebp - 0x24], ecx
inc eax
mov dword [ebp - 0x18], ecx
push str.SoftwareMicrosoftWindowsCurrentVersionExtSettings_
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], al
call fcn.1000154d
push dword [ebp + 8]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.1000154d
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x20]
call fcn.10001683
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x10026f05
call fcn.100016dc
call fcn.1002eead
mov edi, dword [ebp - 0x20]
test eax, eax
je 0x10026f74
call fcn.1002ee9f
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
je 0x10026fc6
push esi
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x10026f47
lea eax, [ebp - 0x24]
push eax
push 0x20019
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
je 0x10026f50
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10026fc6
mov esi, dword [ebp - 0x24]
and dword [ebp - 0x3c], 0
and dword [ebp - 0x38], 0
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x40], esi
test edi, edi
je 0x10026f69
mov eax, dword [edi]
jmp 0x10026f6b
xor eax, eax
push 0x20019
push eax
push esi
jmp 0x10026f89
test edi, edi
je 0x10026f7c
mov eax, dword [edi]
jmp 0x10026f7e
xor eax, eax
push 0x2001f
push eax
push SysReAllocString
lea ecx, [ebp - 0x34]
call fcn.1001b2cc
test eax, eax
je 0x10026fce
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10026fc3
test esi, esi
je 0x10026fab
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
jmp 0x10026fae
mov esi, dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x34]
jmp 0x10027173
mov ebx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x10]
jmp 0x10027173
mov ebx, dword [ebp - 0x34]
push str.Flags
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x10027088
cmp eax, 2
je 0x10027088
push 0x10085938
lea ecx, [ebp - 0x14]
call fcn.1000154d
push dword [ebp + 8]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.1000154d
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x14]
call fcn.10001683
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x1002702d
call fcn.100016dc
push str._Flags
lea ecx, [ebp - 0x1c]
call fcn.1000154d
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x14]
call fcn.10001683
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x1002705a
call fcn.100016dc
mov esi, dword [ebp - 0x14]
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x1002706a
lock inc dword [esi + 8]
push dword [ebp - 0x28]
call fcn.10029f24
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], eax
pop ecx
pop ecx
test esi, esi
je 0x10027088
mov ecx, esi
call fcn.100016dc
push str.Version
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1002713b
cmp eax, 2
je 0x1002713b
push str.cleanupSSVDisabledEntry_error
lea ecx, [ebp - 0x14]
call fcn.1000154d
push dword [ebp + 8]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.1000154d
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x14]
call fcn.10001683
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x100270e4
call fcn.100016dc
push str._Version
lea ecx, [ebp - 0x1c]
call fcn.1000154d
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x14]
call fcn.10001683
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x10027111
call fcn.100016dc
mov esi, dword [ebp - 0x14]
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x10027121
lock inc dword [esi + 8]
push dword [ebp - 0x28]
call fcn.10029f24
xor eax, eax
mov dword [ebp - 0x14], eax
pop ecx
pop ecx
test esi, esi
je 0x1002713b
mov ecx, esi
call fcn.100016dc
test ebx, ebx
je 0x10027148
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
cmp dword [ebp - 0x18], 0
mov esi, dword [ebp - 0x10]
je 0x1002716d
test esi, esi
je 0x1002715e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
test edi, edi
je 0x1002717e
mov ecx, edi
call fcn.100016dc
test ebx, ebx
je 0x1002718d
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
jmp 0x10027193
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x1002719a
push esi
call ebx
mov eax, dword [ebp - 0x14]
call fcn.1003b113
ret