Function at 0x450ab2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x300
lea ebp, [esp - 4]
mov eax, dword [0x4f9590]
xor eax, ebp
mov dword [ebp + 0x300], eax
push 0x34
mov eax, 0x4c5e03
call fcn.00494508
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 0x30c]
mov edi, dword [ebp + 0x314]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x310]
xor ebx, ebx
mov dword [ebp - 0x10], eax
cmp edi, ebx
je 0x450ddf
push 8
pop eax
mov esi, 0xff
push esi
mov word [edi], ax
lea eax, [ebp + 0x201]
push ebx
push eax
mov dword [edi + 8], ebx
mov byte [ebp + 0x200], bl
call fcn.00493f80
add esp, 0xc
push ebx
push ebx
push esi
lea eax, [ebp + 0x200]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x18]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
lea eax, [ebp + 1]
push ebx
push eax
mov byte [ebp], bl
call fcn.00493f80
add esp, 0xc
push ebx
push ebx
push esi
lea eax, [ebp]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x10]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 5
lea eax, [ebp + 0x200]
push str.HKCR_
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
call fcn.004b6c8e
add esp, 0xc
test eax, eax
jne 0x450b8a
mov dword [ebp - 0x10], SysReAllocString
push str.HKCR_
jmp 0x450bd8
push 5
lea eax, [ebp + 0x200]
push str.HKCU_
push eax
call fcn.004b6c8e
add esp, 0xc
test eax, eax
jne 0x450bb2
mov dword [ebp - 0x10], SysReAllocString
push str.HKCU_
jmp 0x450bd8
push 5
lea eax, [ebp + 0x200]
push str.HKLM_
push eax
call fcn.004b6c8e
add esp, 0xc
test eax, eax
jne 0x450be8
mov dword [ebp - 0x10], reloc.OLEAUT32.dll_SysReAllocString
push str.HKLM_
call fcn.00494a70
lea eax, [ebp + eax + 0x200]
pop ecx
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x38]
call fcn.00472760
push eax
lea eax, [ebp - 0x30]
push str.NOLOG:_USER_GetPreference__strKeyName_
push eax
mov dword [ebp - 4], ebx
call fcn.00473090
push str.__val_
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 1
call fcn.00473040
lea ecx, [ebp]
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 2
call fcn.00473040
push eax
mov byte [ebp - 4], 3
call fcn.00411cd0
add esp, 0x28
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00472740
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00472740
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.00472740
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00472740
lea eax, [ebp - 0x1c]
push eax
push 0xf003f
push ebx
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x450da9
push esi
lea eax, [ebp + 0x101]
push ebx
push eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], esi
mov byte [ebp + 0x100], bl
call fcn.00493f80
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x100]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
lea eax, [ebp]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x450cf6
push str.__DOESNTexist__
lea ecx, [ebp - 0x10]
call fcn.0040ff3c
mov eax, dword [eax]
cmp eax, ebx
je 0x450cdc
mov eax, dword [eax]
jmp 0x450cde
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword [edi + 8], eax
cmp ecx, ebx
je 0x450d9e
call fcn.00412b69
jmp 0x450d9e
lea eax, [ebp + 0x100]
push eax
lea ecx, [ebp - 0x30]
call fcn.00472760
push eax
lea eax, [ebp - 0x38]
push str.NOLOG:_U_GP_got_result_
push eax
mov dword [ebp - 4], 4
call fcn.00473090
push eax
mov byte [ebp - 4], 5
call fcn.00411cd0
add esp, 0x10
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.00472740
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00472740
push ebx
lea eax, [ebp + 0x100]
push ebx
push eax
call fcn.00494a70
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
pop ecx
push eax
lea eax, [ebp + 0x100]
push eax
push ebx
push ebx
call esi
push eax
push ebx
mov dword [ebp - 0x10], eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov ecx, dword [ebp - 0x10]
add ecx, ecx
push ecx
push ebx
push eax
mov dword [edi + 8], eax
call fcn.00493f80
add esp, 0xc
push dword [ebp - 0x10]
lea eax, [ebp + 0x100]
push dword [edi + 8]
push eax
call fcn.00494a70
pop ecx
push eax
lea eax, [ebp + 0x100]
push eax
push ebx
push ebx
call esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x450dd4
push str.__DOESNTexist__
lea ecx, [ebp - 0x18]
call fcn.0040ff3c
mov eax, dword [eax]
cmp eax, ebx
je 0x450dc0
mov eax, dword [eax]
jmp 0x450dc2
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov dword [edi + 8], eax
cmp ecx, ebx
je 0x450dd4
call fcn.00412b69
mov dword [ebp - 0x18], ebx
push dword [edi + 8]
mov ecx, dword [ebp - 0x20]
call fcn.0045081e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x300]
xor ecx, ebp
call fcn.004944f9
add ebp, 0x304
leave
ret 0xc