Function at 0x77cbf6c2
Capabilities:
Query or enumerate registry value

Disassembly:
mov dword [ebp - 0xe4], 0x80000005
jmp 0x77cbf843
mov dword [ebp - 0xe4], 0x80000005
jmp 0x77cbf82b
lea eax, [ebp - 0xec]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.77ca7fd4
test eax, eax
jl 0x77cea0b0
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x100]
push eax
push dword [ebp + 0xc]
push ebx
push dword [ebp - 0xec]
call fcn.77ca7fab
jmp 0x77cbf74f
push dword [ebp - 0xf0]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call esi
jmp 0x77cbf8b3
mov eax, dword [ebp - 0xf4]
cmp eax, ecx
je 0x77cbf7cb
mov eax, dword [eax]
cmp eax, dword [edi + 0xc]
jae 0x77cbf16c
jmp 0x77cbf7cb
lea edi, [ebp - 0xe0]
mov ebx, 0xdc
jmp 0x77cbf79a
xor ecx, ecx
cmp dword [ebp - 0xe8], ecx
je 0x77cea0be
cmp dword [ebp - 0xe8], 1
jne 0x77cbf7cb
mov eax, dword [edi + 0x10]
movzx edx, word [esi + 2]
inc eax
inc eax
cmp edx, eax
jb 0x77cbf7cb
cmp dword [ebp - 0x104], ecx
jne 0x77cb1c22
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xe4], eax
mov eax, dword fs:[0x18]
push dword [ebp - 0xf8]
mov eax, dword [eax + 0x30]
push ecx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edi, eax
test edi, edi
je 0x77cea0d4
lea eax, [ebp - 0xf8]
push eax
push dword [ebp - 0xe4]
push edi
push dword [ebp - 0xe8]
push dword [ebp + 0xc]
push dword [ebp - 0x100]
call ebx
mov dword [ebp - 0xe4], eax
jmp 0x77cbf7cb
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x77d260c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x20]
and dword [ebp - 0xf0], 0
and dword [ebp - 0xec], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x1c]
test edi, edi
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x104], eax
mov dword [ebp - 0xf4], edi
mov dword [ebp - 0xfc], edx
mov dword [ebp - 0x100], ebx
je 0x77cbf722
test eax, eax
jne 0x77cbf722
and dword [edi], eax
cmp ebx, 0x80000004
je 0x77cea113
cmp ebx, 0x80000050
je 0x77cea113
cmp ebx, 0x80000060
je 0x77cea113
test bl, 2
jne 0x77ca7f6f
movzx ebx, word [esi + 2]
xor eax, eax
test edi, edi
setne al
test edi, edi
mov dword [ebp - 0xe8], eax
je 0x77cbf766
add ebx, dword [edi]
cmp ebx, 0xc4
jbe 0x77cbf110
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
lea ecx, [ebx + 0x18]
push ecx
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
test eax, eax
mov dword [ebp - 0xf0], eax
je 0x77cea0b6
mov edi, eax
lea eax, [ebp - 0xf8]
push eax
push ebx
mov ebx, dword [sym.imp.ntdll.dll_NtEnumerateValueKey]
push edi
push dword [ebp - 0xe8]
push dword [ebp + 0xc]
push dword [ebp - 0x100]
call ebx
cmp eax, 0x80000005
mov dword [ebp - 0xe4], eax
je 0x77cbf134
push dword [ebp - 0xec]
call fcn.77cbf8ef
xor ebx, ebx
cmp dword [ebp - 0xe4], ebx
jl 0x77cbf905
cmp dword [ebp - 0xe8], ebx
movzx ecx, word [esi + 2]
je 0x77cea0e1
mov eax, dword [edi + 0x10]
inc eax
inc eax
cmp ecx, eax
jb 0x77ca6754
movzx eax, word [edi + 0x10]
mov word [esi], ax
movzx eax, ax
push eax
lea eax, [edi + 0x14]
push eax
push dword [esi + 4]
call sub.ntdll.dll_memmove
movzx eax, word [esi]
mov ecx, dword [esi + 4]
shr eax, 1
add esp, 0xc
mov word [ecx + eax*2], bx
add word [esi], 2
cmp dword [ebp - 0xe4], ebx
jl 0x77cbf905
cmp dword [ebp - 0x104], ebx
jne 0x77cc8224
cmp dword [ebp - 0xe4], ebx
jl 0x77cbf905
cmp dword [ebp - 0xe8], ebx
mov eax, dword [ebp - 0x108]
je 0x77cea101
cmp eax, ebx
je 0x77cbf86a
mov ecx, dword [edi + 4]
mov dword [eax], ecx
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0xf4]
mov dword [ecx], eax
cmp dword [ebp - 0xe4], ebx
mov eax, dword [ebp - 0xfc]
jl 0x77cbf91a
cmp eax, ebx
je 0x77cbf899
mov ecx, dword [ebp - 0xf4]
cmp ecx, ebx
je 0x77cbf899
mov ecx, dword [ecx]
mov dword [eax], ecx
cmp dword [ebp - 0xf0], ebx
mov esi, dword [sym.imp.ntdll.dll_RtlFreeHeap]
je 0x77cbf8b3
cmp edi, dword [ebp - 0xf0]
jne 0x77cb1c08
lea eax, [ebp - 0xe0]
cmp edi, eax
je 0x77cbf8cd
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push ebx
push dword [eax + 0x18]
call esi
push dword [ebp - 0xe4]
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.77cd6011
leave
ret 0x1c
cmp dword [ebp - 0xe4], 0x80000005
jne 0x77cbf875
jmp 0x77cbf84f
cmp eax, ebx
je 0x77cbf899
mov dword [eax], ebx
jmp 0x77cbf899
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0xf4]
cmp dword [ecx], eax
jb 0x77c978be
push eax
mov eax, dword [edi + 8]
add eax, edi
push eax
push dword [ebp - 0x104]
call sub.ntdll.dll_memmove
add esp, 0xc
jmp 0x77cbf843
push eax
jmp 0x77cbf8d3
push 0xe
pop eax
jmp 0x77cbf8d9
mov eax, dword [edi + 8]
movzx edx, word [esi + 2]
inc eax
inc eax
cmp edx, eax
jb 0x77cbf142
jmp 0x77cbf16c
push dword [ebp - 0xec]
call fcn.77cbf8ef
jmp 0x77cea0b6
mov eax, dword [edi + 8]
inc eax
inc eax
cmp ecx, eax
jb 0x77ca6754
movzx eax, word [edi + 8]
mov word [esi], ax
movzx eax, ax
push eax
lea eax, [edi + 0xc]
jmp 0x77cbf80f
cmp eax, ebx
je 0x77cbf875
mov ecx, dword [edi + 4]
mov dword [eax], ecx
jmp 0x77cbf875
push edx
push edi
push eax
push ecx
push 0
push esi
push dword [ebp + 0xc]
push ebx
call fcn.77d1d669
jmp 0x77cbf8d9