Function at 0x100231f6
Capabilities:
Delete registry value

Disassembly:
push 0x30
mov eax, 0x100705bc
call fcn.1003c0ab
xor esi, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
xor edi, edi
inc edi
push str.SoftwareMicrosoftWindowsCurrentVersionExtSettings_
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
call fcn.100010b1
push dword [ebp + 8]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.100010b1
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.1000132e
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
cmp ecx, esi
je 0x10023265
call fcn.10001238
call fcn.1006d75b
test eax, eax
je 0x10023318
call fcn.100329aa
mov ebx, eax
mov dword [ebp - 0x14], ebx
cmp ebx, esi
jne 0x100232a4
mov ecx, dword [ebp - 0x10]
cmp ecx, esi
je 0x1002328c
call fcn.10001238
lea ecx, [ebp - 0x30]
call fcn.100159e6
lea ecx, [ebp - 0x3c]
call fcn.100159e6
mov eax, edi
call fcn.1003c183
ret
push ebx
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x100232b8
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x10023280
lea eax, [ebp - 0x20]
push eax
mov edi, 0x20019
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
je 0x100232fa
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
cmp ecx, esi
je 0x100232e5
call fcn.10001238
lea ecx, [ebp - 0x30]
call fcn.100159e6
lea ecx, [ebp - 0x3c]
call fcn.100159e6
xor eax, eax
inc eax
jmp 0x1002329e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
cmp eax, esi
je 0x10023311
mov eax, dword [eax]
jmp 0x10023313
xor eax, eax
push edi
push eax
push ecx
jmp 0x10023330
mov eax, dword [ebp - 0x10]
cmp eax, esi
je 0x10023323
mov eax, dword [eax]
jmp 0x10023325
xor eax, eax
push 0x2001f
push eax
push SysReAllocStringLen
lea ecx, [ebp - 0x30]
call fcn.1006d75b
cmp eax, esi
je 0x1002337e
cmp dword [ebp - 0x14], esi
je 0x10023358
lea ecx, [ebp - 0x3c]
call fcn.100159e6
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
cmp ecx, esi
je 0x10023364
call fcn.10001238
xor esi, esi
inc esi
lea ecx, [ebp - 0x30]
call fcn.100159e6
lea ecx, [ebp - 0x3c]
call fcn.100159e6
mov eax, esi
jmp 0x1002329e
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.Flags
push dword [ebp - 0x30]
call ebx
mov dword [ebp - 0x24], eax
cmp eax, esi
je 0x10023440
cmp eax, 2
je 0x10023440
push 0x1007ad18
lea ecx, [ebp - 0x18]
call fcn.100010b1
push dword [ebp + 8]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.100010b1
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.1000132e
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
cmp ecx, esi
je 0x100233de
call fcn.10001238
push str._Flags
lea ecx, [ebp - 0x1c]
call fcn.100010b1
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.1000132e
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
cmp ecx, esi
je 0x1002340b
call fcn.10001238
mov edi, dword [ebp - 0x18]
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
mov dword [eax], edi
cmp edi, esi
je 0x10023424
lea eax, [edi + 8]
push eax
call dword [sym.imp.kernel32.dll_InterlockedIncrement]
push dword [ebp - 0x24]
call fcn.1001f556
pop ecx
pop ecx
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 2
cmp edi, esi
je 0x10023440
mov ecx, edi
call fcn.10001238
push str.Version
push dword [ebp - 0x30]
call ebx
mov ebx, eax
cmp ebx, esi
je 0x100234f5
cmp ebx, 2
je 0x100234f5
push str.cleanupSSVDisabledEntry_error
lea ecx, [ebp - 0x18]
call fcn.100010b1
push dword [ebp + 8]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.100010b1
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.1000132e
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 7
cmp ecx, esi
je 0x10023499
call fcn.10001238
push str._Version
lea ecx, [ebp - 0x1c]
call fcn.100010b1
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.1000132e
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 7
cmp ecx, esi
je 0x100234c6
call fcn.10001238
mov edi, dword [ebp - 0x18]
push ecx
mov eax, esp
mov dword [ebp - 0x24], esp
mov dword [eax], edi
cmp edi, esi
je 0x100234df
lea eax, [edi + 8]
push eax
call dword [sym.imp.kernel32.dll_InterlockedIncrement]
push ebx
call fcn.1001f556
pop ecx
pop ecx
mov dword [ebp - 0x18], esi
cmp edi, esi
je 0x100234f5
mov ecx, edi
call fcn.10001238
lea ecx, [ebp - 0x30]
call fcn.100159e6
cmp dword [ebp - 0x14], esi
je 0x10023519
lea ecx, [ebp - 0x3c]
call fcn.100159e6
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
cmp ecx, esi
je 0x10023525
call fcn.10001238
mov esi, dword [ebp - 0x18]
jmp 0x10023367