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

Disassembly:
sub esp, 0x828
mov eax, dword [0x5bc9cc]
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 0x498dff
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 0x498dca
lea edx, [esp + 0x434]
push edx
lea eax, [esp + 0x38]
push 0x200
push eax
xor edi, edi
call fcn.0052a056
push str.Properties
lea ecx, [esp + 0x44]
push 0x200
push ecx
call fcn.0052a0c2
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 0x498dd2
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 0x498b9d
lea eax, [esp + 0x34]
push 0x57d8ec
push eax
call fcn.00529c58
add esp, 8
test eax, eax
je 0x498b9d
mov edi, 1
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebp
je 0x498dd2
push str.FXProperties
lea edx, [esp + 0x438]
push 0x200
push edx
call fcn.0052a0c2
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 0x498dd2
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 0x498dbd
mov ecx, dword [esp + 0x14]
or dword [0x5c9d98], 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 0x498c58
mov eax, dword [esp + 0x14]
or dword [0x5c9d84], 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 0x498c86
mov edx, dword [esp + 0x14]
or dword [0x5c9d88], 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 0x498cb4
mov ecx, dword [esp + 0x14]
or dword [0x5c9d8c], 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 0x498ce1
mov eax, dword [esp + 0x14]
mov dword [0x5c9d94], 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 0x498d0f
mov edx, dword [esp + 0x14]
or dword [0x5c9d90], 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 0x498d3d
mov ecx, dword [esp + 0x14]
mov dword [0x5c9da4], 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 0x498d8f
cmp dword [esp + 0x14], ebp
je 0x498d8f
mov dword [0x5c9da8], 0x80000000
mov dword [0x5c9d98], ebp
mov dword [0x5c9d84], ebp
mov dword [0x5c9d88], ebp
mov dword [0x5c9d8c], ebp
mov dword [0x5c9d90], 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 0x498dbd
mov ecx, dword [esp + 0x14]
mov dword [0x5c9dac], ecx
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x498dd2
mov dword [esp + 0x28], 1
add dword [esp + 0x24], 1
cmp dword [esp + 0x28], ebp
je 0x498ad6
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x2c], ebp
je 0x498dfc
mov edi, 0x5c9d80
call fcn.00498410
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x828]
pop ebp
xor ecx, esp
call fcn.0052944d
add esp, 0x828
ret