Function at 0x76f0137e
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.KERNEL32.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 0x76f016bd
push edi
push 8
push dword [0x76f11088]
call esi
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x76f016bd
lea eax, [ebp - 4]
push eax
push 0xf003f
push ebx
push dword [ebp + 8]
push dword [0x76f11f50]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x76f01412
mov dword [ebp - 4], ebx
jmp 0x76f016cb
lea eax, [ebp - 0x30]
push eax
push 4
push 0x76efe6a4
push dword [ebp - 4]
call fcn.76f007d8
test eax, eax
jne 0x76f016bd
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 0x76f01734
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.76f007d8
test eax, eax
jne 0x76f016bd
cmp esi, ebx
je 0x76f01484
lea eax, [ebp - 0x2c]
push eax
push 1
push 0x76efe6e8
push dword [ebp - 4]
call fcn.76f007d8
test eax, eax
jne 0x76f016bd
cmp dword [ebp - 0x44], ebx
je 0x76f014a4
lea eax, [ebp - 0x28]
push eax
push 1
push 0x76efe6fc
push dword [ebp - 4]
call fcn.76f007d8
test eax, eax
jne 0x76f016bd
lea eax, [ebp - 0x3c]
push eax
push 4
pop esi
push esi
push 0x76efe6d8
push dword [ebp - 4]
call fcn.76f007d8
test eax, eax
jne 0x76f016bd
lea eax, [ebp - 0x38]
push eax
push esi
push 0x76efe6c4
push dword [ebp - 4]
call fcn.76f007d8
test eax, eax
jne 0x76f016bd
lea eax, [ebp - 0x34]
push eax
push esi
push 0x76efe6b4
push dword [ebp - 4]
call fcn.76f007d8
test eax, eax
jne 0x76f016bd
lea eax, [ebp - 0x20]
push eax
push esi
push 0x76efe678
push dword [ebp - 4]
call fcn.76f007d8
test eax, eax
jne 0x76f016bd
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0x76efe690
push dword [ebp - 4]
mov dword [ebp - 8], edi
call esi
cmp eax, 0xea
jne 0x76f0156f
push dword [ebp - 0x10]
call fcn.76f0010f
push dword [ebp - 8]
push 8
push dword [0x76f11088]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x76f016bd
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0x76efe690
push dword [ebp - 4]
call esi
cmp eax, ebx
jne 0x76f016bd
mov eax, dword [ebp - 8]
push 0x14
xor edx, edx
pop ecx
div ecx
cmp eax, dword [ebp - 0x20]
jb 0x76f016bd
lea eax, [ebp - 0x14]
push eax
push 4
push 0x76efe64c
push dword [ebp - 4]
call fcn.76f007d8
test eax, eax
je 0x76f015a4
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x14], ebx
je 0x76f01620
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, 0x76efe664
push edi
push dword [ebp - 4]
call esi
cmp eax, 0xea
jne 0x76f01608
push dword [ebp - 0xc]
push ebx
push dword [0x76f11088]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 8]
push 8
push dword [0x76f11088]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x76f016bd
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 0x76f016bd
mov eax, dword [ebp - 8]
shr eax, 2
cmp eax, dword [ebp - 0x14]
jae 0x76f01623
jmp 0x76f016bd
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov dword [ebp - 0x40], eax
je 0x76f01641
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x76f01630
sub eax, edx
mov dword [ebp - 0x50], eax
jne 0x76f01641
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov edi, eax
je 0x76f0165d
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x76f0164d
sub eax, edx
mov dword [ebp - 0x50], eax
jne 0x76f0165d
xor edi, edi
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.76ef365a
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.76f0116e
test eax, eax
je 0x76f016a4
mov dword [ebp - 0x18], ebx
jmp 0x76f016bd
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 0x76f016cb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x10]
call fcn.76f0010f
push dword [ebp - 0xc]
call fcn.76f0010f
push dword [ebp - 0x24]
call fcn.76ef262e
push dword [ebp - 0x28]
call fcn.76ef262e
push dword [ebp - 0x2c]
call fcn.76ef262e
push dword [ebp - 0x18]
push 0x76f0170c
call fcn.76f00acb
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
leave
ret 4