Function at 0x48ab83
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x556604
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x81fc
call fcn.0051fcc0
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.00490738
pop ecx
test al, al
je 0x48af67
cmp dword [esp + 0x18c], 8
mov eax, dword [esp + 0x178]
jae 0x48ac2e
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 0x48af67
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.00517bf0
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 0x48af45
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.0043e183
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 0x48ad34
mov byte [esp + 0x8218], 1
cmp dword [esp + 0x1c], edi
je 0x48ad23
push dword [esp + 0x1c]
call fcn.00515779
pop ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
jmp 0x48af45
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.004100e9
lea ecx, [esp + 0x20c]
push ecx
push eax
lea eax, [esp + 0x1dc]
mov byte [esp + 0x8228], 4
call fcn.004101e0
add esp, 0x10
mov ebx, eax
lea eax, [esp + 0x194]
mov byte [esp + 0x8218], 5
call fcn.00404022
push 1
xor edi, edi
lea esi, [esp + 0x1d0]
call fcn.0040412d
push 1
lea esi, [esp + 0x1ec]
mov byte [esp + 0x821c], 3
call fcn.0040412d
mov eax, dword [esp + 0x14]
xor ebx, ebx
cmp eax, ebx
jbe 0x48af01
cmp eax, 2
jbe 0x48aee0
cmp eax, 4
je 0x48ae70
cmp eax, 0xb
jne 0x48af01
lea eax, [esp + 0xdc]
push eax
call fcn.00403689
mov esi, eax
mov byte [esp + 0x8218], 8
mov eax, dword [esp + 0x1c]
push dword [eax + 4]
push dword [eax]
push esi
call fcn.0041a923
lea eax, [esp + 0x1e8]
push eax
mov eax, esi
call fcn.004036f3
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x1f0]
lea ecx, [esp + 0x1b8]
mov byte [esp + 0x8220], 9
call fcn.0040406a
push 1
lea esi, [esp + 0x1ec]
call fcn.0040412d
lea eax, [esp + 0xdc]
jmp 0x48aed1
lea eax, [esp + 0x44]
push eax
call fcn.00403689
mov esi, eax
mov byte [esp + 0x8218], 6
mov eax, dword [esp + 0x1c]
push dword [eax]
push esi
call fcn.0041058a
lea eax, [esp + 0x1cc]
push eax
mov eax, esi
call fcn.004036f3
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x1d4]
lea ecx, [esp + 0x1b8]
mov byte [esp + 0x8220], 7
call fcn.0040406a
push 1
xor edi, edi
lea esi, [esp + 0x1d0]
call fcn.0040412d
lea eax, [esp + 0x44]
mov byte [esp + 0x8218], 3
call fcn.0040262a
jmp 0x48aef1
push dword [esp + 0x1c]
lea eax, [esp + 0x1b4]
push eax
call fcn.00404104
mov edi, dword [esp + 0x3c]
lea ecx, [esp + 0x194]
call fcn.0048af9b
push 1
xor edi, edi
lea esi, [esp + 0x1b4]
call fcn.0040412d
push 1
lea esi, [esp + 0x198]
call fcn.0040412d
mov byte [esp + 0x8218], 1
cmp dword [esp + 0x1c], ebx
je 0x48af37
push dword [esp + 0x1c]
call fcn.00515779
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 0x48ac80
cmp dword [esp + 0x38], edi
je 0x48af67
push dword [esp + 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
xor edi, edi
lea esi, [esp + 0x17c]
call fcn.0040412d
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.005146df
mov esp, ebp
pop ebp
ret