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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x201c
call fcn.0051d7f0
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x201c], ebx
mov ecx, dword [esi]
mov dword [ebp - 0x2018], eax
cmp ecx, ebx
jne 0x48b755
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 8]
lea eax, [esi + 8]
mov dword [ebp - 0x2010], ebx
push edi
mov dword [ebp - 0x2008], ebx
cmp dword [edx - 0xc], ebx
jne 0x48b846
mov eax, dword [esi + 4]
lea edx, [ebp - 0x2010]
push edx
mov edx, dword [esi + 0xc]
or edx, 8
push edx
push ebx
push eax
mov edi, 0x1000
push ecx
mov dword [ebp - 0x200c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48b9ba
mov edx, dword [ebp - 0x2010]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
xor esi, esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x200c]
push eax
lea ecx, [ebp - 0x2004]
push ecx
push esi
push edx
call ebx
test eax, eax
jne 0x48b9a3
lea ebx, [ebx]
lea eax, [ebp - 0x2004]
push eax
lea ecx, [ebp - 0x2008]
call fcn.00464b60
lea ecx, [ebp - 0x2008]
push ecx
mov ecx, dword [ebp - 0x2018]
call fcn.004894f0
mov eax, dword [ebp - 0x2008]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48b816
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x2010]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x200c]
push ecx
lea edx, [ebp - 0x2004]
push edx
inc esi
push esi
push eax
mov dword [ebp - 0x200c], edi
call ebx
test eax, eax
je 0x48b7d0
jmp 0x48b9a3
mov edx, dword [esi + 4]
lea ecx, [esi + 4]
cmp dword [edx - 0xc], ebx
je 0x48b87c
push eax
push 0x560120
push ecx
lea eax, [ebp - 0x201c]
push eax
mov ebx, 3
call fcn.0044f400
add esp, 0xc
push eax
lea ecx, [ebp - 0x200c]
push ecx
call fcn.0044f380
add esp, 0xc
mov ecx, dword [esi + 0xc]
mov eax, dword [eax]
lea edx, [ebp - 0x2010]
push edx
mov edx, dword [esi]
or ecx, 1
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
sete byte [ebp - 0x2011]
test bl, 2
je 0x48b8cb
mov eax, dword [ebp - 0x200c]
add eax, 0xfffffff0
and ebx, 0xfffffffd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48b8cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 1
je 0x48b8f2
mov eax, dword [ebp - 0x201c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48b8f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0x2011], 0
je 0x48b9ba
mov eax, dword [ebp - 0x2010]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
xor esi, esi
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x200c]
push ecx
lea edx, [ebp - 0x2004]
push edx
push esi
mov edi, 0x1000
push eax
mov dword [ebp - 0x200c], edi
call ebx
test eax, eax
jne 0x48b9a3
lea ecx, [ebp - 0x2004]
push ecx
lea ecx, [ebp - 0x2008]
call fcn.00464b60
mov ecx, dword [ebp - 0x2018]
lea edx, [ebp - 0x2008]
push edx
call fcn.004894f0
mov eax, dword [ebp - 0x2008]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48b978
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x2010]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x200c]
push ecx
lea edx, [ebp - 0x2004]
push edx
inc esi
push esi
push eax
mov dword [ebp - 0x200c], edi
call ebx
test eax, eax
je 0x48b932
mov ecx, dword [ebp - 0x2010]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2008], 1
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x2008]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051d23b
mov esp, ebp
pop ebp
ret