Function at 0x134ce
Capabilities:
Print debug messages
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x15058]
push ebx
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
push edi
push 0x206b6444
xor ebx, ebx
push 0x400
push ebx
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
call esi
mov edi, eax
mov dword [ebp - 0x14], edi
xor eax, eax
mov ecx, 0x100
rep stosd dword es:[edi], eax
push 0x133ea
push dword [ebp - 0x14]
mov word [ebp - 0x16], 0x400
call dword [sym.imp.ntoskrnl.exe_wcscat]
push dword [ebp - 0x14]
call dword [sym.imp.ntoskrnl.exe_wcslen]
shl eax, 1
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x18]
add esp, 0xc
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x48]
push eax
push 0xf003f
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x48], 0x18
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x3c], 0x40
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
jl 0x13723
push 0x206b6444
push 0x818
push ebx
call esi
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x24], esi
je 0x13723
xor eax, eax
mov ecx, 0x206
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
push eax
push 0x818
push esi
push ebx
mov dword [ebp - 0x28], ebx
push ebx
jmp 0x1370a
cmp dword [ebp - 0x30], ebx
jbe 0x136e9
mov edi, dword [ebp - 0x14]
mov word [ebp - 0x16], 0x400
xor eax, eax
mov ecx, 0x100
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0xc]
mov edi, dword [ebp - 0x14]
shl ecx, 1
mov eax, ecx
shr ecx, 2
add esi, 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push dword [ebp - 0x14]
call dword [sym.imp.ntoskrnl.exe_wcslen]
shl eax, 1
mov word [ebp - 0x18], ax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x18]
pop ecx
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x48]
push eax
push 0xf003f
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x48], 0x18
mov dword [ebp - 0x3c], 0x40
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
jl 0x136f6
cmp dword [ebp - 0x20], ebx
jbe 0x136e6
lea eax, [ebp - 0x2c]
push eax
push 0x1345e
push dword [ebp - 0x20]
mov dword [ebp - 0x2c], ebx
call fcn.00012e3a
test eax, eax
mov esi, dword [ebp - 0x2c]
jl 0x136d1
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esi + 8]
add eax, esi
push 0x13462
push eax
call dword [sym.imp.ntoskrnl.exe_wcsstr]
test eax, eax
pop ecx
pop ecx
je 0x136d1
push 0x13476
call sub.ntoskrnl.exe_DbgPrint
pop ecx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x20]
call fcn.00013196
cmp byte [ebp - 0x10], bl
je 0x136d1
mov edi, dword [ebp - 0x14]
xor eax, eax
mov ecx, 0x100
rep stosd dword es:[edi], eax
push 0x1349a
push dword [ebp - 0x14]
call dword [sym.imp.ntoskrnl.exe_wcscat]
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
add eax, 0x10
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00012e9a
mov ecx, dword [0x15408]
push 5
push dword [ebp - 0x14]
call fcn.00012c28
push eax
push dword [ebp - 0x14]
push 0x134ae
call sub.ntoskrnl.exe_DbgPrint
add esp, 0xc
cmp esi, ebx
je 0x136dd
push ebx
push esi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
push dword [ebp - 0x20]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov esi, dword [ebp - 0x24]
mov ecx, 0x206
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
jmp 0x136f9
mov esi, dword [ebp - 0x24]
inc dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push eax
push 0x818
push esi
push ebx
push dword [ebp - 0x28]
push dword [ebp - 0x1c]
call dword [sym.imp.ntoskrnl.exe_ZwEnumerateKey]
test eax, eax
jge 0x135a2
push ebx
push esi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp dword [ebp - 0x14], ebx
je 0x13732
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp dword [ebp - 0x1c], ebx
pop edi
pop esi
pop ebx
je 0x13743
push dword [ebp - 0x1c]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov ecx, dword [ebp - 4]
xor eax, eax
call fcn.00013f40
leave
ret