Function at 0x4b190b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x6c10c8]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0x42c], eax
mov eax, esi
and eax, 0x200
mov dword [ebp - 0x418], ebx
or eax, 0
push edi
mov edi, edx
je 0x4b1a66
and dword [ebp - 0x414], 0
lea eax, [ebp - 0x414]
push ecx
xor edx, edx
mov ecx, 0x613424
push eax
inc edx
call fcn.00414249
test eax, eax
jne 0x4b1a66
lea eax, [ebp - 0x41c]
xor ecx, ecx
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x428], ecx
push eax
lea eax, [ebp - 0x424]
push eax
push ecx
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x40c]
push eax
push ecx
jmp 0x4b1a32
and dword [ebp - 0x410], 0
cmp dword [ebp - 0x424], 1
jne 0x4b19ff
mov eax, dword [ebp - 0x420]
test eax, eax
je 0x4b19ff
cmp dword [edi], eax
jbe 0x4b19ff
push eax
push dword [ebx]
push eax
lea eax, [ebp - 0x40c]
push eax
call fcn.00462ac2
test al, al
je 0x4b19ff
push dword [ebp - 0x42c]
mov ebx, dword [ebp - 0x41c]
lea eax, [ebp - 0x410]
push eax
mov eax, dword [edi]
shr ebx, 1
dec ebx
add eax, ebx
add eax, eax
push eax
call fcn.0056fda2
test eax, eax
jns 0x4b1b1f
mov ebx, dword [ebp - 0x418]
mov eax, dword [ebp - 0x428]
lea ecx, [ebp - 0x41c]
push ecx
lea ecx, [ebp - 0x20c]
inc eax
push ecx
lea ecx, [ebp - 0x424]
mov dword [ebp - 0x428], eax
push ecx
push 0
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x40c]
push ecx
push eax
push dword [ebp - 0x414]
mov dword [ebp - 0x420], 0x100
mov dword [ebp - 0x41c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x4b199d
push dword [ebp - 0x414]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and esi, 0x400
or esi, 0
je 0x4b1b79
push 1
lea eax, [ebp - 0x424]
mov dword [ebp - 0x424], 0x200
push eax
lea edx, [ebp - 0x20c]
mov ecx, 0x613b30
call fcn.0040fc9b
lea eax, [ebp - 0x20c]
push eax
call fcn.00410255
and dword [ebp - 0x410], 0
mov ebx, eax
test ebx, ebx
je 0x4b1b79
push dword [ebp - 0x42c]
mov ecx, dword [edi]
lea eax, [ebp - 0x410]
add ecx, ebx
push eax
add ecx, ecx
push ecx
call fcn.0056fda2
test eax, eax
js 0x4b1b79
lea esi, [ebx + ebx]
push esi
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x410]
call fcn.005761a0
mov eax, dword [edi]
add esp, 0xc
add eax, eax
push eax
mov eax, dword [ebp - 0x418]
push dword [eax]
mov eax, dword [ebp - 0x410]
add eax, esi
push eax
call fcn.005761a0
mov ecx, dword [ebp - 0x418]
add esp, 0xc
mov eax, dword [ebp - 0x410]
mov dword [ecx], eax
add dword [edi], ebx
jmp 0x4b1b75
mov edx, dword [edi]
lea esi, [ebx + ebx]
mov ecx, dword [ebp - 0x410]
lea eax, [ebp - 0x20c]
add edx, ebx
push esi
push eax
add edx, edx
call fcn.00412267
mov edx, dword [edi]
mov ecx, dword [ebp - 0x418]
add edx, edx
push edx
push dword [ecx]
mov ecx, dword [ebp - 0x410]
lea ecx, [esi + ecx]
call fcn.00412267
mov eax, dword [ebp - 0x418]
add esp, 0x10
mov ecx, dword [ebp - 0x410]
push dword [ebp - 0x414]
mov dword [eax], ecx
add dword [edi], ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x4b1b7b
xor al, al
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00573599
mov esp, ebp
pop ebp
ret