Function at 0x470150
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 0x5434f0
push esi
mov dword [esp + 0x18], 0
call fcn.0041cb10
add esp, 0xc
test eax, eax
jne 0x4701c8
push ebx
call fcn.0041e4c0
lea eax, [eax*2 + 2]
push eax
push ebx
push str.UTF_16LE
push str.UTF_8
call fcn.0045a0e0
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.0041cb80
lea eax, [esp + 0x60]
push eax
call fcn.0041cd70
add esp, 0x50
inc eax
push eax
lea eax, [esp + 0x18]
push eax
push str.UTF_8
push str.UTF_16LE
call fcn.0045a0e0
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.00458de0
add esp, 4
test esi, esi
jne 0x4702b5
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 0x4702ab
mov eax, dword [esp + 0x10]
add eax, 2
push eax
call fcn.00458e00
mov edi, eax
add esp, 4
test edi, edi
jne 0x4702ee
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.0041e4c0
lea eax, [eax*2 + 2]
push eax
push ebx
push str.UTF_16LE
push str.UTF_8
call fcn.0045a0e0
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 0x470352
call fcn.00458de0
push ebx
call fcn.0041e4c0
lea eax, [eax*2 + 2]
push eax
push ebx
push str.UTF_16LE
push str.UTF_8
call fcn.0045a0e0
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.0041e4c0
lea eax, [eax*2 + 2]
push eax
push edi
push str.UTF_16LE
push str.UTF_8
call fcn.0045a0e0
push edi
mov esi, eax
call fcn.00458de0
add esp, 0x18
test esi, esi
jne 0x4703ad
push ebx
call fcn.0041e4c0
lea eax, [eax*2 + 2]
push eax
push ebx
push str.UTF_16LE
push str.UTF_8
call fcn.0045a0e0
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