Function at 0x449a50
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f00c0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x536ed4]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
xor edi, edi
cmp esi, edi
jne 0x449a9e
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x90]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
push str.DevRestore
mov ecx, 0x54b0b0
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call fcn.004c5768
cmp dword [esp + 0x18], edi
je 0x449c2b
mov eax, ebx
call fcn.004498f0
push 0x400
lea ecx, [esp + 0x38]
call fcn.004ca0be
mov dword [esp + 0x68], edi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edi
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.004ca0ee
push 4
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x30], edi
call fcn.004ca1fa
cmp dword [esp + 0x28], 0xa59d
jne 0x449c0c
push 4
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], edi
call fcn.004ca1fa
mov ecx, dword [esp + 0x2c]
mov dword [ebx + 0x54], ecx
xor esi, esi
lea esp, [esp]
push 4
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x38], edi
mov dword [esp + 0x2c], edi
call fcn.004ca1fa
push 4
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
call fcn.004ca1fa
cmp dword [esp + 0x24], edi
jle 0x449bfd
push 4
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
call fcn.004ca1fa
push 4
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x3c]
call fcn.004ca1fa
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add eax, esi
lea ecx, [eax + eax*2]
mov dword [ebx + ecx*4 + 0x64], edx
mov eax, dword [esp + 0x1c]
push eax
call fcn.004bb042
mov ecx, dword [esp + 0x24]
add ecx, esi
lea edx, [ecx + ecx*2]
mov dword [ebx + edx*4 + 0x68], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add esp, 4
push eax
lea eax, [esi + ecx]
lea edx, [eax + eax*2]
mov eax, dword [ebx + edx*4 + 0x68]
push eax
lea ecx, [esp + 0x3c]
call fcn.004ca1fa
mov eax, dword [esp + 0x24]
mov ecx, 0xfffffff8
sub ecx, dword [esp + 0x1c]
add eax, ecx
cmp eax, edi
mov dword [esp + 0x24], eax
jg 0x449b72
add esi, 0x2c
cmp esi, 0xb0
jl 0x449b40
lea ecx, [esp + 0x34]
call fcn.004ca128
lea ecx, [esp + 0x34]
mov dword [esp + 0x68], 0xffffffff
call fcn.004ca428
jmp 0x449df3
push 0x1000
mov dword [esp + 0x2c], edi
call fcn.004bb042
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x1000
mov dword [esp + 0x1c], edi
lea edx, [esp + 0x2c]
push edx
push 0x20019
push edi
push str.SoftwareRealtekAudioGUI_INFORMATIONDeviceDefault
mov dword [esp + 0x78], 1
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x40], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x449ccc
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x18]
push edx
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x90]
push edi
push ecx
push eax
mov dword [esp + 0x34], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x449cb7
mov eax, dword [esp + 0x30]
sub eax, 3
neg eax
sbb eax, eax
and eax, 0xd
mov ecx, dword [esp + 0x2c]
xor edx, edx
cmp eax, edi
sete dl
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], edx
jmp 0x449ce7
push str.SoftwareRealtekAudioGUI_INFORMATIONDeviceDefault
push reloc.OLEAUT32.dll_SysReAllocString
mov edx, 0x2001f
lea esi, [esp + 0x24]
call fcn.0043d980
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x449cfa
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x1c], edi
cmp dword [esp + 0x28], edi
je 0x449d25
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x90]
push ecx
push edx
push eax
push str.DevRestore
mov ecx, 0x54b0b0
call fcn.004c5526
jmp 0x449ddc
xor esi, esi
mov eax, dword [ebp + 8]
push eax
mov dword [ebx + 0x54], esi
call fcn.0044a1a0
add esi, 1
cmp esi, 4
jl 0x449d27
mov ecx, dword [ebp + 8]
push ecx
mov esi, ebx
mov dword [ebx + 0x54], edi
call fcn.00449e20
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x449d5e
push eax
call fcn.004bb03d
add esp, 4
mov dword [esp + 0x14], edi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x90]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x18]
push ecx
push eax
push str.DevRestore
mov ecx, 0x54b0b0
call fcn.004c5768
lea edx, [esp + 0x2c]
push edx
push 0x20006
push edi
push str.SoftwareRealtekAudioGUI_INFORMATIONDeviceDefault
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x40], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x449ddc
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp ecx, edi
je 0x449db5
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, edi
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], ecx
jne 0x449ddc
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x90]
push edx
mov edx, dword [esp + 0x18]
push edx
push 3
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [esp + 0x68], 0xffffffff
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x449df3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x449e04
push eax
call fcn.004bb03d
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4