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

Disassembly:
sub esp, 0x828
mov eax, dword [0x5b3720]
xor eax, esp
mov dword [esp + 0x824], eax
push ebp
lea eax, [esp + 0x14]
push eax
xor ebp, ebp
push 0x108
push ebp
push str.SoftwareMicrosoftWindowsCurrentVersionMMDevicesAudioCapture
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4fd8cf
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov dword [esp + 0x24], ebp
lea ebx, [ebp + 4]
mov eax, dword [esp + 0x24]
push ebp
push ebp
push ebp
push ebp
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x448]
push edx
push eax
push ecx
mov dword [esp + 0x50], 0x200
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4fd89a
lea edx, [esp + 0x434]
push edx
lea eax, [esp + 0x38]
push 0x200
push eax
xor edi, edi
call fcn.00525931
push str.Properties
lea ecx, [esp + 0x44]
push 0x200
push ecx
call fcn.0052599d
mov ecx, dword [esp + 0x38]
add esp, 0x18
lea edx, [esp + 0x18]
push edx
push 0x101
push ebp
lea eax, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4fd8a2
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebp
push str.b3f8fa53_0004_438e_9003_51a46e139bfc_6
push edx
mov dword [esp + 0x28], 0x400
call esi
test eax, eax
jne 0x4fd66d
lea eax, [esp + 0x34]
push 0x581370
push eax
call fcn.005258d3
add esp, 8
test eax, eax
je 0x4fd66d
mov edi, 1
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebp
je 0x4fd8a2
push str.FXProperties
lea edx, [esp + 0x438]
push 0x200
push edx
call fcn.0052599d
mov edx, dword [esp + 0x2c]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 0x101
push ebp
lea ecx, [esp + 0x440]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4fd8a2
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
push ebp
push str.b7eae14c_6c01_446f_b83f_3181e129b6dd_6
push eax
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x4fd88d
mov ecx, dword [esp + 0x14]
or dword [0x5c4730], ecx
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebp
push str.b7eae14c_6c01_446f_b83f_3181e129b6dd_0
push edx
mov dword [esp + 0x44], 1
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x4fd728
mov eax, dword [esp + 0x14]
or dword [0x5c471c], eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
push ebp
push str.b7eae14c_6c01_446f_b83f_3181e129b6dd_1
push ecx
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x4fd756
mov edx, dword [esp + 0x14]
or dword [0x5c4720], edx
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
push ebp
push str.b7eae14c_6c01_446f_b83f_3181e129b6dd_2
push eax
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x4fd784
mov ecx, dword [esp + 0x14]
or dword [0x5c4724], ecx
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebp
push str.b7eae14c_6c01_446f_b83f_3181e129b6dd_4
push edx
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x4fd7b1
mov eax, dword [esp + 0x14]
mov dword [0x5c472c], eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
push ebp
push str.b7eae14c_6c01_446f_b83f_3181e129b6dd_3
push ecx
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x4fd7df
mov edx, dword [esp + 0x14]
or dword [0x5c4728], edx
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
push ebp
push str.b7eae14c_6c01_446f_b83f_3181e129b6dd_7
push eax
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x4fd80d
mov ecx, dword [esp + 0x14]
mov dword [0x5c473c], ecx
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebp
push str.b7eae14c_6c01_446f_b83f_3181e129b6dd_8
push edx
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x4fd85f
cmp dword [esp + 0x14], ebp
je 0x4fd85f
mov dword [0x5c4740], 0x80000000
mov dword [0x5c4730], ebp
mov dword [0x5c471c], ebp
mov dword [0x5c4720], ebp
mov dword [0x5c4724], ebp
mov dword [0x5c4728], ebp
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
push ebp
push str.1da5d803_d492_4edd_8c23_e0c0ffee7f0e_5
push eax
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x4fd88d
mov ecx, dword [esp + 0x14]
mov dword [0x5c4744], ecx
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4fd8a2
mov dword [esp + 0x28], 1
add dword [esp + 0x24], 1
cmp dword [esp + 0x28], ebp
je 0x4fd5a6
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x2c], ebp
je 0x4fd8cc
mov edi, 0x5c4718
call fcn.004fcee0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x828]
pop ebp
xor ecx, esp
call fcn.00524c67
add esp, 0x828
ret