Function at 0x11670
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x26148
push 0x25444
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff68
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x19], 0
mov dword [ebp - 4], 0
call fcn.00013680
movzx eax, al
test eax, eax
je 0x118c0
mov dword [ebp - 0x38], 0x18
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea edx, [ebp - 0x38]
push edx
push 0x20019
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
jne 0x118c0
mov dword [ebp - 0x44], 0
push 0x11620
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea edx, [ebp - 0x44]
push edx
push 0
push 0
push 2
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
cmp dword [ebp - 0x44], 0
je 0x118b6
mov edx, dword [ebp - 0x44]
add edx, 2
push edx
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x118b6
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x48]
push edx
push 2
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
test eax, eax
jne 0x118ac
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 8]
shr eax, 1
mov ecx, dword [ebp - 0x48]
mov word [ecx + eax*2 + 0xc], 0
mov word [ebp - 0x5c], 0x12
mov word [ebp - 0x5a], 0x14
mov dword [ebp - 0x58], 0x11634
mov edx, dword [ebp - 0x48]
add edx, 0xc
push edx
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push 1
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.ntoskrnl.exe_RtlPrefixUnicodeString]
movzx eax, al
test eax, eax
je 0x11831
mov word [ebp - 0x64], 0x18
mov word [ebp - 0x62], 0x1a
mov dword [ebp - 0x60], 0x11648
movzx ecx, word [ebp - 0x64]
movzx edx, word [ebp - 0x54]
lea eax, [ecx + edx + 2]
push eax
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x11831
movzx ecx, word [ebp - 0x64]
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp - 0x4c]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movzx ecx, word [ebp - 0x54]
add ecx, 2
mov esi, dword [ebp - 0x50]
movzx eax, word [ebp - 0x64]
shr eax, 1
mov edx, dword [ebp - 0x4c]
lea edi, [edx + eax*2]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp - 0x4c], 0
je 0x11842
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0xa8], ecx
jmp 0x1184e
mov edx, dword [ebp - 0x48]
add edx, 0xc
mov dword [ebp - 0xa8], edx
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
call fcn.000133e0
movzx edx, al
test edx, edx
je 0x1189c
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0x84]
push eax
call fcn.0001b6d0
mov byte [ebp - 0x19], 1
cmp dword [ebp - 0x4c], 0
je 0x118ac
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.ntoskrnl.exe_ExFreePool]
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.ntoskrnl.exe_ExFreePool]
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov dword [ebp - 4], 0xffffffff
jmp 0x118dd
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4