Function at 0x10027be0
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
xor ebx, ebx
mov dword [esp + 0x10], 1
push edi
xor ebp, ebp
mov dword [esp + 0x28], ebx
push 0xc
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ebx
call fcn.1002f9d0
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
add esp, 4
test esi, esi
je 0x10027c3a
push str.SoftwareMicrosoftWindowsCurrentVersionExtSettings_
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
call edi
mov dword [esi], eax
test eax, eax
je 0x10028116
jmp 0x10027c3c
xor esi, esi
mov dword [esp + 0x18], esi
test esi, esi
je 0x10028116
push 0xc
call fcn.1002f9d0
mov esi, eax
add esp, 4
test esi, esi
je 0x10027c7a
push dword [esp + 0x34]
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
call edi
mov dword [esi], eax
test eax, eax
jne 0x10027c7c
cmp dword [esp + 0x34], ebx
jne 0x10028116
jmp 0x10027c7c
xor esi, esi
mov dword [esp + 0x20], esi
test esi, esi
je 0x10028116
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call fcn.10003700
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x10027cce
mov eax, dword [esi]
test eax, eax
je 0x10027cb0
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x10027cc3
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], ebx
push 0xc
push esi
call fcn.1002f9d0
add esp, 8
call fcn.100058e0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [esp + 0x18]
test eax, eax
je 0x10027d67
call fcn.100041d0
mov dword [esp + 0x10], eax
test eax, eax
je 0x10027dba
push eax
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x10027d18
push dword [esp + 0x10]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp + 0x14], 1
jmp 0x100280b8
lea eax, [esp + 0x1c]
push eax
push 0x20019
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
je 0x10027d49
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push dword [esp + 0x10]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp + 0x14], 1
jmp 0x100280b8
mov ebx, dword [esp + 0x1c]
test edi, edi
je 0x10027d5c
mov eax, dword [edi]
push 0x20019
push eax
push ebx
jmp 0x10027d7c
push 0x20019
xor eax, eax
push eax
push ebx
jmp 0x10027d7c
test edi, edi
je 0x10027d6f
mov eax, dword [edi]
jmp 0x10027d71
xor eax, eax
push 0x2001f
push eax
push SysReAllocString
lea ecx, [esp + 0x30]
call fcn.10003a10
mov dword [esp + 0x20], ebx
mov ebp, ebx
test eax, eax
je 0x10027dc7
cmp dword [esp + 0x10], 0
je 0x10027db6
test ebx, ebx
je 0x10027d9d
push ebx
call esi
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push dword [esp + 0x10]
call dword [sym.imp.kernel32.dll_CloseHandle]
xor ebx, ebx
cmp dword [esp + 0x20], ebx
cmove ebx, ebp
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x14], 1
jmp 0x100280b8
mov ebp, dword [esp + 0x24]
push str.Flags
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [esp + 0x20], eax
test eax, eax
je 0x10027f2a
cmp eax, 2
je 0x10027f2a
push str.cleanupSSVDisabledEntry_error
lea ecx, [esp + 0x18]
call fcn.100032a0
push dword [esp + 0x34]
lea ecx, [esp + 0x1c]
call fcn.100032a0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.10003700
mov esi, dword [esp + 0x18]
test esi, esi
je 0x10027e5d
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x10027e5d
mov eax, dword [esi]
test eax, eax
je 0x10027e3b
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10027e52
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1002f9d0
add esp, 8
push str._Flags
lea ecx, [esp + 0x1c]
call fcn.100032a0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.10003700
mov esi, dword [esp + 0x18]
test esi, esi
je 0x10027ec1
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x10027ec1
mov eax, dword [esi]
test eax, eax
je 0x10027e9f
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10027eb6
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1002f9d0
add esp, 8
mov esi, dword [esp + 0x14]
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x10027ed2
lock inc dword [esi + 8]
push dword [esp + 0x24]
call fcn.10015220
add esp, 8
mov dword [esp + 0x14], 0
test esi, esi
je 0x10027f2a
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x10027f2a
mov eax, dword [esi]
test eax, eax
je 0x10027f08
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10027f1f
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1002f9d0
add esp, 8
push str.Version
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [esp + 0x20], eax
test eax, eax
je 0x10028089
cmp eax, 2
je 0x10028089
push str.cleanupSSVDisabledEntry_error
lea ecx, [esp + 0x18]
call fcn.100032a0
push dword [esp + 0x34]
lea ecx, [esp + 0x1c]
call fcn.100032a0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.10003700
mov esi, dword [esp + 0x18]
test esi, esi
je 0x10027fbc
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x10027fbc
mov eax, dword [esi]
test eax, eax
je 0x10027f9a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10027fb1
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1002f9d0
add esp, 8
push str._Version
lea ecx, [esp + 0x1c]
call fcn.100032a0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.10003700
mov esi, dword [esp + 0x18]
test esi, esi
je 0x10028020
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x10028020
mov eax, dword [esi]
test eax, eax
je 0x10027ffe
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10028015
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1002f9d0
add esp, 8
mov esi, dword [esp + 0x14]
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x10028031
lock inc dword [esi + 8]
push dword [esp + 0x24]
call fcn.10015220
add esp, 8
mov dword [esp + 0x14], 0
test esi, esi
je 0x10028089
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x10028089
mov eax, dword [esi]
test eax, eax
je 0x10028067
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1002807e
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1002f9d0
add esp, 8
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebp, ebp
je 0x10028098
push ebp
call esi
xor ebp, ebp
cmp dword [esp + 0x10], 0
je 0x100280b8
test ebx, ebx
je 0x100280a6
push ebx
call esi
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push dword [esp + 0x10]
call dword [sym.imp.kernel32.dll_CloseHandle]
xor ebx, ebx
test edi, edi
je 0x100280fc
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x100280fc
mov eax, dword [edi]
test eax, eax
je 0x100280da
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x100280f1
push eax
call fcn.1003b898
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.1002f9d0
add esp, 8
test ebp, ebp
je 0x10028103
push ebp
call esi
test ebx, ebx
je 0x1002810a
push ebx
call esi
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push 0x8007000e
call fcn.1002f9d0
int3