Function at 0x458614
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de2bc
mov eax, dword fs:[0]
push eax
mov eax, 0x4254
call fcn.004b4f50
mov eax, dword [0x5382cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x4234], ecx
call fcn.0044bf8c
lea eax, [ebp - 0x4238]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SYSTEMCurrentControlSetControlSession_ManagerEnvironment
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x45867e
xor eax, eax
jmp 0x4588e6
lea ecx, [ebp - 0x4260]
call fcn.00457579
mov dword [ebp - 4], ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [ebp - 0x4220]
push eax
lea eax, [ebp - 0x4218]
push eax
lea eax, [ebp - 0x423c]
push eax
push ebx
lea eax, [ebp - 0x4240]
push eax
lea eax, [ebp - 0x218]
push eax
mov esi, 0x104
mov dword [ebp - 0x421c], ebx
push ebx
jmp 0x4587d0
cmp dword [ebp - 0x423c], 1
jne 0x458732
mov eax, dword [ebp - 0x4220]
shr eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x4218], cx
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.004b5c17
pop ecx
pop ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x422c]
call fcn.0044bc85
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4234]
lea eax, [ebp - 0x422c]
push eax
call fcn.004575a2
lea ecx, [ebp - 0x4218]
push ecx
mov ecx, eax
call fcn.00428d50
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x422c]
jmp 0x45879b
cmp dword [ebp - 0x423c], 2
jne 0x4587a0
mov eax, dword [ebp - 0x4220]
shr eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x4218], cx
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.004b5c17
pop ecx
pop ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4224]
call fcn.0044bc85
mov byte [ebp - 4], 2
lea eax, [ebp - 0x4224]
push eax
lea ecx, [ebp - 0x4260]
call fcn.004575a2
lea ecx, [ebp - 0x4218]
push ecx
mov ecx, eax
call fcn.00428d50
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x4224]
call fcn.0040d610
inc dword [ebp - 0x421c]
lea eax, [ebp - 0x4220]
push eax
lea eax, [ebp - 0x4218]
push eax
lea eax, [ebp - 0x423c]
push eax
push ebx
lea eax, [ebp - 0x4240]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x421c]
push dword [ebp - 0x4238]
mov dword [ebp - 0x4240], esi
mov dword [ebp - 0x4220], 0x3ffe
call edi
test eax, eax
je 0x4586c7
push dword [ebp - 0x4238]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x4248]
mov eax, dword [eax]
lea ecx, [ebp - 0x4260]
push ecx
push eax
lea ecx, [ebp - 0x4230]
call fcn.004424c1
mov eax, dword [ebp - 0x4230]
mov dword [ebp - 0x4228], eax
mov eax, dword [ebp - 0x422c]
mov dword [ebp - 0x4224], eax
jmp 0x4588a2
lea ecx, [ebp - 0x421c]
call fcn.0040c7d0
mov byte [ebp - 4], 3
push dword [ebp - 0x4234]
lea eax, [ebp - 0x421c]
push eax
lea ecx, [ebp - 0x4228]
call fcn.00478005
add eax, 4
push eax
call fcn.004471bf
add esp, 0xc
lea ecx, [ebp - 0x4228]
call fcn.00478005
mov ecx, dword [ebp - 0x4234]
push eax
call fcn.004575a2
lea ecx, [ebp - 0x421c]
push ecx
mov ecx, eax
call fcn.004453ce
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x421c]
call fcn.0040d610
lea ecx, [ebp - 0x4228]
call fcn.004766da
lea eax, [ebp - 0x4260]
push eax
push dword [ebp - 0x4248]
lea ecx, [ebp - 0x4230]
call fcn.004424c1
lea eax, [ebp - 0x4230]
push eax
lea ecx, [ebp - 0x4228]
call fcn.0043cc0e
test al, al
je 0x458831
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4260]
call fcn.00455fce
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b48bf
leave
ret 4