Function at 0x77cc7e04
Capabilities:
Query or enumerate registry key

Disassembly:
mov ecx, dword [esi]
mov dword [eax], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
jmp 0x77cc7f22
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x77d1a0c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
xor esi, esi
cmp eax, 0x80000004
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x12c], esi
je 0x77cdb5db
cmp eax, 0x80000050
je 0x77cdb5db
cmp eax, 0x80000060
je 0x77cdb5db
xor ecx, ecx
cmp dword [ebx + 4], esi
lea esi, [ebp - 0x124]
setne cl
and dword [ebp - 0x13c], 0
test al, 2
mov dword [ebp - 0x130], ecx
jne 0x77cc8c11
lea ecx, [ebp - 0x12c]
push ecx
push 0x120
lea ecx, [ebp - 0x124]
push ecx
push dword [ebp - 0x130]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ntdll.dll_NtEnumerateKey]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0x80000005
je 0x77cdb54a
cmp dword [ebp - 0x128], 0
jl 0x77cc7f22
cmp dword [ebp - 0x130], 0
mov ecx, dword [edi + 4]
jne 0x77cc9d86
test ecx, ecx
je 0x77cc9b3a
mov edx, dword [esi + 0xc]
movzx eax, word [edi + 2]
inc edx
inc edx
cmp eax, edx
jb 0x77cc9b3a
movzx eax, word [esi + 0xc]
mov word [edi], ax
movzx eax, ax
push eax
lea eax, [esi + 0x10]
push eax
push ecx
call sub.ntdll.dll_memmove
movzx eax, word [edi]
mov ecx, dword [edi + 4]
shr eax, 1
and word [ecx + eax*2], 0
add esp, 0xc
add word [edi], 2
mov eax, dword [ebp - 0x138]
test eax, eax
jne 0x77ca5742
lea eax, [ebp - 0x124]
cmp esi, eax
jne 0x77cdb5c1
push dword [ebp - 0x128]
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.77cc744e
leave
ret 0x14
lea ecx, [ebp - 0x12c]
push ecx
push 0x120
mov ecx, esi
push ecx
push dword [ebp - 0x130]
push dword [ebp + 0xc]
push eax
push 0x77d1a600
call fcn.77cc8c5f
test eax, eax
mov dword [ebp - 0x128], eax
jl 0x77cc8c4b
cmp dword [ebp - 0x12c], 0
je 0x77cc9b49
mov dword [ebp - 0x13c], 1
jmp 0x77cc7ea9
mov dword [ebp - 0x128], 0x80000005
jmp 0x77cc7f14
mov eax, dword [ebp - 0x134]
jmp 0x77cc7e80
test ecx, ecx
je 0x77cc9b3a
mov edx, dword [esi + 0x14]
movzx eax, word [edi + 2]
inc edx
inc edx
cmp eax, edx
jb 0x77cc9b3a
cmp dword [ebx + 4], 0
je 0x77cc9b3a
mov edx, dword [esi + 0x10]
movzx eax, word [ebx + 2]
inc edx
inc edx
cmp eax, edx
jb 0x77cc9b3a
movzx eax, word [esi + 0x14]
mov word [edi], ax
movzx eax, ax
push eax
lea eax, [esi + 0x18]
push eax
push ecx
call sub.ntdll.dll_memmove
movzx eax, word [edi]
mov ecx, dword [edi + 4]
shr eax, 1
and word [ecx + eax*2], 0
add word [edi], 2
mov ax, word [esi + 0x10]
mov word [ebx], ax
push dword [esi + 0x10]
mov eax, dword [esi + 0xc]
add eax, esi
push eax
push dword [ebx + 4]
call sub.ntdll.dll_memmove
movzx eax, word [ebx]
mov ecx, dword [ebx + 4]
shr eax, 1
and word [ecx + eax*2], 0
add esp, 0x18
add word [ebx], 2
jmp 0x77cc7f14
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x128], eax
mov eax, dword fs:[0x18]
push dword [ebp - 0x12c]
mov eax, dword [eax + 0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
test esi, esi
jne 0x77cdb57e
push 0xe
pop eax
jmp 0x77cc7f3c
cmp dword [ebp - 0x13c], 0
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 0x128]
push esi
push dword [ebp - 0x130]
push dword [ebp + 0xc]
push dword [ebp - 0x134]
je 0x77cdb5b0
push 0x77d1a600
call fcn.77cc8c5f
jmp 0x77cdb5b6
call dword [sym.imp.ntdll.dll_NtEnumerateKey]
mov dword [ebp - 0x128], eax
jmp 0x77cc7eb9
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x77cc7f30
push ecx
push ebx
push esi
push edi
push dword [ebp + 0xc]
push eax
call fcn.77d11c9d
jmp 0x77cc7f3c