Function at 0x76f0152e
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
mov esi, dword [sym.imp._CKERNEL.DLL_HeapAlloc]
push edi
xor ebx, ebx
mov edi, 0x800
push edi
push 8
push dword [0x76f11088]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], 0x103
call esi
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x76f0186d
push edi
push 8
push dword [0x76f11088]
call esi
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x76f0186d
lea eax, [ebp - 4]
push eax
push 0xf003f
push ebx
push dword [ebp + 8]
push dword [0x76f11f48]
call dword [sym.imp._CADVAPI.DLL_RegOpenKeyExA]
test eax, eax
je 0x76f015c2
mov dword [ebp - 4], ebx
jmp 0x76f0187b
lea eax, [ebp - 0x30]
push eax
push 4
push 0x76efe858
push dword [ebp - 4]
call fcn.76f00988
test eax, eax
jne 0x76f0186d
mov eax, dword [ebp - 0x30]
mov esi, eax
mov ecx, eax
xor edx, edx
inc edx
shr eax, 2
and eax, edx
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x24]
push eax
push edx
push 0x76f018e4
push dword [ebp - 4]
shr esi, 1
and esi, edx
and ecx, edx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x44], ecx
call fcn.76f00988
test eax, eax
jne 0x76f0186d
cmp esi, ebx
je 0x76f01634
lea eax, [ebp - 0x2c]
push eax
push 1
push 0x76efe89c
push dword [ebp - 4]
call fcn.76f00988
test eax, eax
jne 0x76f0186d
cmp dword [ebp - 0x44], ebx
je 0x76f01654
lea eax, [ebp - 0x28]
push eax
push 1
push 0x76efe8b0
push dword [ebp - 4]
call fcn.76f00988
test eax, eax
jne 0x76f0186d
lea eax, [ebp - 0x3c]
push eax
push 4
pop esi
push esi
push 0x76efe88c
push dword [ebp - 4]
call fcn.76f00988
test eax, eax
jne 0x76f0186d
lea eax, [ebp - 0x38]
push eax
push esi
push 0x76efe878
push dword [ebp - 4]
call fcn.76f00988
test eax, eax
jne 0x76f0186d
lea eax, [ebp - 0x34]
push eax
push esi
push 0x76efe868
push dword [ebp - 4]
call fcn.76f00988
test eax, eax
jne 0x76f0186d
lea eax, [ebp - 0x20]
push eax
push esi
push 0x76efe82c
push dword [ebp - 4]
call fcn.76f00988
test eax, eax
jne 0x76f0186d
mov esi, dword [sym.imp._CADVAPI.DLL_RegQueryValueExA]
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0x76efe844
push dword [ebp - 4]
mov dword [ebp - 8], edi
call esi
cmp eax, 0xea
jne 0x76f0171f
push dword [ebp - 0x10]
call fcn.76f002c3
push dword [ebp - 8]
push 8
push dword [0x76f11088]
call dword [sym.imp._CKERNEL.DLL_HeapAlloc]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x76f0186d
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0x76efe844
push dword [ebp - 4]
call esi
cmp eax, ebx
jne 0x76f0186d
mov eax, dword [ebp - 8]
push 0x14
xor edx, edx
pop ecx
div ecx
cmp eax, dword [ebp - 0x20]
jb 0x76f0186d
lea eax, [ebp - 0x14]
push eax
push 4
push 0x76efe800
push dword [ebp - 4]
call fcn.76f00988
test eax, eax
je 0x76f01754
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x14], ebx
je 0x76f017d0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 8], edi
push ebx
mov edi, 0x76efe818
push edi
push dword [ebp - 4]
call esi
cmp eax, 0xea
jne 0x76f017b8
push dword [ebp - 0xc]
push ebx
push dword [0x76f11088]
call dword [sym.imp._CKERNEL.DLL_HeapFree]
push dword [ebp - 8]
push 8
push dword [0x76f11088]
call dword [sym.imp._CKERNEL.DLL_HeapAlloc]
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x76f0186d
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x1c]
push eax
push ebx
push edi
push dword [ebp - 4]
call esi
cmp eax, ebx
jne 0x76f0186d
mov eax, dword [ebp - 8]
shr eax, 2
cmp eax, dword [ebp - 0x14]
jae 0x76f017d3
jmp 0x76f0186d
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov dword [ebp - 0x40], eax
je 0x76f017f1
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x76f017e0
sub eax, edx
mov dword [ebp - 0x50], eax
jne 0x76f017f1
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov edi, eax
je 0x76f0180d
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x76f017fd
sub eax, edx
mov dword [ebp - 0x50], eax
jne 0x76f0180d
xor edi, edi
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.76ef369a
mov esi, dword [ebp - 0x48]
push eax
push ebx
mov eax, esi
neg eax
sbb eax, eax
and eax, 8
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0xc]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp - 0x20]
push ebx
push edi
push dword [ebp - 0x40]
push dword [ebp - 0x24]
push dword [ebp + 8]
call fcn.76f0131e
test eax, eax
je 0x76f01854
mov dword [ebp - 0x18], ebx
jmp 0x76f0186d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x44]
mov dword [eax + 0x44], 1
mov dword [eax + 0x50], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x58], esi
cmp dword [ebp - 4], ebx
je 0x76f0187b
push dword [ebp - 4]
call dword [sym.imp._CADVAPI.DLL_RegCloseKey]
push dword [ebp - 0x10]
call fcn.76f002c3
push dword [ebp - 0xc]
call fcn.76f002c3
push dword [ebp - 0x24]
call fcn.76ef264e
push dword [ebp - 0x28]
call fcn.76ef264e
push dword [ebp - 0x2c]
call fcn.76ef264e
push dword [ebp - 0x18]
push 0x76f018bc
call fcn.76f00c7b
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
leave
ret 4