Function at 0x10027376
Capabilities:
Delete registry value

Disassembly:
push 0x34
mov eax, 0x100cdec0
call fcn.1005e1c7
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.10001719
push dword [ebp + 8]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.10001719
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x20]
call fcn.1000186b
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x100273eb
call fcn.10001b13
call fcn.10034d28
mov edi, dword [ebp - 0x20]
test eax, eax
je 0x1002745a
call fcn.100337a3
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
je 0x100274ac
push esi
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x1002742d
lea eax, [ebp - 0x24]
push eax
push 0x20019
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
je 0x10027436
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100274ac
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 0x1002744f
mov eax, dword [edi]
jmp 0x10027451
xor eax, eax
push 0x20019
push eax
push esi
jmp 0x1002746f
test edi, edi
je 0x10027462
mov eax, dword [edi]
jmp 0x10027464
xor eax, eax
push 0x2001f
push eax
push SysReAllocStringLen
lea ecx, [ebp - 0x34]
call fcn.10017b89
test eax, eax
je 0x100274b4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x100274a9
test esi, esi
je 0x10027491
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
jmp 0x10027494
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 0x10027659
mov ebx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x10]
jmp 0x10027659
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 0x1002756e
cmp eax, 2
je 0x1002756e
push 0x100e92c8
lea ecx, [ebp - 0x14]
call fcn.10001719
push dword [ebp + 8]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.10001719
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x14]
call fcn.1000186b
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x10027513
call fcn.10001b13
push str._Flags
lea ecx, [ebp - 0x1c]
call fcn.10001719
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x14]
call fcn.1000186b
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x10027540
call fcn.10001b13
mov esi, dword [ebp - 0x14]
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x10027550
lock inc dword [esi + 8]
push dword [ebp - 0x28]
call fcn.1001cae2
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], eax
pop ecx
pop ecx
test esi, esi
je 0x1002756e
mov ecx, esi
call fcn.10001b13
push str.Version
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x10027621
cmp eax, 2
je 0x10027621
push str.cleanupSSVDisabledEntry_error
lea ecx, [ebp - 0x14]
call fcn.10001719
push dword [ebp + 8]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.10001719
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x14]
call fcn.1000186b
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x100275ca
call fcn.10001b13
push str._Version
lea ecx, [ebp - 0x1c]
call fcn.10001719
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x14]
call fcn.1000186b
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x100275f7
call fcn.10001b13
mov esi, dword [ebp - 0x14]
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x10027607
lock inc dword [esi + 8]
push dword [ebp - 0x28]
call fcn.1001cae2
xor eax, eax
mov dword [ebp - 0x14], eax
pop ecx
pop ecx
test esi, esi
je 0x10027621
mov ecx, esi
call fcn.10001b13
test ebx, ebx
je 0x1002762e
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
cmp dword [ebp - 0x18], 0
mov esi, dword [ebp - 0x10]
je 0x10027653
test esi, esi
je 0x10027644
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 0x10027664
mov ecx, edi
call fcn.10001b13
test ebx, ebx
je 0x10027673
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
jmp 0x10027679
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x10027680
push esi
call ebx
mov eax, dword [ebp - 0x14]
call fcn.1005e195
ret