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

Disassembly:
push ebp
lea ebp, [esp - 0x4208]
mov eax, 0x4208
call fcn.004e66f0
push 0xffffffffffffffff
push 0x4f7470
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5466b0]
xor eax, ebp
mov dword [ebp + 0x4204], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
cmp dword [ebp + 0x4210], 0xa
mov eax, dword [ebp + 0x421c]
mov edx, dword [ebp + 0x4220]
mov edi, dword [ebp + 0x4214]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], 1
jne 0x48b2e0
mov ebx, 0x54cfe0
push ebx
push 0x20
call fcn.004cba2a
pop ecx
pop ecx
mov dword [ebp - 0x30], eax
and dword [ebp - 4], 0
test eax, eax
je 0x48af6c
mov esi, eax
call fcn.00460b7c
mov dword [ebp - 0x14], eax
jmp 0x48af70
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
push ebx
push 0x20
mov dword [ebp - 4], 1
call fcn.004cba2a
pop ecx
pop ecx
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x48af9b
mov esi, eax
call fcn.00460b7c
jmp 0x48af9d
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x14], 0
mov byte [ebp - 4], 3
je 0x48b2ba
test eax, eax
je 0x48b2ba
test edi, edi
je 0x48b248
cmp dword [ebp + 0x4218], 2
jb 0x48b248
mov ecx, dword [edi + 4]
lea edx, [ebp - 0x24]
call fcn.004310b0
mov esi, dword [eax]
push str.HKCU
push esi
call fcn.004cd988
pop ecx
pop ecx
test eax, eax
je 0x48aff3
call fcn.0048b325
mov dword [ebp - 0x1c], eax
jmp 0x48affa
mov dword [ebp - 0x1c], SysStringLen
lea eax, [ebp - 0x24]
call fcn.0042afc0
cmp dword [ebp + 0x4218], 3
mov byte [ebp - 4], 4
mov esi, 0x20019
jb 0x48b047
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0x18]
call fcn.004310b0
mov eax, dword [eax]
push str.64key
push eax
call fcn.004cd988
mov ebx, eax
neg ebx
pop ecx
sbb bl, bl
pop ecx
lea eax, [ebp - 0x18]
inc bl
call fcn.0042afc0
test bl, bl
je 0x48b047
mov esi, 0x20119
mov edi, dword [edi + 0x10]
and dword [ebp - 0x20], 0
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.004310b0
mov eax, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
push esi
push 0
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
neg ebx
sbb bl, bl
lea eax, [ebp - 0x18]
inc bl
call fcn.0042afc0
test bl, bl
je 0x48b23c
mov edi, 0xff
push edi
xor ebx, ebx
lea eax, [ebp + 0x4104]
push ebx
push eax
call fcn.004d7710
lea esi, [edi + 5]
push esi
lea eax, [ebp + 0x4000]
push ebx
push eax
call fcn.004d7710
add esp, 0x18
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp + 0x4000]
push eax
push dword [ebp - 0x20]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], 0x3fff
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0x1c], ebx
je 0x48b195
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1c]
jae 0x48b195
lea eax, [ebp - 0x58]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp + 0x4104]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x30], edi
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebx
jne 0x48b18d
lea esi, [ebp - 0x3c]
call fcn.0040e9e0
push 0x54cfe0
push 0x10
call fcn.004cba2a
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x50], esi
mov byte [ebp - 4], 6
cmp esi, ebx
je 0x48b15f
mov dword [esi], ebx
lea ebx, [ebp + 0x4104]
call fcn.0040c040
xor ebx, ebx
jmp 0x48b161
xor esi, esi
push esi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.0040ed50
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx]
lea edx, [ebp - 0x3c]
push edx
call dword [eax + 0x10]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], vtable.os::script_shared_ptr_class__variant__.0
call fcn.0040ea60
inc dword [ebp - 0x14]
jmp 0x48b0fa
cmp dword [ebp - 0x18], ebx
je 0x48b233
xor edi, edi
cmp edi, dword [ebp - 0x18]
jae 0x48b233
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp]
push eax
push edi
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0x3fff
mov byte [ebp], 0
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, ebx
jne 0x48b22d
lea esi, [ebp - 0x3c]
call fcn.0040e9e0
push 0x54cfe0
push 0x10
call fcn.004cba2a
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x50], esi
mov byte [ebp - 4], 8
cmp esi, ebx
je 0x48b1ff
mov dword [esi], ebx
lea ebx, [ebp]
call fcn.0040c040
xor ebx, ebx
jmp 0x48b201
xor esi, esi
push esi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 7
call fcn.0040ed50
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx]
lea edx, [ebp - 0x3c]
push edx
call dword [eax + 0x10]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], vtable.os::script_shared_ptr_class__variant__.0
call fcn.0040ea60
inc edi
jmp 0x48b1a0
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 3
mov ebx, 0x54cfe0
push ebx
push 0x10
call fcn.004cba2a
pop ecx
pop ecx
test eax, eax
je 0x48b275
mov ecx, dword [ebp - 0x28]
and dword [ebp - 0x28], 0
mov dword [eax + 8], ecx
mov dword [eax], 5
jmp 0x48b277
xor eax, eax
mov ecx, dword [ebp - 0x48]
push eax
call fcn.0040ed50
cmp dword [ebp + 0x4224], 1
jb 0x48b2ba
cmp dword [ebp - 0x44], 0
je 0x48b2ba
push ebx
push 0x10
call fcn.004cba2a
pop ecx
pop ecx
test eax, eax
je 0x48b2af
mov ecx, dword [ebp - 0x2c]
and dword [ebp - 0x2c], 0
mov dword [eax + 8], ecx
mov dword [eax], 5
jmp 0x48b2b1
xor eax, eax
mov ecx, dword [ebp - 0x44]
push eax
call fcn.0040ed50
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x48b2cc
mov eax, dword [ecx]
push 1
call dword [eax + 8]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x48b2fd
mov eax, dword [ecx]
push 1
call dword [eax + 8]
jmp 0x48b2fd
push dword [ebp + 0x4224]
push edx
push eax
push dword [ebp + 0x4218]
push edi
push dword [ebp + 0x4210]
call fcn.0046633f
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x4204]
xor ecx, ebp
call fcn.004cb38b
add ebp, 0x4208
leave
ret 0x18