Function at 0x11164e0
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.01116100
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x111651a
mov edx, dword [ebp - 0x1c]
push edx
call sub.ntdll.dll_RtlNtStatusToDosError
jmp 0x1116762
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
jbe 0x1116550
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
sub edx, 1
cmp edx, 0x100
jae 0x111653f
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
sub ecx, 1
mov dword [ebp - 0x24], ecx
jmp 0x1116546
mov dword [ebp - 0x24], 0x100
mov edx, dword [ebp - 0x24]
shl edx, 1
mov dword [ebp - 0x18], edx
jmp 0x1116557
mov dword [ebp - 0x18], 0
cmp dword [ebp + 0x1c], 0
je 0x11165ab
mov eax, dword [ebp + 0x20]
cmp dword [eax], 0
jbe 0x1116593
mov ecx, dword [ebp + 0x20]
mov edx, dword [ecx]
sub edx, 1
cmp edx, 0x100
jae 0x1116582
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
sub ecx, 1
mov dword [ebp - 0x28], ecx
jmp 0x1116589
mov dword [ebp - 0x28], 0x100
mov edx, dword [ebp - 0x28]
shl edx, 1
mov dword [ebp - 0x14], edx
jmp 0x111659a
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x18]
add eax, 0x23
and eax, 0xfffffffc
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
jmp 0x11165b4
mov ecx, dword [ebp - 0x18]
add ecx, 0x18
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
push edx
push 0
call fcn.0108d180
push eax
call sub.ntdll.dll_RtlAllocateHeap
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x11165da
mov dword [ebp - 0xc], 0xe
jmp 0x111674d
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 8]
push edx
xor eax, eax
cmp dword [ebp + 0x1c], 0
setne al
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ntdll.dll_ZwEnumerateKey]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x1116618
mov eax, dword [ebp - 0x1c]
push eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov dword [ebp - 0xc], eax
jmp 0x111673c
cmp dword [ebp + 0x1c], 0
jne 0x111666c
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
cmp edx, dword [ebp - 0x18]
jbe 0x1116632
mov dword [ebp - 0xc], 0x6f
jmp 0x1116667
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 8]
add edx, 0x10
push edx
mov eax, dword [ebp + 0x10]
push eax
call sub.ntdll.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
shr edx, 1
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
mov word [eax + edx*2], 0
jmp 0x11166fc
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x14]
cmp edx, dword [ebp - 0x18]
ja 0x1116682
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp - 0x14]
jbe 0x111668b
mov dword [ebp - 0xc], 0x6f
jmp 0x11166fc
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x18
push ecx
mov edx, dword [ebp + 0x10]
push edx
call sub.ntdll.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x14]
shr ecx, 1
mov edx, dword [ebp + 0x14]
mov dword [edx], ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp + 0x10]
mov word [edx + ecx*2], 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax + 0x18]
push edx
mov eax, dword [ebp + 0x1c]
push eax
call sub.ntdll.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
shr edx, 1
mov eax, dword [ebp + 0x20]
mov dword [eax], edx
mov ecx, dword [ebp + 0x20]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x1c]
mov word [eax + edx*2], 0
cmp dword [ebp - 0xc], 0
jne 0x111673c
cmp dword [ebp + 0x24], 0
je 0x111673c
cmp dword [ebp + 0x1c], 0
jne 0x1116726
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
jmp 0x111673c
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 8]
push ecx
push 0
call fcn.0108d180
push eax
call sub.ntdll.dll_RtlFreeHeap
mov edx, dword [ebp - 0x10]
and edx, 1
je 0x111675f
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ntdll.dll_ZwClose]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0x20