Function at 0x1c778
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
push 4
pop esi
push 0x1ee1a
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push esi
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0x20]
push eax
mov edi, 0x274c8
push edi
call fcn.00011648
push 0x26e58
call fcn.0001bd24
xor eax, eax
mov esi, 0x400
mov word [ebp - 0x18], ax
mov eax, esi
push esi
mov word [ebp - 0x16], ax
call fcn.00015c50
xor ebx, ebx
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x1c822
movzx ecx, word [ebp - 0x16]
push ecx
push ebx
push eax
call sub.ntoskrnl.exe_memset
mov eax, dword [0x1ee38]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [0x1ee3c]
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push 8
mov dword [ecx + 4], eax
pop eax
mov word [ebp - 0x18], ax
push 0x27098
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
lea eax, [ebp - 0x18]
push eax
call fcn.0001bd24
push dword [ebp - 0x14]
call fcn.00015c6a
xor eax, eax
mov word [ebp - 0x10], ax
mov eax, esi
push esi
mov word [ebp - 0xe], ax
call fcn.00015c50
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x1c93f
movzx ecx, word [ebp - 0xe]
push ecx
push ebx
push eax
call sub.ntoskrnl.exe_memset
add esp, 0xc
push edi
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
test eax, eax
jl 0x1c8b6
push str.Enum
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
test eax, eax
jl 0x1c8b6
lea eax, [ebp - 0x10]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
push eax
push 0xf003f
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x38], 0x18
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], 0x240
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
jl 0x1c8b6
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwDeleteKey]
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
xor eax, eax
push esi
mov word [ebp - 0x10], ax
push ebx
push dword [ebp - 0xc]
mov eax, esi
mov word [ebp - 0xe], ax
call sub.ntoskrnl.exe_memset
add esp, 0xc
push edi
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
test eax, eax
jl 0x1c937
push str.Security
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
test eax, eax
jl 0x1c937
lea eax, [ebp - 0x10]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
push eax
push 0xf003f
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x38], 0x18
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], 0x240
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
jl 0x1c937
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwDeleteKey]
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
push dword [ebp - 0xc]
call fcn.00015c6a
lea eax, [ebp - 0x38]
push eax
push 0xf003f
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x38], 0x18
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], 0x240
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
pop edi
pop esi
pop ebx
test eax, eax
jl 0x1c98e
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwDeleteKey]
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwFlushKey]
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
leave
ret