Function at 0x4823f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x58ac5c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push 0x10
push 0x56cd14
push esi
mov dword [ebp - 0x8c], 0
call fcn.0045cc10
add esp, 0xc
test eax, eax
jne 0x48245a
push ebx
call fcn.0045e3b0
lea eax, [eax*2 + 2]
push eax
push ebx
push str.UTF_16LE
push 0x4d45c0
call fcn.004681a0
add esp, 0x14
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b20f1
mov esp, ebp
pop ebp
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, [ebp - 0x84]
push 0x80
push eax
call fcn.0045cc80
lea eax, [ebp - 0x84]
push eax
call fcn.0045ce70
add esp, 0x50
inc eax
push eax
lea eax, [ebp - 0x84]
push eax
push 0x4d45c0
push str.UTF_16LE
call fcn.004681a0
add esp, 0x10
mov edi, eax
lea eax, [ebp - 0x88]
push eax
push 1
push 0
push edi
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
mov esi, eax
call fcn.0045bfc0
add esp, 4
test esi, esi
jne 0x482557
lea eax, [ebp - 0x8c]
push eax
push esi
push esi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push str.Name
push dword [ebp - 0x88]
call esi
test eax, eax
jne 0x48254b
mov eax, dword [ebp - 0x8c]
add eax, 2
push eax
call fcn.0045bff0
mov edi, eax
add esp, 4
test edi, edi
jne 0x482589
push dword [ebp - 0x88]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.0045e3b0
lea eax, [eax*2 + 2]
push eax
push ebx
push str.UTF_16LE
push 0x4d45c0
call fcn.004681a0
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b20f1
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x8c]
push eax
push edi
push 0
push 0
push str.Name
push dword [ebp - 0x88]
call esi
push dword [ebp - 0x88]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
test esi, esi
je 0x4825ec
call fcn.0045bfc0
push ebx
call fcn.0045e3b0
lea eax, [eax*2 + 2]
push eax
push ebx
push str.UTF_16LE
push 0x4d45c0
call fcn.004681a0
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b20f1
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x8c]
xor ecx, ecx
shr eax, 1
mov word [edi + eax*2], cx
call fcn.0045e3b0
lea eax, [eax*2 + 2]
push eax
push edi
push str.UTF_16LE
push 0x4d45c0
call fcn.004681a0
push edi
mov esi, eax
call fcn.0045bfc0
add esp, 0x18
test esi, esi
jne 0x482649
push ebx
call fcn.0045e3b0
lea eax, [eax*2 + 2]
push eax
push ebx
push str.UTF_16LE
push 0x4d45c0
call fcn.004681a0
add esp, 0x14
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b20f1
mov esp, ebp
pop ebp
ret