Function at 0x48a8be
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x556887
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x81fc
call fcn.0051fee0
mov eax, dword [0x5f7350]
xor eax, esp
mov dword [esp + 0x81f8], eax
push ebx
push esi
push edi
mov eax, dword [0x5f7350]
xor eax, esp
push eax
lea eax, [esp + 0x8210]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x3c], eax
xor edi, edi
xor eax, eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18c], 7
mov dword [esp + 0x188], edi
mov word [esp + 0x178], ax
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x17c]
mov dword [esp + 0x821c], edi
call fcn.0049059f
pop ecx
test al, al
je 0x48aca2
cmp dword [esp + 0x18c], 8
mov eax, dword [esp + 0x178]
jae 0x48a969
lea eax, [esp + 0x178]
lea ecx, [esp + 0x2c]
push ecx
push 0x201
push edi
push eax
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48aca2
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
xor eax, eax
mov byte [esp + 0x8218], 1
push 0x7ffe
mov word [esp + 0x208], ax
lea eax, [esp + 0x20a]
push edi
push eax
call fcn.00517e90
add esp, 0xc
mov dword [esp + 0x18], edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [esp + 0x30]
push eax
push edi
lea eax, [esp + 0x1c]
push eax
push edi
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x218]
push eax
push dword [esp + 0x30]
mov dword [esp + 0x4c], edi
push dword [esp + 0x48]
mov dword [esp + 0x34], edi
mov dword [esp + 0x54], edi
call ebx
cmp eax, 0xea
jne 0x48ac80
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
call fcn.0043df7a
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
push edi
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x218]
push eax
push dword [esp + 0x30]
mov dword [esp + 0x50], 0x4000
push dword [esp + 0x48]
call ebx
test eax, eax
je 0x48aa6f
mov byte [esp + 0x8218], 1
cmp dword [esp + 0x1c], edi
je 0x48aa5e
push dword [esp + 0x1c]
call fcn.00515a19
pop ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
jmp 0x48ac80
push 7
pop eax
mov dword [esp + 0x1a8], eax
mov dword [esp + 0x1c4], eax
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x1a4], edi
mov word [esp + 0x194], cx
mov dword [esp + 0x1c0], edi
mov word [esp + 0x1b0], ax
mov ebx, dword [esp + 0x40]
lea eax, [esp + 0x1e8]
push 0x584ab8
push eax
mov byte [esp + 0x8220], 3
call fcn.004100cb
lea ecx, [esp + 0x20c]
push ecx
push eax
lea eax, [esp + 0x1dc]
mov byte [esp + 0x8228], 4
call fcn.004101c2
add esp, 0x10
mov ebx, eax
lea eax, [esp + 0x194]
mov byte [esp + 0x8218], 5
call fcn.0040403a
push 1
xor edi, edi
lea esi, [esp + 0x1d0]
call fcn.00404145
push 1
lea esi, [esp + 0x1ec]
mov byte [esp + 0x821c], 3
call fcn.00404145
mov eax, dword [esp + 0x14]
xor ebx, ebx
cmp eax, ebx
jbe 0x48ac3c
cmp eax, 2
jbe 0x48ac1b
cmp eax, 4
je 0x48abab
cmp eax, 0xb
jne 0x48ac3c
lea eax, [esp + 0xdc]
push eax
call fcn.004036c8
mov esi, eax
mov byte [esp + 0x8218], 8
mov eax, dword [esp + 0x1c]
push dword [eax + 4]
push dword [eax]
push esi
call fcn.0041a8cb
lea eax, [esp + 0x1e8]
push eax
mov eax, esi
call fcn.00403732
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x1f0]
lea ecx, [esp + 0x1b8]
mov byte [esp + 0x8220], 9
call fcn.00404082
push 1
lea esi, [esp + 0x1ec]
call fcn.00404145
lea eax, [esp + 0xdc]
jmp 0x48ac0c
lea eax, [esp + 0x44]
push eax
call fcn.004036c8
mov esi, eax
mov byte [esp + 0x8218], 6
mov eax, dword [esp + 0x1c]
push dword [eax]
push esi
call fcn.0041056c
lea eax, [esp + 0x1cc]
push eax
mov eax, esi
call fcn.00403732
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x1d4]
lea ecx, [esp + 0x1b8]
mov byte [esp + 0x8220], 7
call fcn.00404082
push 1
xor edi, edi
lea esi, [esp + 0x1d0]
call fcn.00404145
lea eax, [esp + 0x44]
mov byte [esp + 0x8218], 3
call fcn.00402669
jmp 0x48ac2c
push dword [esp + 0x1c]
lea eax, [esp + 0x1b4]
push eax
call fcn.0040411c
mov edi, dword [esp + 0x3c]
lea ecx, [esp + 0x194]
call fcn.0048acd6
push 1
xor edi, edi
lea esi, [esp + 0x1b4]
call fcn.00404145
push 1
lea esi, [esp + 0x198]
call fcn.00404145
mov byte [esp + 0x8218], 1
cmp dword [esp + 0x1c], ebx
je 0x48ac72
push dword [esp + 0x1c]
call fcn.00515a19
pop ecx
xor edi, edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 0x400
jb 0x48a9bb
cmp dword [esp + 0x38], edi
je 0x48aca2
push dword [esp + 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
xor edi, edi
lea esi, [esp + 0x17c]
call fcn.00404145
mov ecx, dword [esp + 0x8210]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x81f8]
xor ecx, esp
call fcn.0051497f
mov esp, ebp
pop ebp
ret