joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4aeaa0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4aeadd
push str.HDAudioBassmanagement:_CreateFile:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4aeb8e
cmp dword [ebp + 0xc], 0
je 0x4aeb19
push 0
lea ecx, [ebp - 0x3c]
push ecx
push 0x30
lea edx, [ebp - 0x34]
push edx
push 0
push 0
push 0x1d6028
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x38], eax
push 0x30
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.004bae30
add esp, 0xc
jmp 0x4aeb4d
push 0x30
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.004bae30
add esp, 0xc
push 0
lea edx, [ebp - 0x3c]
push edx
push 0
push 0
push 0x30
lea eax, [ebp - 0x34]
push eax
push 0x1da02c
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x4aeb7f
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0xc], 0
je 0x4aeb70
push str.tVIAWdmBassManage:_DeviceIoControl:_IOCTL_HDAUD_GET_VIABM_PARAMS_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4aeb7b
push str.tVIAWdmBassManage:_DeviceIoControl:_IOCTL_HDAUD_SET_VIABM_PARAMS_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4aeb8e
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4aeb92
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4aebcf
push str.HDAudioDTSEffect:_CreateFile:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4aec62
cmp dword [ebp + 0xc], 0
je 0x4aebfc
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0x80
mov edx, dword [ebp + 0x10]
push edx
push 0
push 0
push 0x1d609c
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 8], eax
jmp 0x4aec21
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 0x80
mov edx, dword [ebp + 0x10]
push edx
push 0x1da0a0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4aec53
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0xc], 0
je 0x4aec44
push str.tVIAWdmDTSEffect:_DeviceIoControl:_IOCTL_HDAUD_GET_VIADTS_PARAMS_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4aec4f
push str.tVIAWdmDTSEffect:_DeviceIoControl:_IOCTL_HDAUD_SET_VIADTS_PARAMS_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4aec62
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4aec66
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4aeca3
push str.HDAudioKaraOkEffect:_CreateFile:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4aed30
cmp dword [ebp + 0xc], 0
je 0x4aeccd
push 0
lea ecx, [ebp - 0xc]
push ecx
push 8
mov edx, dword [ebp + 0x10]
push edx
push 0
push 0
push 0x1d60a4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 8], eax
jmp 0x4aecef
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 8
mov edx, dword [ebp + 0x10]
push edx
push 0x1da0a8
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4aed21
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0xc], 0
je 0x4aed12
push str.tVIAWdmKaraOkEffect:_DeviceIoControl:_IOCTL_HDAUD_GET_VIAKARAOK_PARAMS_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4aed1d
push str.tVIAWdmKaraOkEffect:_DeviceIoControl:_IOCTL_HDAUD_SET_VIAKARAOK_PARAMS_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4aed30
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4aee26
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4aee60
push str.SetHDAudioRedirctHPCtrl:_CreateFile:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4aeec3
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0
push 4
lea edx, [ebp + 0xc]
push edx
push 0x1da038
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4aeea1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.SetHDAudioRedirctHPCtrl:_DeviceIoControl:_IOCTL_HDAUD_SET_REDIRCT_HP_CTRL_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4aeec3
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 8]
push eax
mov ecx, dword [0x5348f8]
push ecx
call fcn.004af06b
add esp, 8
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4aeec7
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4aef04
push str.VIAPseudo8CH:_CreateFile:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4aefb5
cmp dword [ebp + 0xc], 0
je 0x4aef40
push 0
lea ecx, [ebp - 0xc]
push ecx
push 4
lea edx, [ebp - 0x10]
push edx
push 0
push 0
push 0x1d603c
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 8], eax
push 4
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.004bae30
add esp, 0xc
jmp 0x4aef74
push 4
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.004bae30
add esp, 0xc
push 0
lea edx, [ebp - 0xc]
push edx
push 0
push 0
push 4
lea eax, [ebp - 0x10]
push eax
push 0x1da040
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4aefa6
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0xc], 0
je 0x4aef97
push 0x526338
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4aefa2
push str.VIAPseudo8CH:_DeviceIoControl:_IOCTL_HDAUD_GET_2K_PSEUDO_8CH_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4aefb5
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4aefb9
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0x10], 0
jne 0x4aefd7
push str.SetHDAudioJackEvent:_Event_Handle:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af067
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4af00b
push 0x5264c4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af067
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], edx
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 8
lea ecx, [ebp - 8]
push ecx
push 0x1da03c
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4af058
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.SetHDAudioJackEvent:_DeviceIoControl:_IOCTL_HDAUD_SET_VIA_JACK_EVENT_CTRL_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af067
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4af06b
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4af0a5
push str.GetHDAudioJackStatus:_CreateFile:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af0f5
push 0
lea ecx, [ebp - 0x10]
push ecx
push 2
lea edx, [ebp - 0xc]
push edx
push 0
push 0
push 0x1d6038
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], 0
jne 0x4af0e6
push str.GetHDAudioJackStatus:_DeviceIoControl:_IOCTL_HDAUD_GET_VIA_JACK_STATUS_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af0f5
mov edx, dword [ebp + 0xc]
mov ax, word [ebp - 0xc]
mov word [edx], ax
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4af0f9
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0x10], 0
jne 0x4af117
push str.SetHDAudioGPIOEvent:_Event_Handle:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af1a7
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4af14b
push str.SetHDAudioGPIOEvent:_CreateFile:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af1a7
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], edx
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 8
lea ecx, [ebp - 8]
push ecx
push 0x1da088
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4af198
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.SetHDAudioGPIOEvent:_DeviceIoControl:_IOCTL_HDAUD_SET_VIA_GPIO_EVENT_CTRL_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af1a7
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4af1ab
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
push esi
push edi
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4af1ea
push str.GetHDAudioCPUType:_CreateFile:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af24f
push 0
lea ecx, [ebp - 0x814]
push ecx
push 0x808
lea edx, [ebp - 0x80c]
push edx
push 0
push 0
push 0x1d6044
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x810], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x810], 0
jne 0x4af23a
push str.GetHDAudioCPUType:_DeviceIoControl:_IOCTL_HDAUD_GET_CPUINFO_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af24f
mov ecx, 0x202
lea esi, [ebp - 0x80c]
mov edi, dword [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4af255
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4af28f
push str.SetHDAudioJackEvent:_CreateFile:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af2df
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 0x10
lea edx, [ebp + 0xc]
push edx
push 0x1da048
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4af2d0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.SetHDAudioJackEvent:_DeviceIoControl:_IOCTL_HDAUD_SET_VIA_DRV_RDYRMV_EVENT_CTRL_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af2df
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4af2e3
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
push edi
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x4af31f
push str.GetHDAudioSPDIFInState:_CreateFile:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af372
push 0
lea ecx, [ebp - 0x34]
push ecx
push 0x28
lea edx, [ebp - 0x28]
push edx
push 0
push 0
push 0x1d604c
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x30], 0
jne 0x4af360
push str.GetHDAudioSPDIFInState:_DeviceIoControl:_IOCTL_HDAUD_GET_VIA_DIGIN_STATUS_CTRL_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af372
mov ecx, 0xa
lea esi, [ebp - 0x28]
mov edi, dword [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4af404
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4af43e
push str.SetHDAudioSpeakerTestFlag:_CreateFile:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af48e
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 4
lea edx, [ebp + 0xc]
push edx
push 0x1d6060
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4af47f
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.SetHDAudioSpeakerTestFlag:_DeviceIoControl:_IOCTL_HDAUD_SET_VIA_HIGHCHAN_SPKRTEST_FLAG_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af48e
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4af492
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4af4cc
push str.GetHDAudioDigitalGain:_CreateFile:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af52c
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x10
lea edx, [ebp - 0x14]
push edx
push 0
push 0
push 0x1d6054
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], 0
jne 0x4af50d
push str.GetHDAudioDigitalGain:_DeviceIoControl:_IOCTL_HDAUD_GET_VIA_MIC_DIGITAL_GAIN_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af52c
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov dword [edx], eax
mov ecx, dword [ebp - 0x10]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 8]
mov dword [edx + 0xc], ecx
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4af530
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4af56a
push str.SetHDAudioDigitalGain:_CreateFile:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af5ba
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 0x10
lea edx, [ebp + 0xc]
push edx
push 0x1da058
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4af5ab
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.SetHDAudioDigitalGain:_DeviceIoControl:_IOCTL_HDAUD_SET_VIA_MIC_DIGITAL_GAIN_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af5ba
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4af5be
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4af5f8
push str.GetHDAudioHDMIActive:_CreateFile:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af646
push 0
lea ecx, [ebp - 0x10]
push ecx
push 4
lea edx, [ebp - 4]
push edx
push 0
push 0
push 0x1d6078
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xc], 0
jne 0x4af639
push str.GetHDAudioHDMIActive:_DeviceIoControl:_IOCTL_HDAUD_GET_DIGITAL_HDMI_DEV_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af646
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov dword [edx], eax
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4af64a
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4af684
push str.SetHDAudioHDMIActive:_CreateFile:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af6d4
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 4
lea edx, [ebp + 0xc]
push edx
push 0x1d607c
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4af6c5
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.SetHDAudioHDMIActive:_DeviceIoControl:_IOCTL_HDAUD_SET_DIGITAL_HDMI_DEV_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af6d4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4af6d8
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4af712
push str.GetHDAudioHDMI2Active:_CreateFile:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af760
push 0
lea ecx, [ebp - 0x10]
push ecx
push 4
lea edx, [ebp - 4]
push edx
push 0
push 0
push 0x1d60c0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xc], 0
jne 0x4af753
push str.GetHDAudioHDMI2Active:_DeviceIoControl:_IOCTL_HDAUD_GET_DIGITAL_HDMI2_DEV_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af760
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov dword [edx], eax
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4af764
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4af79e
push str.SetHDAudioHDMI2Active:_CreateFile:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af7ee
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 4
lea edx, [ebp + 0xc]
push edx
push 0x1d60c4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4af7df
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.SetHDAudioHDMI2Active:_DeviceIoControl:_IOCTL_HDAUD_SET_DIGITAL_HDMI2_DEV_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af7ee
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4af7f2
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4af82c
push str.SetHDAudioMicBoost:_CreateFile:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af87c
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 0xc
lea edx, [ebp + 0xc]
push edx
push 0x1d6084
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4af86d
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.SetHDAudioMicBoost:_DeviceIoControl:_IOCTL_HDAUD_SET_MICROPHONE_BOOST_LEVEL_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af87c
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret