Function at 0x4a99c1
Capabilities:
Print debug messages
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8c5c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x4570
call fcn.004bad00
push edi
lea ecx, [ebp - 0x10]
call fcn.0040d4d0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push str.Show_ID_:__d__n
lea ecx, [ebp - 0x10]
push ecx
call fcn.004ca55d
add esp, 0xc
mov edx, 1
test edx, edx
je 0x4a9a1d
mov dword [ebp - 0x4538], 0
jmp 0x4a9a34
lea ecx, [ebp - 0x10]
call fcn.004b01e0
push eax
call fcn.0040d5a0
add esp, 4
mov dword [ebp - 0x4538], eax
mov eax, dword [0x5223d4]
mov dword [ebp - 0x414], eax
mov ecx, dword [0x5223d8]
mov dword [ebp - 0x410], ecx
mov edx, dword [0x5223dc]
mov dword [ebp - 0x40c], edx
mov ax, word [0x5223e0]
mov word [ebp - 0x408], ax
mov ecx, 0x7c
xor eax, eax
lea edi, [ebp - 0x406]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [str.999zzz]
mov dword [ebp - 0x214], ecx
mov edx, dword [0x5223e8]
mov dword [ebp - 0x210], edx
mov eax, dword [0x5223ec]
mov dword [ebp - 0x20c], eax
mov cx, word [0x5223f0]
mov word [ebp - 0x208], cx
mov ecx, 0x7c
xor eax, eax
lea edi, [ebp - 0x206]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [ebp + 8]
mov dword [ebp - 0x453c], edx
cmp dword [ebp - 0x453c], 0x10
ja case.default.0x4a9ad3
mov eax, dword [ebp - 0x453c]
jmp dword [eax*4 + 0x4aba24]
push str.HDAUDIOFUNC_01VEN_1106DEV_1708
lea ecx, [ebp - 0x414]
push ecx
call fcn.004ba79a
add esp, 8
push str.HDAUDIOFUNC_01VEN_1106DEV_1709
lea edx, [ebp - 0x214]
push edx
call fcn.004ba79a
add esp, 8
jmp case.default.0x4a9ad3
push 0x52247c
lea eax, [ebp - 0x414]
push eax
call fcn.004ba79a
add esp, 8
push 0x5224c0
lea ecx, [ebp - 0x214]
push ecx
call fcn.004ba79a
add esp, 8
jmp case.default.0x4a9ad3
push str.HDAUDIOFUNC_01VEN_1106DEV_X398
lea edx, [ebp - 0x414]
push edx
call fcn.004ba79a
add esp, 8
jmp case.default.0x4a9ad3
push str.HDAUDIOFUNC_01VEN_1106DEV_X397
lea eax, [ebp - 0x414]
push eax
call fcn.004ba79a
add esp, 8
push str.HDAUDIOFUNC_01VEN_1106DEV_E72
lea ecx, [ebp - 0x214]
push ecx
call fcn.004ba79a
add esp, 8
jmp case.default.0x4a9ad3
push str.HDAUDIOFUNC_01VEN_1106DEV_X428
lea edx, [ebp - 0x414]
push edx
call fcn.004ba79a
add esp, 8
jmp case.default.0x4a9ad3
push str.HDAUDIOFUNC_01VEN_1106DEV_X433
lea eax, [ebp - 0x414]
push eax
call fcn.004ba79a
add esp, 8
jmp case.default.0x4a9ad3
push str.HDAUDIOFUNC_01VEN_1106DEV_X438
lea ecx, [ebp - 0x414]
push ecx
call fcn.004ba79a
add esp, 8
jmp case.default.0x4a9ad3
push str.HDAUDIOFUNC_01VEN_1106DEV_X441
lea edx, [ebp - 0x414]
push edx
call fcn.004ba79a
add esp, 8
jmp case.default.0x4a9ad3
push str.HDAUDIOFUNC_01VEN_1106DEV_X440
lea eax, [ebp - 0x414]
push eax
call fcn.004ba79a
add esp, 8
jmp case.default.0x4a9ad3
push str.HDAUDIOFUNC_01VEN_1106DEV_0448
lea ecx, [ebp - 0x414]
push ecx
call fcn.004ba79a
add esp, 8
push 0x100
push 0
push 0x5325e8
call fcn.004ba860
add esp, 0xc
push 0x100
push 0
push 0x532e08
call fcn.004ba860
add esp, 0xc
push 0x100
push 0
push 0x533454
call fcn.004ba860
add esp, 0xc
push 0x100
push 0
push 0x533ca0
call fcn.004ba860
add esp, 0xc
push 0x100
push 0
push 0x533eb8
call fcn.004ba860
add esp, 0xc
push 0x100
push 0
push 0x533a54
call fcn.004ba860
add esp, 0xc
push 0x100
push 0
push 0x5307b8
call fcn.004ba860
add esp, 0xc
push 0x100
push 0
push 0x5309b8
call fcn.004ba860
add esp, 0xc
push 0x100
push 0
push 0x533248
call fcn.004ba860
add esp, 0xc
push 0x100
push 0
push 0x5323e8
call fcn.004ba860
add esp, 0xc
push 0x100
push 0
push 0x533048
call fcn.004ba860
add esp, 0xc
push 0x100
push 0
push 0x531fe0
call fcn.004ba860
add esp, 0xc
push 0x100
push 0
push 0x5321e8
call fcn.004ba860
add esp, 0xc
push 0x100
push 0
push 0x532be8
call fcn.004ba860
add esp, 0xc
push 0x100
push 0
push 0x5327e8
call fcn.004ba860
add esp, 0xc
push 0x100
push 0
push 0x533654
call fcn.004ba860
add esp, 0xc
push 0x100
push 0
push 0x533854
call fcn.004ba860
add esp, 0xc
push 0x100
push 0
push 0x5329e8
call fcn.004ba860
add esp, 0xc
push str.Audio_front_headphone
push 0x5307b8
call fcn.004ba79a
add esp, 8
push str.Audio_front_mic
push 0x533048
call fcn.004ba79a
add esp, 8
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x418], 0
lea edx, [ebp - 0x41c]
push edx
push 0x2001f
push 0
push str.SYSTEMCurrentControlSetControlDeviceClasses65E8773E_8F56_11D0_A3B9_00A0C9223196
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4aac4a
cmp dword [ebp - 0x420], 0
jne 0x4aac3d
cmp dword [ebp - 0x14], 0
jne 0x4aac3d
mov dword [ebp - 0x424], 0x800
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x1424]
push ecx
mov edx, dword [ebp - 0x418]
push edx
mov eax, dword [ebp - 0x41c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4aac29
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x1424]
push edx
call fcn.004a8207
add esp, 8
test eax, eax
jne 0x4a9e74
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x1424]
push ecx
call fcn.004a8207
add esp, 8
test eax, eax
je 0x4aac29
mov dword [ebp - 0x142c], 0
lea edx, [ebp - 0x1424]
push edx
lea eax, [ebp - 0x242c]
push eax
call fcn.004ba79a
add esp, 8
push 0x522860
lea ecx, [ebp - 0x1424]
push ecx
call fcn.004ba770
add esp, 8
mov dword [ebp - 0x1428], 1
lea edx, [ebp - 0x142c]
push edx
push 0x2001f
push 0
lea eax, [ebp - 0x1424]
push eax
mov ecx, dword [ebp - 0x41c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4a9f74
mov dword [ebp - 0x2430], 1
mov dword [ebp - 0x2434], 0x200
lea edx, [ebp - 0x2434]
push edx
push 0x533eb8
lea eax, [ebp - 0x2430]
push eax
push 0
push 0x5228a8
mov ecx, dword [ebp - 0x142c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4a9f30
mov dword [ebp - 0x1428], 0
lea edx, [ebp - 0x2434]
push edx
push 0x5325e8
lea eax, [ebp - 0x2430]
push eax
push 0
push 0x5228c4
mov ecx, dword [ebp - 0x142c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4a9f65
mov dword [ebp - 0x1428], 0
mov edx, dword [ebp - 0x142c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4a9f7e
mov dword [ebp - 0x1428], 0
lea eax, [ebp - 0x242c]
push eax
lea ecx, [ebp - 0x1424]
push ecx
call fcn.004ba79a
add esp, 8
push 0x5228e0
lea edx, [ebp - 0x1424]
push edx
call fcn.004ba770
add esp, 8
lea eax, [ebp - 0x142c]
push eax
push 0x2001f
push 0
lea ecx, [ebp - 0x1424]
push ecx
mov edx, dword [ebp - 0x41c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4aa031
mov dword [ebp - 0x2438], 1
mov dword [ebp - 0x243c], 0x200
lea eax, [ebp - 0x243c]
push eax
push 0x532e08
lea ecx, [ebp - 0x2438]
push ecx
push 0
push 0x52292c
mov edx, dword [ebp - 0x142c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4aa022
mov dword [ebp - 0x1428], 0
mov eax, dword [ebp - 0x142c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4aa03b
mov dword [ebp - 0x1428], 0
lea ecx, [ebp - 0x242c]
push ecx
lea edx, [ebp - 0x1424]
push edx
call fcn.004ba79a
add esp, 8
push 0x522948
lea eax, [ebp - 0x1424]
push eax
call fcn.004ba770
add esp, 8
lea ecx, [ebp - 0x142c]
push ecx
push 0x2001f
push 0
lea edx, [ebp - 0x1424]
push edx
mov eax, dword [ebp - 0x41c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4aa0ee
mov dword [ebp - 0x2440], 1
mov dword [ebp - 0x2444], 0x200
lea ecx, [ebp - 0x2444]
push ecx
push 0x533454
lea edx, [ebp - 0x2440]
push edx
push 0
push 0x522990
mov eax, dword [ebp - 0x142c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4aa0df
mov dword [ebp - 0x1428], 0
mov ecx, dword [ebp - 0x142c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4aa0f8
mov dword [ebp - 0x1428], 0
lea edx, [ebp - 0x242c]
push edx
lea eax, [ebp - 0x1424]
push eax
call fcn.004ba79a
add esp, 8
push 0x5229ac
lea ecx, [ebp - 0x1424]
push ecx
call fcn.004ba770
add esp, 8
lea edx, [ebp - 0x142c]
push edx
push 0x2001f
push 0
lea eax, [ebp - 0x1424]
push eax
mov ecx, dword [ebp - 0x41c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4aa1ab
mov dword [ebp - 0x2448], 1
mov dword [ebp - 0x244c], 0x200
lea edx, [ebp - 0x244c]
push edx
push 0x533ca0
lea eax, [ebp - 0x2448]
push eax
push 0
push 0x5229f8
mov ecx, dword [ebp - 0x142c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4aa19c
mov dword [ebp - 0x1428], 0
mov edx, dword [ebp - 0x142c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4aa1b5
mov dword [ebp - 0x1428], 0
lea eax, [ebp - 0x242c]
push eax
lea ecx, [ebp - 0x1424]
push ecx
call fcn.004ba79a
add esp, 8
push str.FrontPanelHeadphoneWaveDevice_Parameters
lea edx, [ebp - 0x1424]
push edx
call fcn.004ba770
add esp, 8
lea eax, [ebp - 0x142c]
push eax
push 0x2001f
push 0
lea ecx, [ebp - 0x1424]
push ecx
mov edx, dword [ebp - 0x41c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4aa268
mov dword [ebp - 0x2450], 1
mov dword [ebp - 0x2454], 0x200
lea eax, [ebp - 0x2454]
push eax
push 0x533a54
lea ecx, [ebp - 0x2450]
push ecx
push 0
push 0x522a6c
mov edx, dword [ebp - 0x142c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4aa259
mov dword [ebp - 0x1428], 0
mov eax, dword [ebp - 0x142c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4aa272
mov dword [ebp - 0x1428], 0
lea ecx, [ebp - 0x242c]
push ecx
lea edx, [ebp - 0x1424]
push edx
call fcn.004ba79a
add esp, 8
push 0x522a88
lea eax, [ebp - 0x1424]
push eax
call fcn.004ba770
add esp, 8
lea ecx, [ebp - 0x142c]
push ecx
push 0x2001f
push 0
lea edx, [ebp - 0x1424]
push edx
mov eax, dword [ebp - 0x41c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4aa325
mov dword [ebp - 0x2458], 1
mov dword [ebp - 0x245c], 0x200
lea ecx, [ebp - 0x245c]
push ecx
push 0x5309b8
lea edx, [ebp - 0x2458]
push edx
push 0
push 0x522ad4
mov eax, dword [ebp - 0x142c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4aa316
mov dword [ebp - 0x1428], 0
mov ecx, dword [ebp - 0x142c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4aa32f
mov dword [ebp - 0x1428], 0
lea edx, [ebp - 0x242c]
push edx
lea eax, [ebp - 0x1424]
push eax
call fcn.004ba79a
add esp, 8
push 0x522af0
lea ecx, [ebp - 0x1424]
push ecx
call fcn.004ba770
add esp, 8
lea edx, [ebp - 0x142c]
push edx
push 0x2001f
push 0
lea eax, [ebp - 0x1424]
push eax
mov ecx, dword [ebp - 0x41c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4aa436
mov dword [ebp - 0x2460], 1
mov dword [ebp - 0x2464], 0x200
lea edx, [ebp - 0x2464]
push edx
push 0x5323e8
lea eax, [ebp - 0x2460]
push eax
push 0
push 0x522b38
mov ecx, dword [ebp - 0x142c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4aa3d7
mov dword [ebp - 0x1428], 0
mov edx, dword [ebp - 0x142c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
test eax, eax
je 0x4aa3f9
mov dword [ebp - 0x4540], 0
jmp 0x4aa40c
push 0x522b54
call fcn.0040d5a0
add esp, 4
mov dword [ebp - 0x4540], eax
mov ecx, 1
test ecx, ecx
je 0x4aa421
mov dword [ebp - 0x4544], 0
jmp 0x4aa434
push 0x5323e8
call fcn.0040d5a0
add esp, 4
mov dword [ebp - 0x4544], eax
jmp 0x4aa440
mov dword [ebp - 0x1428], 0
lea edx, [ebp - 0x242c]
push edx
lea eax, [ebp - 0x1424]
push eax
call fcn.004ba79a
add esp, 8
push 0x522b70
lea ecx, [ebp - 0x1424]
push ecx
call fcn.004ba770
add esp, 8
lea edx, [ebp - 0x142c]
push edx
push 0x2001f
push 0
lea eax, [ebp - 0x1424]
push eax
mov ecx, dword [ebp - 0x41c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4aa547
mov dword [ebp - 0x2468], 1
mov dword [ebp - 0x246c], 0x200
lea edx, [ebp - 0x246c]
push edx
push 0x533248
lea eax, [ebp - 0x2468]
push eax
push 0
push 0x522bc8
mov ecx, dword [ebp - 0x142c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4aa4e8
mov dword [ebp - 0x1428], 0
mov edx, dword [ebp - 0x142c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
test eax, eax
je 0x4aa50a
mov dword [ebp - 0x4548], 0
jmp 0x4aa51d
push 0x522be4
call fcn.0040d5a0
add esp, 4
mov dword [ebp - 0x4548], eax
mov ecx, 1
test ecx, ecx
je 0x4aa532
mov dword [ebp - 0x454c], 0
jmp 0x4aa545
push 0x533248
call fcn.0040d5a0
add esp, 4
mov dword [ebp - 0x454c], eax
jmp 0x4aa551
mov dword [ebp - 0x1428], 0
lea edx, [ebp - 0x242c]
push edx
lea eax, [ebp - 0x1424]
push eax
call fcn.004ba79a
add esp, 8
push 0x522c00
lea ecx, [ebp - 0x1424]
push ecx
call fcn.004ba770
add esp, 8
lea edx, [ebp - 0x142c]
push edx
push 0x2001f
push 0
lea eax, [ebp - 0x1424]
push eax
mov ecx, dword [ebp - 0x41c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4aa658
mov dword [ebp - 0x2470], 1
mov dword [ebp - 0x2474], 0x200
lea edx, [ebp - 0x2474]
push edx
push 0x531fe0
lea eax, [ebp - 0x2470]
push eax
push 0
push 0x522c50
mov ecx, dword [ebp - 0x142c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4aa5f9
mov dword [ebp - 0x1428], 0
mov edx, dword [ebp - 0x142c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
test eax, eax
je 0x4aa61b
mov dword [ebp - 0x4550], 0
jmp 0x4aa62e
push 0x522c6c
call fcn.0040d5a0
add esp, 4
mov dword [ebp - 0x4550], eax
mov ecx, 1
test ecx, ecx
je 0x4aa643
mov dword [ebp - 0x4554], 0
jmp 0x4aa656
push 0x531fe0
call fcn.0040d5a0
add esp, 4
mov dword [ebp - 0x4554], eax
jmp 0x4aa662
mov dword [ebp - 0x1428], 0
lea edx, [ebp - 0x242c]
push edx
lea eax, [ebp - 0x1424]
push eax
call fcn.004ba79a
add esp, 8
push 0x522c88
lea ecx, [ebp - 0x1424]
push ecx
call fcn.004ba770
add esp, 8
lea edx, [ebp - 0x142c]
push edx
push 0x2001f
push 0
lea eax, [ebp - 0x1424]
push eax
mov ecx, dword [ebp - 0x41c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4aa769
mov dword [ebp - 0x2478], 1
mov dword [ebp - 0x247c], 0x200
lea edx, [ebp - 0x247c]
push edx
push 0x5321e8
lea eax, [ebp - 0x2478]
push eax
push 0
push 0x522cdc
mov ecx, dword [ebp - 0x142c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4aa70a
mov dword [ebp - 0x1428], 0
mov edx, dword [ebp - 0x142c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
test eax, eax
je 0x4aa72c
mov dword [ebp - 0x4558], 0
jmp 0x4aa73f
push 0x522cf8
call fcn.0040d5a0
add esp, 4
mov dword [ebp - 0x4558], eax
mov ecx, 1
test ecx, ecx
je 0x4aa754
mov dword [ebp - 0x455c], 0
jmp 0x4aa767
push 0x5321e8
call fcn.0040d5a0
add esp, 4
mov dword [ebp - 0x455c], eax
jmp 0x4aa773
mov dword [ebp - 0x1428], 0
lea edx, [ebp - 0x242c]
push edx
lea eax, [ebp - 0x1424]
push eax
call fcn.004ba79a
add esp, 8
push 0x522d14
lea ecx, [ebp - 0x1424]
push ecx
call fcn.004ba770
add esp, 8
lea edx, [ebp - 0x142c]
push edx
push 0x2001f
push 0
lea eax, [ebp - 0x1424]
push eax
mov ecx, dword [ebp - 0x41c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4aa87a
mov dword [ebp - 0x2480], 1
mov dword [ebp - 0x2484], 0x200
lea edx, [ebp - 0x2484]
push edx
push 0x532be8
lea eax, [ebp - 0x2480]
push eax
push 0
push 0x522d64
mov ecx, dword [ebp - 0x142c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4aa81b
mov dword [ebp - 0x1428], 0
mov edx, dword [ebp - 0x142c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
test eax, eax
je 0x4aa83d
mov dword [ebp - 0x4560], 0
jmp 0x4aa850
push 0x522d80
call fcn.0040d5a0
add esp, 4
mov dword [ebp - 0x4560], eax
mov ecx, 1
test ecx, ecx
je 0x4aa865
mov dword [ebp - 0x4564], 0
jmp 0x4aa878
push 0x532be8
call fcn.0040d5a0
add esp, 4
mov dword [ebp - 0x4564], eax
jmp 0x4aa884
mov dword [ebp - 0x1428], 0
lea edx, [ebp - 0x242c]
push edx
lea eax, [ebp - 0x1424]
push eax
call fcn.004ba79a
add esp, 8
push 0x522d9c
lea ecx, [ebp - 0x1424]
push ecx
call fcn.004ba770
add esp, 8
lea edx, [ebp - 0x142c]
push edx
push 0x2001f
push 0
lea eax, [ebp - 0x1424]
push eax
mov ecx, dword [ebp - 0x41c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4aa98b
mov dword [ebp - 0x2488], 1
mov dword [ebp - 0x248c], 0x200
lea edx, [ebp - 0x248c]
push edx
push 0x5327e8
lea eax, [ebp - 0x2488]
push eax
push 0
push 0x522dec
mov ecx, dword [ebp - 0x142c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4aa92c
mov dword [ebp - 0x1428], 0
mov edx, dword [ebp - 0x142c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
test eax, eax
je 0x4aa94e
mov dword [ebp - 0x4568], 0
jmp 0x4aa961
push 0x522e08
call fcn.0040d5a0
add esp, 4
mov dword [ebp - 0x4568], eax
mov ecx, 1
test ecx, ecx
je 0x4aa976
mov dword [ebp - 0x456c], 0
jmp 0x4aa989
push 0x5327e8
call fcn.0040d5a0
add esp, 4
mov dword [ebp - 0x456c], eax
jmp 0x4aa995
mov dword [ebp - 0x1428], 0
lea edx, [ebp - 0x242c]
push edx
lea eax, [ebp - 0x1424]
push eax
call fcn.004ba79a
add esp, 8
push 0x522e24
lea ecx, [ebp - 0x1424]
push ecx
call fcn.004ba770
add esp, 8
lea edx, [ebp - 0x142c]
push edx
push 0x2001f
push 0
lea eax, [ebp - 0x1424]
push eax
mov ecx, dword [ebp - 0x41c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4aaa9c
mov dword [ebp - 0x2490], 1
mov dword [ebp - 0x2494], 0x200
lea edx, [ebp - 0x2494]
push edx
push 0x533654
lea eax, [ebp - 0x2490]
push eax
push 0
push 0x522e64
mov ecx, dword [ebp - 0x142c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4aaa3d
mov dword [ebp - 0x1428], 0
mov edx, dword [ebp - 0x142c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
test eax, eax
je 0x4aaa5f
mov dword [ebp - 0x4570], 0
jmp 0x4aaa72
push str.The_name_is:
call fcn.0040d5a0
add esp, 4
mov dword [ebp - 0x4570], eax
mov ecx, 1
test ecx, ecx
je 0x4aaa87
mov dword [ebp - 0x4574], 0
jmp 0x4aaa9a
push 0x533654
call fcn.0040d5a0
add esp, 4
mov dword [ebp - 0x4574], eax
jmp 0x4aaaa6
mov dword [ebp - 0x1428], 0
lea edx, [ebp - 0x242c]
push edx
lea eax, [ebp - 0x1424]
push eax
call fcn.004ba79a
add esp, 8
push 0x522e9c
lea ecx, [ebp - 0x1424]
push ecx
call fcn.004ba770
add esp, 8
lea edx, [ebp - 0x142c]
push edx
push 0x2001f
push 0
lea eax, [ebp - 0x1424]
push eax
mov ecx, dword [ebp - 0x41c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4aab59
mov dword [ebp - 0x2498], 1
mov dword [ebp - 0x249c], 0x200
lea edx, [ebp - 0x249c]
push edx
push 0x533854
lea eax, [ebp - 0x2498]
push eax
push 0
push 0x522ef4
mov ecx, dword [ebp - 0x142c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4aab4a
mov dword [ebp - 0x1428], 0
mov edx, dword [ebp - 0x142c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4aab63
mov dword [ebp - 0x1428], 0
lea eax, [ebp - 0x242c]
push eax
lea ecx, [ebp - 0x1424]
push ecx
call fcn.004ba79a
add esp, 8
push 0x522f10
lea edx, [ebp - 0x1424]
push edx
call fcn.004ba770
add esp, 8
lea eax, [ebp - 0x142c]
push eax
push 0x2001f
push 0
lea ecx, [ebp - 0x1424]
push ecx
mov edx, dword [ebp - 0x41c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4aac16
mov dword [ebp - 0x24a0], 1
mov dword [ebp - 0x24a4], 0x200
lea eax, [ebp - 0x24a4]
push eax
push 0x5329e8
lea ecx, [ebp - 0x24a0]
push ecx
push 0
push 0x522f6c
mov edx, dword [ebp - 0x142c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4aac07
mov dword [ebp - 0x1428], 0
mov eax, dword [ebp - 0x142c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4aac20
mov dword [ebp - 0x1428], 0
mov ecx, dword [ebp - 0x1428]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x418]
add edx, 1
mov dword [ebp - 0x418], edx
jmp 0x4a9dde
mov eax, dword [ebp - 0x41c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x418], 0
lea ecx, [ebp - 0x41c]
push ecx
push 0x2001f
push 0
push str.SYSTEMCurrentControlSetControlDeviceClasses6994AD04_93EF_11D0_A3CC_00A0C9223196
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4ab81d
cmp dword [ebp - 0x420], 0
jne 0x4ab810
cmp dword [ebp - 0x14], 0
jne 0x4ab810
mov dword [ebp - 0x24a8], 0x800
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x24a8]
push edx
lea eax, [ebp - 0x34a8]
push eax
mov ecx, dword [ebp - 0x418]
push ecx
mov edx, dword [ebp - 0x41c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4ab7fc
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x34a8]
push ecx
call fcn.004a8207
add esp, 8
test eax, eax
jne 0x4aad22
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x34a8]
push eax
call fcn.004a8207
add esp, 8
test eax, eax
je 0x4ab7fc
mov dword [ebp - 0x34b0], 0
lea ecx, [ebp - 0x34a8]
push ecx
lea edx, [ebp - 0x44b0]
push edx
call fcn.004ba79a
add esp, 8
push str.RearLineOutWaveDevice_Parameters
lea eax, [ebp - 0x34a8]
push eax
call fcn.004ba770
add esp, 8
mov dword [ebp - 0x34ac], 1
lea ecx, [ebp - 0x34b0]
push ecx
push 0x2001f
push 0
lea edx, [ebp - 0x34a8]
push edx
mov eax, dword [ebp - 0x41c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4aae26
mov dword [ebp - 0x44b4], 1
mov dword [ebp - 0x44b8], 0x200
lea ecx, [ebp - 0x44b8]
push ecx
push 0x5325e8
lea edx, [ebp - 0x44b4]
push edx
push 0
push 0x52307c
mov eax, dword [ebp - 0x34b0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4aadde
mov dword [ebp - 0x34ac], 0
mov ecx, dword [ebp - 0x34b0]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x523098
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x5325e8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x52309c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea edx, [ebp - 0x34a8]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x5230a0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4aae30
mov dword [ebp - 0x34ac], 0
lea eax, [ebp - 0x44b0]
push eax
lea ecx, [ebp - 0x34a8]
push ecx
call fcn.004ba79a
add esp, 8
push 0x5230a4
lea edx, [ebp - 0x34a8]
push edx
call fcn.004ba770
add esp, 8
lea eax, [ebp - 0x34b0]
push eax
push 0x2001f
push 0
lea ecx, [ebp - 0x34a8]
push ecx
mov edx, dword [ebp - 0x41c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4aaee3
mov dword [ebp - 0x44bc], 1
mov dword [ebp - 0x44c0], 0x200
lea eax, [ebp - 0x44c0]
push eax
push 0x532e08
lea ecx, [ebp - 0x44bc]
push ecx
push 0
push 0x5230f0
mov edx, dword [ebp - 0x34b0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4aaed4
mov dword [ebp - 0x34ac], 0
mov eax, dword [ebp - 0x34b0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4aaeed
mov dword [ebp - 0x34ac], 0
lea ecx, [ebp - 0x44b0]
push ecx
lea edx, [ebp - 0x34a8]
push edx
call fcn.004ba79a
add esp, 8
push str.RearLineInWaveDevice_Parameters
lea eax, [ebp - 0x34a8]
push eax
call fcn.004ba770
add esp, 8
lea ecx, [ebp - 0x34b0]
push ecx
push 0x2001f
push 0
lea edx, [ebp - 0x34a8]
push edx
mov eax, dword [ebp - 0x41c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4aafa0
mov dword [ebp - 0x44c4], 1
mov dword [ebp - 0x44c8], 0x200
lea ecx, [ebp - 0x44c8]
push ecx
push 0x533454
lea edx, [ebp - 0x44c4]
push edx
push 0
push 0x523154
mov eax, dword [ebp - 0x34b0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4aaf91
mov dword [ebp - 0x34ac], 0
mov ecx, dword [ebp - 0x34b0]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4aafaa
mov dword [ebp - 0x34ac], 0
lea edx, [ebp - 0x44b0]
push edx
lea eax, [ebp - 0x34a8]
push eax
call fcn.004ba79a
add esp, 8
push str.DigitalInputWaveDevice_Parameters
lea ecx, [ebp - 0x34a8]
push ecx
call fcn.004ba770
add esp, 8
lea edx, [ebp - 0x34b0]
push edx
push 0x2001f
push 0
lea eax, [ebp - 0x34a8]
push eax
mov ecx, dword [ebp - 0x41c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4ab05d
mov dword [ebp - 0x44cc], 1
mov dword [ebp - 0x44d0], 0x200
lea edx, [ebp - 0x44d0]
push edx
push 0x533ca0
lea eax, [ebp - 0x44cc]
push eax
push 0
push 0x5231bc
mov ecx, dword [ebp - 0x34b0]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ab04e
mov dword [ebp - 0x34ac], 0
mov edx, dword [ebp - 0x34b0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4ab067
mov dword [ebp - 0x34ac], 0
lea eax, [ebp - 0x44b0]
push eax
lea ecx, [ebp - 0x34a8]
push ecx
call fcn.004ba79a
add esp, 8
push str.FrontPanelMicWaveDevice_Parameters
lea edx, [ebp - 0x34a8]
push edx
call fcn.004ba770
add esp, 8
lea eax, [ebp - 0x34b0]
push eax
push 0x2001f
push 0
lea ecx, [ebp - 0x34a8]
push ecx
mov edx, dword [ebp - 0x41c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4ab11a
mov dword [ebp - 0x44d4], 1
mov dword [ebp - 0x44d8], 0x200
lea eax, [ebp - 0x44d8]
push eax
push 0x5309b8
lea ecx, [ebp - 0x44d4]
push ecx
push 0
push 0x523224
mov edx, dword [ebp - 0x34b0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ab10b
mov dword [ebp - 0x34ac], 0
mov eax, dword [ebp - 0x34b0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4ab124
mov dword [ebp - 0x34ac], 0
lea ecx, [ebp - 0x44b0]
push ecx
lea edx, [ebp - 0x34a8]
push edx
call fcn.004ba79a
add esp, 8
push str.DigitalMicWaveDevice_Parameters
lea eax, [ebp - 0x34a8]
push eax
call fcn.004ba770
add esp, 8
lea ecx, [ebp - 0x34b0]
push ecx
push 0x2001f
push 0
lea edx, [ebp - 0x34a8]
push edx
mov eax, dword [ebp - 0x41c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4ab1d7
mov dword [ebp - 0x44dc], 1
mov dword [ebp - 0x44e0], 0x200
lea ecx, [ebp - 0x44e0]
push ecx
push 0x5323e8
lea edx, [ebp - 0x44dc]
push edx
push 0
push 0x523288
mov eax, dword [ebp - 0x34b0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ab1c8
mov dword [ebp - 0x34ac], 0
mov ecx, dword [ebp - 0x34b0]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4ab1e1
mov dword [ebp - 0x34ac], 0
lea edx, [ebp - 0x44b0]
push edx
lea eax, [ebp - 0x34a8]
push eax
call fcn.004ba79a
add esp, 8
push str.ViaFrontMicCaptureWaveDevice_Parameters
lea ecx, [ebp - 0x34a8]
push ecx
call fcn.004ba770
add esp, 8
lea edx, [ebp - 0x34b0]
push edx
push 0x2001f
push 0
lea eax, [ebp - 0x34a8]
push eax
mov ecx, dword [ebp - 0x41c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4ab294
mov dword [ebp - 0x44e4], 1
mov dword [ebp - 0x44e8], 0x200
lea edx, [ebp - 0x44e8]
push edx
push 0x533248
lea eax, [ebp - 0x44e4]
push eax
push 0
push 0x5232fc
mov ecx, dword [ebp - 0x34b0]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ab285
mov dword [ebp - 0x34ac], 0
mov edx, dword [ebp - 0x34b0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4ab29e
mov dword [ebp - 0x34ac], 0
lea eax, [ebp - 0x44b0]
push eax
lea ecx, [ebp - 0x34a8]
push ecx
call fcn.004ba79a
add esp, 8
push str.ViaMicInCaptureWaveDevice_Parameters
lea edx, [ebp - 0x34a8]
push edx
call fcn.004ba770
add esp, 8
lea eax, [ebp - 0x34b0]
push eax
push 0x2001f
push 0
lea ecx, [ebp - 0x34a8]
push ecx
mov edx, dword [ebp - 0x41c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4ab351
mov dword [ebp - 0x44ec], 1
mov dword [ebp - 0x44f0], 0x200
lea eax, [ebp - 0x44f0]
push eax
push 0x531fe0
lea ecx, [ebp - 0x44ec]
push ecx
push 0
push 0x523368
mov edx, dword [ebp - 0x34b0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ab342
mov dword [ebp - 0x34ac], 0
mov eax, dword [ebp - 0x34b0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4ab35b
mov dword [ebp - 0x34ac], 0
lea ecx, [ebp - 0x44b0]
push ecx
lea edx, [ebp - 0x34a8]
push edx
call fcn.004ba79a
add esp, 8
push str.ViaLineInCaptureWaveDevice_Parameters
lea eax, [ebp - 0x34a8]
push eax
call fcn.004ba770
add esp, 8
mov ecx, 1
test ecx, ecx
je 0x4ab39a
mov dword [ebp - 0x4578], 0
jmp 0x4ab3af
lea edx, [ebp - 0x34a8]
push edx
call fcn.0040d5a0
add esp, 4
mov dword [ebp - 0x4578], eax
lea eax, [ebp - 0x34b0]
push eax
push 0x2001f
push 0
lea ecx, [ebp - 0x34a8]
push ecx
mov edx, dword [ebp - 0x41c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4ab438
mov dword [ebp - 0x44f4], 1
mov dword [ebp - 0x44f8], 0x200
lea eax, [ebp - 0x44f8]
push eax
push 0x5321e8
lea ecx, [ebp - 0x44f4]
push ecx
push 0
push 0x5233d8
mov edx, dword [ebp - 0x34b0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ab429
mov dword [ebp - 0x34ac], 0
mov eax, dword [ebp - 0x34b0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4ab442
mov dword [ebp - 0x34ac], 0
lea ecx, [ebp - 0x44b0]
push ecx
lea edx, [ebp - 0x34a8]
push edx
call fcn.004ba79a
add esp, 8
push str.ViaCDInCaptureWaveDevice_Parameters
lea eax, [ebp - 0x34a8]
push eax
call fcn.004ba770
add esp, 8
lea ecx, [ebp - 0x34b0]
push ecx
push 0x2001f
push 0
lea edx, [ebp - 0x34a8]
push edx
mov eax, dword [ebp - 0x41c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4ab4f5
mov dword [ebp - 0x44fc], 1
mov dword [ebp - 0x4500], 0x200
lea ecx, [ebp - 0x4500]
push ecx
push 0x532be8
lea edx, [ebp - 0x44fc]
push edx
push 0
push 0x523444
mov eax, dword [ebp - 0x34b0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ab4e6
mov dword [ebp - 0x34ac], 0
mov ecx, dword [ebp - 0x34b0]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4ab4ff
mov dword [ebp - 0x34ac], 0
lea edx, [ebp - 0x44b0]
push edx
lea eax, [ebp - 0x34a8]
push eax
call fcn.004ba79a
add esp, 8
push str.ViaStereoMixerWaveDevice_Parameters
lea ecx, [ebp - 0x34a8]
push ecx
call fcn.004ba770
add esp, 8
lea edx, [ebp - 0x34b0]
push edx
push 0x2001f
push 0
lea eax, [ebp - 0x34a8]
push eax
mov ecx, dword [ebp - 0x41c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4ab5b2
mov dword [ebp - 0x4504], 1
mov dword [ebp - 0x4508], 0x200
lea edx, [ebp - 0x4508]
push edx
push 0x5327e8
lea eax, [ebp - 0x4504]
push eax
push 0
push 0x5234b0
mov ecx, dword [ebp - 0x34b0]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ab5a3
mov dword [ebp - 0x34ac], 0
mov edx, dword [ebp - 0x34b0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4ab5bc
mov dword [ebp - 0x34ac], 0
lea eax, [ebp - 0x44b0]
push eax
lea ecx, [ebp - 0x34a8]
push ecx
call fcn.004ba79a
add esp, 8
push str.IntMicWaveDevice_Parameters
lea edx, [ebp - 0x34a8]
push edx
call fcn.004ba770
add esp, 8
lea eax, [ebp - 0x34b0]
push eax
push 0x2001f
push 0
lea ecx, [ebp - 0x34a8]
push ecx
mov edx, dword [ebp - 0x41c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4ab66f
mov dword [ebp - 0x450c], 1
mov dword [ebp - 0x4510], 0x200
lea eax, [ebp - 0x4510]
push eax
push 0x533654
lea ecx, [ebp - 0x450c]
push ecx
push 0
push 0x52350c
mov edx, dword [ebp - 0x34b0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ab660
mov dword [ebp - 0x34ac], 0
mov eax, dword [ebp - 0x34b0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4ab679
mov dword [ebp - 0x34ac], 0
lea ecx, [ebp - 0x44b0]
push ecx
lea edx, [ebp - 0x34a8]
push edx
call fcn.004ba79a
add esp, 8
push str.ViaIntMicInCaptureWaveDevice_Parameters
lea eax, [ebp - 0x34a8]
push eax
call fcn.004ba770
add esp, 8
lea ecx, [ebp - 0x34b0]
push ecx
push 0x2001f
push 0
lea edx, [ebp - 0x34a8]
push edx
mov eax, dword [ebp - 0x41c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4ab72c
mov dword [ebp - 0x4514], 1
mov dword [ebp - 0x4518], 0x200
lea ecx, [ebp - 0x4518]
push ecx
push 0x533854
lea edx, [ebp - 0x4514]
push edx
push 0
push 0x523580
mov eax, dword [ebp - 0x34b0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ab71d
mov dword [ebp - 0x34ac], 0
mov ecx, dword [ebp - 0x34b0]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4ab736
mov dword [ebp - 0x34ac], 0
lea edx, [ebp - 0x44b0]
push edx
lea eax, [ebp - 0x34a8]
push eax
call fcn.004ba79a
add esp, 8
push str.ViaIntFrontMicCaptureWaveDevice_Parameters
lea ecx, [ebp - 0x34a8]
push ecx
call fcn.004ba770
add esp, 8
lea edx, [ebp - 0x34b0]
push edx
push 0x2001f
push 0
lea eax, [ebp - 0x34a8]
push eax
mov ecx, dword [ebp - 0x41c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4ab7e9
mov dword [ebp - 0x451c], 1
mov dword [ebp - 0x4520], 0x200
lea edx, [ebp - 0x4520]
push edx
push 0x5329e8
lea eax, [ebp - 0x451c]
push eax
push 0
push 0x5235f8
mov ecx, dword [ebp - 0x34b0]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ab7da
mov dword [ebp - 0x34ac], 0
mov edx, dword [ebp - 0x34b0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4ab7f3
mov dword [ebp - 0x34ac], 0
mov eax, dword [ebp - 0x34ac]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x418]
add ecx, 1
mov dword [ebp - 0x418], ecx
jmp 0x4aac8c
mov edx, dword [ebp - 0x41c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x41c]
push eax
push 0x2001f
push 0
push str.SYSTEMCurrentControlSetControlMediaCategoriesF06BB67D_5C2F_48ad_A307_B449E3B217D6
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4ab8c7
mov dword [ebp - 0x4524], 1
mov dword [ebp - 0x4528], 0x40
lea ecx, [ebp - 0x4528]
push ecx
push 0x533c60
lea edx, [ebp - 0x4524]
push edx
push 0
push 0x5236c4
mov eax, dword [ebp - 0x41c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4ab8b8
call fcn.004ae871
test eax, eax
jne 0x4ab8a6
push 0x5236d0
push 0x533c60
call fcn.004ba79a
add esp, 8
jmp 0x4ab8b8
push 0x5236ec
push 0x533c60
call fcn.004ba79a
add esp, 8
mov ecx, dword [ebp - 0x41c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4ab8f6
call fcn.004ae871
test eax, eax
jne 0x4ab8e4
push str.S_PDIF_Enable
push 0x533c60
call fcn.004ba79a
add esp, 8
jmp 0x4ab8f6
push str.S_PDIF_Disable
push 0x533c60
call fcn.004ba79a
add esp, 8
mov edx, 1
test edx, edx
je 0x4ab90b
mov dword [ebp - 0x457c], 0
jmp 0x4ab91e
push 0x533c60
call fcn.0040d5a0
add esp, 4
mov dword [ebp - 0x457c], eax
lea eax, [ebp - 0x41c]
push eax
push 0x2001f
push 0
push str.SYSTEMCurrentControlSetControlMediaCategories7E80665D_50DE_41c1_92AC_A1FDED8ABC19
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4ab9c8
mov dword [ebp - 0x452c], 1
mov dword [ebp - 0x4530], 0x40
lea ecx, [ebp - 0x4530]
push ecx
push 0x533008
lea edx, [ebp - 0x452c]
push edx
push 0
push str.Name
mov eax, dword [ebp - 0x41c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4ab9b9
call fcn.004ae871
test eax, eax
jne 0x4ab9a7
push 0x523804
push 0x533008
call fcn.004ba79a
add esp, 8
jmp 0x4ab9b9
push 0x523824
push 0x533008
call fcn.004ba79a
add esp, 8
mov ecx, dword [ebp - 0x41c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4ab9f7
call fcn.004ae871
test eax, eax
jne 0x4ab9e5
push str.S_PDIF2_Enable
push 0x533008
call fcn.004ba79a
add esp, 8
jmp 0x4ab9f7
push str.S_PDIF2_Disable
push 0x533008
call fcn.004ba79a
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x4534], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004d02cd
mov eax, dword [ebp - 0x4534]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret