Function at 0x1b2f0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push str.REGISTRYMACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x18], 0xc0000001
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea edx, [ebp - 0x44]
push edx
xor ebx, ebx
push 0x20019
lea eax, [ebp - 0xc]
lea ecx, [ebp - 0x24]
push eax
mov dword [ebp - 0x44], 0x18
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x38], 0x240
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
cmp eax, ebx
jl 0x1b4c3
mov edx, dword [ebp - 0xc]
push esi
push edi
mov edi, dword [sym.imp.ntoskrnl.exe_ZwQueryKey]
lea ecx, [ebp - 8]
push ecx
push ebx
push ebx
push 2
push edx
call edi
mov eax, dword [ebp - 8]
add eax, 2
push eax
push ebx
mov dword [ebp - 8], eax
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov esi, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], esi
cmp esi, ebx
jne 0x1b38d
push eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
pop edi
pop esi
mov eax, 0xc000009a
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 8]
lea ecx, [ebp - 8]
push ecx
push edx
push esi
push 2
push eax
call edi
mov edi, eax
cmp edi, ebx
jge 0x1b3bc
push ebx
push esi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 0x14]
cmp edi, ebx
je 0x1b4ac
dec edi
cmp edi, ebx
mov dword [ebp - 0x14], edi
jl 0x1b4ac
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
push edx
push ebx
push ebx
push ebx
push edi
push eax
call dword [sym.imp.ntoskrnl.exe_ZwEnumerateKey]
mov eax, dword [ebp - 8]
add eax, 2
push eax
push ebx
mov dword [ebp - 8], eax
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov esi, eax
cmp esi, ebx
je 0x1b49d
mov ecx, dword [ebp - 8]
push ecx
push ebx
push esi
call sub.ntoskrnl.exe_memset
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add esp, 0xc
lea edx, [ebp - 8]
push edx
push eax
push esi
push ebx
push edi
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwEnumerateKey]
test eax, eax
jl 0x1b495
lea edx, [ebp - 1]
push edx
lea edi, [esi + 0x10]
push edi
call fcn.0001b050
cmp byte [ebp - 1], bl
je 0x1b48f
push edi
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x2c]
push eax
mov dword [ebp - 0x54], ecx
push 0xf003f
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x5c], 0x18
mov dword [ebp - 0x50], 0x240
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x58], edx
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
jl 0x1b48f
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwDeleteKey]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x18], ebx
push ebx
push esi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
sub edi, 1
mov dword [ebp - 0x14], edi
jns 0x1b3d3
mov esi, dword [ebp - 0x1c]
push ebx
push esi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret