Function at 0x46f550
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x8c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
mov ebx, dword [esp + 0x94]
push esi
mov esi, dword [esp + 0x9c]
push 0x10
push 0x544108
push esi
mov dword [esp + 0x18], 0
call fcn.0041c1e0
add esp, 0xc
test eax, eax
jne 0x46f5c8
push ebx
call fcn.0041db40
lea eax, [eax*2 + 2]
push eax
push ebx
push str.UTF_16LE
push str.UTF_8
call fcn.00459560
add esp, 0x14
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00401033
add esp, 0x8c
ret
movzx eax, byte [esi + 0xf]
push edi
push eax
movzx eax, byte [esi + 0xe]
push eax
movzx eax, byte [esi + 0xd]
push eax
movzx eax, byte [esi + 0xc]
push eax
movzx eax, byte [esi + 0xb]
push eax
movzx eax, byte [esi + 0xa]
push eax
movzx eax, byte [esi + 9]
push eax
movzx eax, byte [esi + 8]
push eax
movzx eax, byte [esi + 6]
push eax
movzx eax, byte [esi + 7]
push eax
movzx eax, byte [esi + 4]
push eax
movzx eax, byte [esi + 5]
push eax
movzx eax, byte [esi]
push eax
movzx eax, byte [esi + 1]
push eax
movzx eax, byte [esi + 2]
push eax
movzx eax, byte [esi + 3]
push eax
push str.SystemCurrentControlSetControlMediaCategories_02X_02X_02X_02X__02X_02X__02X_02X__02X_02X__02X_02X_02X_02X_02X_02X
lea eax, [esp + 0x58]
push 0x80
push eax
call fcn.0041c250
lea eax, [esp + 0x60]
push eax
call fcn.0041c440
add esp, 0x50
inc eax
push eax
lea eax, [esp + 0x18]
push eax
push str.UTF_8
push str.UTF_16LE
call fcn.00459560
add esp, 0x10
mov edi, eax
lea eax, [esp + 0xc]
push eax
push 1
push 0
push edi
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
mov esi, eax
call fcn.00458250
add esp, 4
test esi, esi
jne 0x46f6b5
lea eax, [esp + 0x10]
push eax
push esi
push esi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push str.Name
push dword [esp + 0x20]
call esi
test eax, eax
jne 0x46f6ab
mov eax, dword [esp + 0x10]
add eax, 2
push eax
call fcn.00458270
mov edi, eax
add esp, 4
test edi, edi
jne 0x46f6ee
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.0041db40
lea eax, [eax*2 + 2]
push eax
push ebx
push str.UTF_16LE
push str.UTF_8
call fcn.00459560
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00401033
add esp, 0x8c
ret
lea eax, [esp + 0x10]
push eax
push edi
push 0
push 0
push str.Name
push dword [esp + 0x20]
call esi
push dword [esp + 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
test esi, esi
je 0x46f752
call fcn.00458250
push ebx
call fcn.0041db40
lea eax, [eax*2 + 2]
push eax
push ebx
push str.UTF_16LE
push str.UTF_8
call fcn.00459560
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00401033
add esp, 0x8c
ret
mov eax, dword [esp + 0x14]
xor ecx, ecx
shr eax, 1
mov word [edi + eax*2], cx
call fcn.0041db40
lea eax, [eax*2 + 2]
push eax
push edi
push str.UTF_16LE
push str.UTF_8
call fcn.00459560
push edi
mov esi, eax
call fcn.00458250
add esp, 0x18
test esi, esi
jne 0x46f7ad
push ebx
call fcn.0041db40
lea eax, [eax*2 + 2]
push eax
push ebx
push str.UTF_16LE
push str.UTF_8
call fcn.00459560
add esp, 0x14
mov esi, eax
mov ecx, dword [esp + 0x94]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401033
add esp, 0x8c
ret