Function at 0x45c66a
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4def54
mov eax, dword fs:[0]
push eax
mov eax, 0x201c
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 esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0x201c], edi
mov ecx, dword [esi]
mov dword [ebp - 0x2028], eax
cmp ecx, edi
jne 0x45c6bd
xor eax, eax
jmp 0x45c8fc
lea edx, [esi + 8]
mov eax, dword [edx]
mov dword [ebp - 0x2020], edi
mov dword [ebp - 0x2014], edi
cmp dword [eax - 0xc], edi
jne 0x45c790
mov eax, dword [esi + 4]
lea edx, [ebp - 0x2020]
push edx
mov edx, dword [esi + 0xc]
or edx, 8
push edx
push edi
push eax
mov ebx, 0x1000
push ecx
mov dword [ebp - 0x2018], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x45c8f6
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x2018]
push eax
lea eax, [ebp - 0x2010]
push eax
mov dword [ebp - 0x2014], edi
push edi
jmp 0x45c77f
lea eax, [ebp - 0x2010]
push eax
lea ecx, [ebp - 0x2024]
call fcn.0044bc85
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x2028]
lea eax, [ebp - 0x2024]
push eax
call fcn.0045af0d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2024]
call fcn.0040d610
inc dword [ebp - 0x2014]
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x2018]
push eax
lea eax, [ebp - 0x2010]
push eax
push dword [ebp - 0x2014]
mov dword [ebp - 0x2018], ebx
push dword [ebp - 0x2020]
call esi
test eax, eax
je 0x45c725
jmp 0x45c8e0
lea eax, [esi + 4]
mov ecx, dword [eax]
mov ecx, dword [ecx - 0xc]
cmp ecx, edi
je 0x45c7e1
push 0x4f8b70
push eax
lea eax, [ebp - 0x2018]
push eax
call fcn.00445250
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
lea ecx, [esi + 8]
push ecx
push eax
lea eax, [ebp - 0x2024]
push eax
mov dword [ebp - 0x201c], ebx
call fcn.004451f9
add esp, 0x18
mov dword [ebp - 4], 2
mov dword [ebp - 0x201c], 3
jmp 0x45c7e6
xor ebx, ebx
mov eax, edx
inc ebx
mov eax, dword [eax]
lea ecx, [ebp - 0x2020]
push ecx
mov ecx, dword [esi + 0xc]
or ecx, ebx
push ecx
push edi
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov dword [ebp - 4], 1
test byte [ebp - 0x201c], 2
je 0x45c829
and dword [ebp - 0x201c], 0xfffffffd
lea ecx, [ebp - 0x2024]
call fcn.0040d610
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x201c], 1
je 0x45c848
and dword [ebp - 0x201c], 0xfffffffe
lea ecx, [ebp - 0x2018]
call fcn.0040d610
test bl, bl
je 0x45c8f6
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x2014]
push eax
lea eax, [ebp - 0x2010]
push eax
mov ebx, 0x1000
mov dword [ebp - 0x2018], edi
push edi
jmp 0x45c8ce
lea eax, [ebp - 0x2010]
push eax
lea ecx, [ebp - 0x2024]
call fcn.0044bc85
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x2028]
lea eax, [ebp - 0x2024]
push eax
call fcn.0045af0d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2024]
call fcn.0040d610
inc dword [ebp - 0x2018]
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x2014]
push eax
lea eax, [ebp - 0x2010]
push eax
push dword [ebp - 0x2018]
push dword [ebp - 0x2020]
mov dword [ebp - 0x2014], ebx
call esi
test eax, eax
je 0x45c876
push dword [ebp - 0x2020]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2014], 1
mov eax, dword [ebp - 0x2014]
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