Function at 0x76e45f05
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
push 0x38
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, ebx
je 0x76e489fa
push ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
push eax
push edi
push 0x76e46018
push 1
mov dword [edi], 0x76e46133
mov dword [edi + 4], ebx
mov dword [edi + 8], 0x76e4600c
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
call dword [sym.imp.ntdll.dll_RtlQueryRegistryValues]
cmp eax, ebx
jl 0x76e48a02
mov dword [ebp - 4], ebx
push esi
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x10]
cmp esi, eax
je 0x76e45fb7
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 8]
mov eax, dword [eax]
cmp eax, 0xffffffff
jne 0x76e48a10
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
cmp eax, 0xffffffff
jne 0x76e48a40
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov ecx, dword [ecx + 4]
cmp ecx, dword [eax + 4]
jne 0x76e48a70
mov esi, dword [esi]
lea eax, [ebp - 0x10]
cmp esi, eax
jne 0x76e45f7e
xor ebx, ebx
cmp dword [ebp - 4], ebx
jne 0x76e48a7b
mov dword [ebp - 8], ebx
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x10]
cmp esi, eax
je 0x76e4604c
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
mov dword [eax + 4], ecx
mov eax, dword [esi + 8]
mov eax, dword [eax]
cmp eax, 0xffffffff
jne 0x76e48aa9
mov eax, dword [esi + 8]
cmp dword [eax + 4], 1
jne 0x76e45ff2
inc dword [ebp - 8]
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
cmp eax, 0xffffffff
jne 0x76e48ab5
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x76e45fc3
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [0x76e5f458]
cmp eax, ebx
mov esi, dword [sym.imp.ntdll.dll_NtClose]
je 0x76e4606b
push eax
call esi
mov dword [0x76e5f458], ebx
mov eax, dword [0x76e5f444]
cmp eax, ebx
je 0x76e4607d
push eax
call esi
mov dword [0x76e5f444], ebx
cmp dword [ebp - 8], ebx
pop esi
je 0x76e48ac1
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret
push 8
pop eax
jmp 0x76e4608a
push eax
call fcn.76e42aa0
mov dword [ebp - 4], eax
jmp 0x76e45f6d
push 0xffffffffffffffff
push eax
call ebx
mov eax, dword [esi + 8]
push dword [eax + 8]
call fcn.76e42a13
mov edx, dword [esi + 8]
xor ecx, ecx
test eax, eax
sete cl
push 0x34
mov dword [edx + 4], ecx
pop ecx
cmp eax, ecx
jne 0x76e45f8c
mov dword [ebp - 4], ecx
jmp 0x76e45f8c
push 0xffffffffffffffff
push eax
call ebx
mov eax, dword [esi + 0xc]
push dword [eax + 8]
call fcn.76e42a13
mov edx, dword [esi + 0xc]
xor ecx, ecx
test eax, eax
sete cl
push 0x34
mov dword [edx + 4], ecx
pop ecx
cmp eax, ecx
jne 0x76e45f9a
mov dword [ebp - 4], ecx
jmp 0x76e45f9a
push esi
call fcn.76e4b285
jmp 0x76e45fac
cmp dword [ebp - 4], 0x34
jne 0x76e48a90
push ebx
push ebx
push ebx
push 1
push 0x860
call fcn.76e4b849
mov esi, dword [ebp - 0x10]
jmp 0x76e48a9d
push esi
call fcn.76e4b285
mov esi, dword [esi]
lea eax, [ebp - 0x10]
cmp esi, eax
jne 0x76e48a95
jmp 0x76e45fc0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x76e45fe6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x76e46000
cmp dword [ebp - 4], 0x34
je 0x76e46087
push ebx
push ebx
push ebx
push 1
push 0x1660
call fcn.76e4b849
mov dword [ebp - 4], ebx
jmp 0x76e46087