Function at 0x402b0b
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
push ebx
mov ebx, dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
push esi
push edi
mov esi, 0x4d746147
push esi
mov edi, 0x400
push edi
push 1
call ebx
push esi
push edi
push 1
mov dword [ebp - 0x18], eax
call ebx
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x20], eax
push str.RegistryMachineSOFTWAREMicrosoftWindows_NTCurrentVersionProfileList_
lea eax, [ebp - 0x44]
push eax
mov dword [0x407128], 0x7165
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push str.RegistryUser_
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push str.SoftwareMicrosoftInternet_ExplorerMain_
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
xor eax, eax
mov word [ebp - 0x14], ax
mov eax, edi
mov edi, dword [sym.imp.ntoskrnl.exe_RtlCopyUnicodeString]
mov word [ebp - 0x12], ax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x28], 0x4000000
call edi
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x28]
push eax
call edi
push 0x38
lea eax, [ebp - 0xa4]
push 0
push eax
call dword [sym.imp.ntoskrnl.exe_memset]
add esp, 0xc
push 4
lea eax, [ebp - 0x38]
mov dword [ebp - 0x98], eax
pop eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x8c], eax
xor eax, eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x90], ecx
push 0xf003f
lea eax, [ebp - 0xc]
lea ecx, [ebp - 0x44]
push eax
mov dword [ebp - 0xa0], 0x20
mov dword [ebp - 0x9c], str.RefCount
mov dword [ebp - 0x64], 0x18
mov dword [ebp - 0x58], 0x40
mov dword [ebp - 0x5c], ecx
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
js 0x402d53
lea eax, [ebp - 4]
push eax
push 0
push 0
push 2
push dword [ebp - 0xc]
call dword [sym.imp.ntoskrnl.exe_ZwQueryKey]
push esi
push dword [ebp - 4]
push 1
call ebx
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 4]
mov dword [ebp - 0x1c], eax
push eax
push 2
push dword [ebp - 0xc]
call dword [sym.imp.ntoskrnl.exe_ZwQueryKey]
mov ecx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 8], eax
cmp dword [ecx + 0x14], eax
jbe 0x402d49
jmp 0x402c76
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push eax
push eax
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.ntoskrnl.exe_ZwEnumerateKey]
push esi
push dword [ebp - 4]
push 1
call ebx
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 4]
mov dword [ebp - 0x2c], eax
push eax
push 0
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.ntoskrnl.exe_ZwEnumerateKey]
mov eax, dword [ebp - 0x2c]
mov cx, word [eax + 0xc]
mov word [ebp - 0x34], cx
mov dx, word [eax + 0xc]
add eax, 0x10
mov word [ebp - 0x32], dx
mov dword [ebp - 0x30], eax
cmp cx, 0x14
jbe 0x402d19
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
xor eax, eax
push eax
push eax
lea ecx, [ebp - 0xa4]
push ecx
push dword [ebp - 0x24]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlQueryRegistryValues]
cmp dword [ebp - 0x38], 0
jbe 0x402d19
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.00402a8c
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x14]
push eax
call edi
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x28]
push eax
call edi
push esi
push dword [ebp - 0x2c]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
inc dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0x14]
jb 0x402c74
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp dword [ebp - 0x18], 0
je 0x402d63
push esi
push dword [ebp - 0x18]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp dword [ebp - 0x20], 0
je 0x402d73
push esi
push dword [ebp - 0x20]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
push dword [ebp - 0xc]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
pop edi
pop esi
pop ebx
leave
ret