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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52cc4b
mov eax, dword fs:[0]
push eax
mov eax, 0x2028
call fcn.0050ead0
mov eax, dword [0x585698]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x2018], ebx
mov ecx, dword [esi]
mov dword [ebp - 0x2028], eax
cmp ecx, ebx
jne 0x429f1e
xor eax, eax
jmp 0x42a156
lea eax, [esi + 8]
mov edx, dword [eax]
mov dword [ebp - 0x2020], ebx
mov dword [ebp - 0x201c], ebx
cmp dword [edx - 0xc], ebx
jne 0x429ff5
mov eax, dword [esi + 4]
lea edx, [ebp - 0x2020]
push edx
mov edx, dword [esi + 0xc]
or edx, 8
push edx
push ebx
push eax
mov edi, 0x1000
push ecx
mov dword [ebp - 0x2018], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x42a150
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x2018]
push eax
lea eax, [ebp - 0x2014]
push eax
mov dword [ebp - 0x201c], ebx
push ebx
jmp 0x429fe4
lea eax, [ebp - 0x2014]
push eax
lea eax, [ebp - 0x2024]
push eax
call fcn.004056ee
lea eax, [ebp - 0x2024]
push eax
mov eax, dword [ebp - 0x2028]
mov dword [ebp - 4], ebx
call fcn.00429e6d
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2024]
add eax, 0xfffffff0
call fcn.00405521
inc dword [ebp - 0x201c]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x2018]
push eax
lea eax, [ebp - 0x2014]
push eax
push dword [ebp - 0x201c]
mov dword [ebp - 0x2018], edi
push dword [ebp - 0x2020]
call esi
test eax, eax
je 0x429f86
jmp 0x42a13a
lea edi, [esi + 4]
mov ecx, dword [edi]
mov ecx, dword [ecx - 0xc]
cmp ecx, ebx
je 0x42a03f
lea eax, [ebp - 0x2030]
push 0x5481d0
push eax
call fcn.00405a46
lea edx, [esi + 8]
xor edi, edi
push edx
lea ecx, [ebp - 0x2024]
inc edi
push ecx
mov dword [ebp - 4], edi
mov ecx, eax
mov dword [ebp - 0x2018], edi
call fcn.004299e0
add esp, 0x10
mov dword [ebp - 0x2018], 3
jmp 0x42a042
xor edi, edi
inc edi
mov eax, dword [eax]
lea ecx, [ebp - 0x2020]
push ecx
mov ecx, dword [esi + 0xc]
or ecx, edi
push ecx
push ebx
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
test byte [ebp - 0x2018], 2
je 0x42a081
mov eax, dword [ebp - 0x2024]
and dword [ebp - 0x2018], 0xfffffffd
add eax, 0xfffffff0
call fcn.00405521
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x2018], 1
je 0x42a09c
mov eax, dword [ebp - 0x2030]
add eax, 0xfffffff0
call fcn.00405521
test bl, bl
je 0x42a150
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
mov edi, 0x1000
mov dword [ebp - 0x2018], ebx
push ebx
jmp 0x42a128
lea eax, [ebp - 0x2014]
push eax
lea eax, [ebp - 0x202c]
push eax
call fcn.004056ee
lea eax, [ebp - 0x202c]
push eax
mov eax, dword [ebp - 0x2028]
mov dword [ebp - 4], 2
call fcn.00429e6d
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x202c]
add eax, 0xfffffff0
call fcn.00405521
inc dword [ebp - 0x2018]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
push dword [ebp - 0x2018]
push dword [ebp - 0x2020]
mov dword [ebp - 0x201c], edi
call esi
test eax, eax
je 0x42a0cc
push dword [ebp - 0x2020]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x201c], 1
mov eax, dword [ebp - 0x201c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004f189b
leave
ret