Function at 0x140006b80
Capabilities:
Check if file exists
Copy file
Create directory
Get common file path
Query environment variable
Resolve function by parsing pe exports
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x430]
sub rsp, 0x530
mov r10d, dword [rdx + 4]
mov r14d, r8d
mov rbx, rdx
mov rsi, rcx
mov eax, r10d
cmp r10d, 0x12004
ja 0x1400070e7
je 0x14000706f
add eax, 0xfffeeffe
cmp eax, 0x37
ja case.0x140007661.147459
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x7a00]
mov ecx, dword [rdx + rax*4 + 0x79d8]
add rcx, rdx
jmp rcx
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140006bff
lea r8, str.Apply_user_selected_profile_message_received.
mov edx, 2
call fcn.140032710
mov r8d, dword [rbx + 0x24]
mov edx, r14d
mov rcx, qword [0x1400b8138]
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140036e10
mov r8d, dword [rbx + 0x28]
mov r9d, r14d
mov edx, dword [rbx + 0x2c]
mov rcx, rsi
call fcn.1400069e0
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je case.0x140007661.147497
lea r8, str.Hotplug_GPU_message_received.
mov edx, 2
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140032710
mov rcx, qword [0x1400b80b8]
mov dword [0x1400b8044], 1
test rcx, rcx
je case.0x140007661.147497
lea r8, str.Enter_exclusive_mode_message_received.
mov edx, 2
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140032710
mov rcx, qword [0x1400b80b8]
xor edi, edi
mov dword [0x1400b8044], edi
test rcx, rcx
je case.0x140007661.147497
lea r8, str.Exit_exclusive_mode_message_received.
lea edx, [rdi + 2]
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140032710
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140006ce8
lea r8, str.ATI_MESSAGECODE_DAL_MESSAGE_EVENTWIRELESSMODESET_mode_received.
mov edx, 2
call fcn.140032710
mov edx, dword [rsi + 0x38]
xor r9d, r9d
xor r8d, r8d
mov ecx, 0xffff
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp qword [sym.imp.USER32.dll_PostMessageA]
xor edi, edi
lea r9, [rbp + 0x468]
mov r8, rbx
mov qword [rbp + 0x468], rdi
mov edx, r14d
mov rcx, rsi
call fcn.1400082b0
mov r9, qword [rbp + 0x468]
test r9, r9
je 0x140006d54
mov edx, dword [rbx + 4]
lea r8d, [rdi + 1]
mov rcx, qword [0x1400b80d8]
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.14000ed50
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je case.0x140007661.147497
lea r8, str.ATI_MESSAGECODE_DAL_MESSAGE_HDMISUPPORT_NONHDMI_CONNECTOR_no_command_found.
mov edx, 2
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140032710
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140006d9f
lea r8, str.ATI_MESSAGECODE_DLM_MESSAGE_RESTORE_AUDIO_ENDPOINT_SETTINGS_triggered
mov edx, 2
call fcn.140032710
xor edx, edx
lea rcx, [rbp - 0x60]
mov r8d, 0x484
call fcn.14003aa80
mov eax, dword [rbx + 0x1c]
lea rcx, [rbp - 0x34]
mov dword [rbp - 0x60], eax
add rbx, 0x64
mov edx, 2
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rbx - 0x44]
mov dword [rcx - 0x28], eax
mov eax, dword [rbx - 0x40]
mov dword [rcx - 0x24], eax
mov eax, dword [rbx - 0x3c]
mov dword [rcx - 0x20], eax
mov eax, dword [rbx - 0x38]
mov dword [rcx - 0x1c], eax
mov eax, dword [rbx - 0x34]
mov dword [rcx - 0x18], eax
mov eax, dword [rbx - 0x30]
mov dword [rcx - 0x14], eax
mov eax, dword [rbx - 0x2c]
mov dword [rcx - 0x10], eax
mov eax, dword [rbx - 0x28]
mov dword [rcx - 0xc], eax
mov eax, dword [rbx - 0x24]
mov dword [rcx - 8], eax
mov eax, dword [rbx - 4]
mov dword [rcx - 4], eax
mov eax, dword [rbx]
mov dword [rcx], eax
mov eax, dword [rbx + 4]
mov dword [rcx + 4], eax
mov eax, dword [rbx + 8]
mov dword [rcx + 8], eax
mov eax, dword [rbx + 0xc]
mov dword [rcx + 0xc], eax
mov eax, dword [rbx + 0x10]
mov dword [rcx + 0x10], eax
mov eax, dword [rbx + 0x14]
mov dword [rcx + 0x14], eax
mov eax, dword [rbx + 0x18]
mov dword [rcx + 0x18], eax
mov eax, dword [rbx + 0x1c]
mov dword [rcx + 0x1c], eax
mov eax, dword [rbx + 0x3c]
mov dword [rcx + 0x20], eax
mov eax, dword [rbx + 0x40]
mov dword [rcx + 0x24], eax
mov eax, dword [rbx + 0x44]
mov dword [rcx + 0x28], eax
mov eax, dword [rbx + 0x48]
mov dword [rcx + 0x2c], eax
mov eax, dword [rbx + 0x4c]
mov dword [rcx + 0x30], eax
mov eax, dword [rbx + 0x50]
mov dword [rcx + 0x34], eax
mov eax, dword [rbx + 0x54]
mov dword [rcx + 0x38], eax
mov eax, dword [rbx + 0x58]
mov dword [rcx + 0x3c], eax
mov eax, dword [rbx + 0x5c]
mov dword [rcx + 0x40], eax
mov eax, dword [rbx + 0x7c]
mov dword [rcx + 0x44], eax
mov eax, dword [rbx + 0x80]
mov dword [rcx + 0x48], eax
mov eax, dword [rbx + 0x84]
mov dword [rcx + 0x4c], eax
mov eax, dword [rbx + 0x88]
mov dword [rcx + 0x50], eax
mov eax, dword [rbx + 0x8c]
mov dword [rcx + 0x54], eax
mov eax, dword [rbx + 0x90]
mov dword [rcx + 0x58], eax
mov eax, dword [rbx + 0x94]
mov dword [rcx + 0x5c], eax
mov eax, dword [rbx + 0x98]
mov dword [rcx + 0x60], eax
mov eax, dword [rbx + 0x9c]
mov dword [rcx + 0x64], eax
mov eax, dword [rbx + 0xbc]
mov dword [rcx + 0x68], eax
mov eax, dword [rbx + 0xc0]
mov dword [rcx + 0x6c], eax
mov eax, dword [rbx + 0xc4]
mov dword [rcx + 0x70], eax
mov eax, dword [rbx + 0xc8]
mov dword [rcx + 0x74], eax
mov eax, dword [rbx + 0xcc]
mov dword [rcx + 0x78], eax
lea rcx, [rcx + 0x120]
mov eax, dword [rbx + 0xd0]
lea rbx, [rbx + 0x200]
mov dword [rcx - 0xa4], eax
mov eax, dword [rbx - 0x12c]
mov dword [rcx - 0xa0], eax
mov eax, dword [rbx - 0x128]
mov dword [rcx - 0x9c], eax
mov eax, dword [rbx - 0x124]
mov dword [rcx - 0x98], eax
mov eax, dword [rbx - 0x104]
mov dword [rcx - 0x94], eax
mov eax, dword [rbx - 0x100]
mov dword [rcx - 0x90], eax
mov eax, dword [rbx - 0xfc]
mov dword [rcx - 0x8c], eax
mov eax, dword [rbx - 0xf8]
mov dword [rcx - 0x88], eax
mov eax, dword [rbx - 0xf4]
mov dword [rcx - 0x84], eax
mov eax, dword [rbx - 0xf0]
mov dword [rcx - 0x80], eax
mov eax, dword [rbx - 0xec]
mov dword [rcx - 0x7c], eax
mov eax, dword [rbx - 0xe8]
mov dword [rcx - 0x78], eax
mov eax, dword [rbx - 0xe4]
mov dword [rcx - 0x74], eax
mov eax, dword [rbx - 0xc4]
mov dword [rcx - 0x70], eax
mov eax, dword [rbx - 0xc0]
mov dword [rcx - 0x6c], eax
mov eax, dword [rbx - 0xbc]
mov dword [rcx - 0x68], eax
mov eax, dword [rbx - 0xb8]
mov dword [rcx - 0x64], eax
mov eax, dword [rbx - 0xb4]
mov dword [rcx - 0x60], eax
mov eax, dword [rbx - 0xb0]
mov dword [rcx - 0x5c], eax
mov eax, dword [rbx - 0xac]
mov dword [rcx - 0x58], eax
mov eax, dword [rbx - 0xa8]
mov dword [rcx - 0x54], eax
mov eax, dword [rbx - 0xa4]
mov dword [rcx - 0x50], eax
mov eax, dword [rbx - 0x84]
mov dword [rcx - 0x4c], eax
mov eax, dword [rbx - 0x80]
mov dword [rcx - 0x48], eax
mov eax, dword [rbx - 0x7c]
mov dword [rcx - 0x44], eax
mov eax, dword [rbx - 0x78]
mov dword [rcx - 0x40], eax
mov eax, dword [rbx - 0x74]
mov dword [rcx - 0x3c], eax
mov eax, dword [rbx - 0x70]
mov dword [rcx - 0x38], eax
mov eax, dword [rbx - 0x6c]
mov dword [rcx - 0x34], eax
mov eax, dword [rbx - 0x68]
mov dword [rcx - 0x30], eax
mov eax, dword [rbx - 0x64]
mov dword [rcx - 0x2c], eax
sub rdx, 1
jne 0x140006dd0
mov rcx, qword [0x1400b8200]
lea r8, [rbp - 0x60]
mov edx, r14d
call fcn.14001a600
cmp eax, 1
je 0x140007055
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140007055
mov r9d, eax
lea r8, str.EscapeCallManager::ADL_APO_AudioDelay_Restore_failed_with_error_code__d
mov edx, 2
call fcn.140032710
mov rcx, qword [0x1400b80d8]
call fcn.14000e6d0
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor edi, edi
lea rdx, [rbp + 0x468]
lea rcx, [rbp + 0x478]
mov qword [rbp + 0x478], rdi
mov qword [rbp + 0x468], rdi
call fcn.140038590
mov rcx, qword [0x1400b8138]
test rcx, rcx
je 0x1400070a9
xor edx, edx
call fcn.140036b90
test eax, eax
jne 0x1400070c6
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x1400070c6
lea r8, str.GpuMsgHandler::DispatchMessage_CCDForceSameMode_failed_
mov edx, 2
call fcn.140032710
mov rdx, qword [rbp + 0x468]
mov rcx, qword [rbp + 0x478]
call fcn.1400387f0
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp eax, 0x24001
ja 0x140007629
je 0x140007562
sub eax, 0x12010
je 0x1400074ce
sub eax, 1
je 0x140007366
sub eax, 2
je 0x140007166
cmp eax, 2
jne case.0x140007661.147459
xor edi, edi
lea rdx, [rbp + 0x468]
lea rcx, [rbp + 0x478]
mov qword [rbp + 0x478], rdi
mov qword [rbp + 0x468], rdi
call fcn.140038590
mov ecx, r14d
call fcn.140038600
mov rdx, qword [rbp + 0x468]
mov rcx, qword [rbp + 0x478]
call fcn.1400387f0
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp dword [rdx + 0x18], 0x20
ja 0x140007337
mov eax, dword [rdx + 0x20]
test al, 2
je 0x1400072bd
xor eax, eax
mov qword [rsp + 0x560], r15
mov r15d, dword [rcx + 0x3c]
mov edx, r14d
mov rcx, qword [0x1400b8200]
xor edi, edi
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], eax
call fcn.140014fe0
cmp eax, 1
jne 0x1400071e8
mov rcx, qword [0x1400b8200]
lea r8, [rsp + 0x40]
mov edx, r14d
call fcn.140011d00
test eax, eax
je 0x140007267
mov edi, dword [rsp + 0x50]
jmp 0x140007267
mov esi, edi
nop word [rax + rax]
mov rcx, qword [0x1400b8200]
lea r8, [rbp + 0x468]
mov edx, esi
mov dword [rbp + 0x468], 0xffffffff
call fcn.140016f50
test eax, eax
je 0x140007260
mov edx, dword [rbp + 0x468]
cmp edx, 0xffffffff
je 0x140007260
mov rcx, qword [0x1400b8200]
lea r8, [rsp + 0x40]
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], eax
call fcn.140011d00
test eax, eax
je 0x140007260
add edi, dword [rsp + 0x50]
inc esi
cmp esi, 8
jb 0x1400071f0
mov rcx, qword [0x1400b80b8]
imul edi, edi, 0x32
add edi, r15d
mov r15, qword [rsp + 0x560]
test rcx, rcx
je 0x140007295
mov r9d, edi
lea r8, str.Sleeping_before_VT_Reenum:__d_ms
mov edx, 0x800
call fcn.140032710
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x1400072ba
lea r8, [0x14008e04c]
mov edx, 0x800
call fcn.140032710
mov eax, dword [rbx + 0x20]
test al, 8
je 0x1400072e1
movzx eax, byte [rbx + 0x25]
mov ecx, dword [rbx + 0x24]
mov dword [rsp + 0x20], eax
mov eax, ecx
shr eax, 3
and eax, 0x1f
and ecx, 7
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], ecx
jmp 0x140007314
mov rcx, qword [0x1400b8200]
lea r8, [rsp + 0x20]
mov edx, r14d
call fcn.140017160
test eax, eax
jne 0x140007314
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140007314
lea r8, str.GpuMsgHandler::DispatchMessage_GetAdapterLocation_failed_
lea edx, [rax + 2]
call fcn.140032710
movsd xmm0, qword [rsp + 0x20]
lea rcx, [rbp - 0x80]
mov eax, dword [rsp + 0x28]
movsd qword [rbp - 0x80], xmm0
mov dword [rbp - 0x78], eax
call fcn.14001c8b0
test eax, eax
jne case.0x140007661.147497
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je case.0x140007661.147497
lea r8, str.GpuMsgHandler::DispatchMessage_ReenumerateDisplays_failed_
mov edx, 2
call fcn.140032710
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
add rbx, 0x1c
jne 0x140007388
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je case.0x140007661.147497
lea r8, str.GpuMsgHandler::HandleAutoTestRequest_pstAutoTest_is_NULL
jmp 0x140007496
mov r8d, dword [rbx + 4]
lea r9, [rbp + 0x468]
mov rcx, qword [0x1400b8200]
xor edi, edi
mov edx, r14d
mov dword [rbp + 0x468], edi
call fcn.140011830
test eax, eax
jne 0x1400073ca
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je case.0x140007661.147497
lea r8, str.GpuMsgHandler::HandleAutoTestRequest_FindDisplayIndexByObjectID_failed_
jmp 0x140007496
mov r9d, dword [rbx + 8]
mov eax, r9d
sub eax, 1
je 0x14000745d
sub eax, 1
je 0x140007441
cmp eax, 1
je 0x14000740a
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je case.0x140007661.147497
lea r8, str.ATI_MESSAGECODE_DAL_ACTION_AUTOMATED_TESTREQUEST_request__x_not_supported
mov edx, 2
call fcn.140032710
jmp 0x1400074a0
mov rcx, qword [0x1400b8200]
lea r8, [rbp - 0x80]
xor r9d, r9d
mov edx, r14d
call fcn.140010360
test eax, eax
jne case.0x140007661.147497
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je case.0x140007661.147497
lea r8, str.GpuMsgHandler::HandleAutoTestRequest_AdapterGetInfo_failed_
jmp 0x140007496
mov r9d, dword [rbx + 0x10]
mov edx, r14d
mov r8d, dword [rbp + 0x468]
mov rcx, qword [0x1400b8200]
call fcn.140010860
jmp 0x140007477
mov r9d, dword [rbx + 0x10]
mov edx, r14d
mov r8d, dword [rbp + 0x468]
mov rcx, qword [0x1400b8200]
call fcn.140010a70
test eax, eax
jne case.0x140007661.147497
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je case.0x140007661.147497
lea r8, str.GpuMsgHandler::HandleAutoTestRequest_AutoTestSetPanelFormat_failed_
mov edx, 2
call fcn.140032710
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je case.0x140007661.147497
lea r8, str.GpuMsgHandler::DispatchMessage_HandleAutoTestRequest_failed_
mov edx, 2
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140032710
mov edx, dword [rdx + 0x2c]
xor r8d, r8d
mov ecx, dword [rbx + 0x28]
call fcn.14001ca40
mov eax, dword [rbx + 0x20]
cmp eax, 1
je 0x140007516
cmp eax, 3
jne 0x140007508
mov r8d, dword [rbx + 0x24]
lea edx, [rax + 5]
mov r9d, r14d
mov rcx, rsi
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.1400069e0
cmp eax, 2
je 0x140007516
cmp eax, 4
jne case.0x140007661.147497
mov rcx, qword [0x1400b8138]
test rcx, rcx
je 0x140007534
mov edx, 1
call fcn.140036b90
test eax, eax
jne case.0x140007661.147497
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je case.0x140007661.147497
lea r8, str.GpuMsgHandler::UpdateCapability_CCDForceEnumerateMode_failed
mov edx, 0x800
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140032710
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x14000757f
lea r8, str.PnP_stop_start_message_received.
mov edx, 2
call fcn.140032710
mov rcx, qword [0x1400be260]
test rcx, rcx
je 0x1400075a7
test byte [rbx + 0x20], 0x40
je 0x1400075a7
lea rdx, [rbx + 0x1c]
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140030570
test byte [rbx + 0x20], 0x10
jne 0x140007607
movups xmm0, xmmword [rbx + 0x30]
lea rdx, [rbp - 0x80]
movsd xmm1, qword [rbx + 0x40]
lea rcx, [rsp + 0x20]
movaps xmmword [rsp + 0x20], xmm0
movsd qword [rsp + 0x30], xmm1
call fcn.14001b280
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.14001aff0
mov rcx, qword [0x1400b80c0]
call fcn.140003a10
mov rcx, qword [0x1400b80d8]
xor edx, edx
call fcn.14000dff0
call fcn.1400335c0
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14002b940
xor edx, edx
lea rcx, [rbx + 0x1c]
call fcn.14000c8b0
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.14002b480
cmp eax, 0x41001
ja 0x140007978
je case.0x140007661.147500
add eax, 0xfffdbffe
cmp eax, 0x2c
ja case.0x140007661.147459
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x7a6c]
mov ecx, dword [rdx + rax*4 + 0x7a38]
add rcx, rdx
jmp rcx
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140007680
lea r8, str.Audio_PnP_stop_start_message_received.
mov edx, 2
call fcn.140032710
cmp dword [rbx + 0x18], 0
jne 0x14000769d
mov ecx, 1
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x140033d80
lea rcx, [rbx + 0x1c]
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x140033c10
mov rcx, qword [0x1400b8200]
mov r8, rbx
mov edx, r14d
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x140011b10
cmp dword [0x1400b8078], 0
jne 0x14000770e
cmp qword [0x1400b8048], 0
je 0x1400076f6
xor r8d, r8d
mov edx, 0x1d4c0
lea ecx, [r8 + 3]
call fcn.140032330
mov dword [0x1400b8078], 1
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [0x1400b8200]
mov edx, r14d
call fcn.14000ff70
test eax, eax
jne case.0x140007661.147497
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je case.0x140007661.147497
lea r8, str.KMD_Message_AdapterEnterIPS_failed.
lea edx, [rax + 2]
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140032710
mov ecx, r10d
call fcn.14000fb60
test eax, eax
jne case.0x140007661.147497
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je case.0x140007661.147497
lea r8, str.GpuMsgHandler::DispatchMessage_SetCpuThrottling_failed.
lea edx, [rax + 2]
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140032710
mov rcx, qword [0x1400b8200]
mov r8, rbx
mov edx, r14d
call fcn.140011b50
test eax, eax
jne case.0x140007661.147497
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je case.0x140007661.147497
lea r8, str.GpuMsgHandler::DispatchMessage_GENERIC_MSG_LHESCAPE_CALL_failed_
lea edx, [rax + 2]
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140032710
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x1400077f7
lea r8, str.ATI_MESSAGECODE_GENERIC_MSG_PX_GPU_AFFINITY_PROFILE_UPDATE_triggered
mov edx, 2
call fcn.140032710
mov rcx, qword [0x1400b80b8]
mov rax, qword [0x1400b80d8]
lea rdx, [rbx + 0x1c]
test rax, rax
je 0x140007824
cmp dword [rdx], 0xa8
jne 0x140007824
mov rcx, rax
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x14000e8c0
test rcx, rcx
je case.0x140007661.147497
lea r8, str.GpuMsgHandler::DispatchMessage_ATI_MESSAGECODE_GENERIC_MSG_PX_GPU_AFFINITY_PROFILE_UPDATE_structure_SIZE_is_wrong_
mov edx, 2
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140032710
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x14000786f
lea r8, str.ATI_MESSAGECODE_GENERIC_MSG_PX_GPU_AFFINITY_PROFILELESS_APP_CLOSED_triggered
mov edx, 2
call fcn.140032710
mov rcx, qword [0x1400b80b8]
mov rax, qword [0x1400b80d8]
test rax, rax
je 0x1400078a0
cmp dword [rbx + 0x1c], 0xa8
jne 0x1400078a0
mov rdx, qword [rbx + 0xa4]
mov rcx, rax
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x14000d0f0
test rcx, rcx
je case.0x140007661.147497
lea r8, str.GpuMsgHandler::DispatchMessage_ATI_MESSAGECODE_GENERIC_MSG_PX_GPU_AFFINITY_PROFILELESS_APP_CLOSED_structure_SIZE_is_wrong_
mov edx, 2
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140032710
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x1400078e4
lea r8, str.ATI_MESSAGECODE_GENERIC_MSG_PX_REFRESH_DESKTOP_triggered
mov edx, 2
call fcn.140032710
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x1400332d0
mov r8d, dword [rbx + 0x2c]
mov rcx, rsi
mov edx, dword [rbx + 0x24]
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x140008040
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x14000792f
lea r8, str.ACR_info_message_received.
mov edx, 2
call fcn.140032710
mov rcx, qword [0x1400be260]
test rcx, rcx
je case.0x140007661.147497
lea rdx, [rbx + 0x1c]
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x140031ca0
mov rcx, qword [0x1400b80d8]
xor r9d, r9d
mov edx, r10d
lea r8d, [r9 + 1]
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.14000ed50
sub eax, 0x41002
je 0x1400079c3
cmp eax, 1
je 0x1400079b1
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je case.0x140007661.147497
mov r9d, r10d
lea r8, str.pstGpuMsg__ulMessageCode__0x_x
mov edx, 2
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140032710
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x140033b30
call fcn.140033950
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x140]
sub rsp, 0x240
xor eax, eax
mov dword [rsp + 0x50], 1
mov ebx, r8d
mov qword [rsp + 0x58], rax
mov esi, edx
mov qword [rsp + 0x60], rax
xor edx, edx
mov qword [rsp + 0x68], rax
lea r8d, [rax + 0x68]
lea rcx, [rbp - 0x70]
call fcn.14003aa80
xor edx, edx
lea rcx, [rbp + 0x40]
mov r8d, 0x100
call fcn.14003aa80
mov r9d, ebx
mov dword [rbp - 0x70], 0x68
mov r8d, esi
lea rdx, str.ProcessID:_X_HookType:_X
lea rcx, [rbp + 0x40]
call fcn.140003270
mov r8d, esi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
xor r14d, r14d
mov rdi, rax
test rax, rax
je 0x1400081bf
lea rdx, [rbp + 0x178]
mov dword [rbp + 0x178], r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x40]
lea rax, [rbp - 0x70]
xor r8d, r8d
lea rcx, str...SysWow64_atieah32.exe
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
cmp dword [rbp + 0x178], r14d
jne 0x140008136
lea rcx, str.atieah64.exe
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1400081bf
mov rcx, qword [0x1400b8168]
test rcx, rcx
je 0x140008183
mov rdx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x140008183
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140008183
lea r8, str.Failed_to_assign_atieah_to_the_process_terminator_job_object.
mov edx, 0x100
call fcn.140032710
mov rcx, qword [rsp + 0x58]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [rsp + 0x50], r14d
jne 0x1400081dc
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x1400081f9
lea r8, str.atieah_UpdateImports_succeeded.
jmp 0x1400081ef
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x1400081f9
lea r8, str.GpuMsgHandler::HookInject_CreateProcess_failed.
mov edx, 2
call fcn.140032710
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x1400081f9
lea r8, str.atieah_UpdateImports_failed.
mov edx, 2
call fcn.140032710
mov rcx, qword [0x1400b8200]
lea rdx, [rbp + 0x178]
call fcn.140018130
test eax, eax
jne 0x14000822f
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x14000827e
lea r8, str.HookInjector::NotifyHookFinishEvent_GetPrimaryAdapterIndex_failed.
mov edx, 0x4000
call fcn.140032710
jmp 0x14000827e
or dword [rsp + 0x74], 1
lea rax, [rbp]
mov edx, dword [rbp + 0x178]
mov r9d, 0x3005501
mov rcx, qword [0x1400b8200]
mov r8d, 1
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov dword [rsp + 0x38], 0x40
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], r14d
mov dword [rsp + 0x70], esi
call fcn.140010bb0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
push rbx
push rsi
push rdi
push r15
sub rsp, 0x28
mov r8, qword [rcx + 0x48]
xor ebx, ebx
xor sil, sil
mov r9d, ebx
add r8, 0x80c
mov r15, rdx
mov rdi, rcx
cmp dword [r8], 0
je 0x14000cf49
inc ebx
inc r9
add r8, 0x810
cmp r9, 0x40
jl 0x14000cf23
movzx eax, sil
add rsp, 0x28
pop r15
pop rdi
pop rsi
pop rbx
ret
mov r8d, dword [rdx + 0x88]
mov ecx, 0x1000
xor edx, edx
mov qword [rsp + 0x50], rbp
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbp, rax
test rax, rax
je 0x14000d0ce
mov qword [rsp + 0x58], r12
lea r9, [rsp + 0x60]
mov qword [rsp + 0x68], r13
mov edx, 1
mov r13, qword [rdi + 0x48]
movsxd rcx, ebx
add r13, 8
mov qword [rsp + 0x20], r14
imul r14, rcx, 0x810
mov rcx, rax
mov dword [rsp + 0x60], 0x400
add r13, r14
mov r8, r13
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
je 0x14000d08b
mov edx, 0x5c
mov rcx, r13
call fcn.14003b580
lea rdx, str.wwahost.exe
mov rcx, rax
call fcn.14005f810
test eax, eax
mov rcx, r13
sete r12b
call fcn.14005fc20
lea rbx, [r15 + 4]
mov rcx, rbx
call fcn.14005fc20
mov rdx, rbx
mov rcx, r13
call fcn.14003b634
test rax, rax
jne 0x14000d029
test r12b, r12b
jne 0x14000d029
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x14000d0b6
lea r8, str.CCC::AddGPUAffinityProfile_failed_to_match_application_path_and_executable_name.
mov edx, 0x80000
call fcn.140032710
jmp 0x14000d0b6
mov rcx, qword [rdi + 0x48]
mov rax, qword [r15 + 0x88]
mov qword [r14 + rcx], rax
mov rax, qword [rdi + 0x48]
mov ecx, dword [r15 + 0x90]
and ecx, 1
mov dword [r14 + rax + 0x808], ecx
mov rax, qword [rdi + 0x48]
mov dword [r14 + rax + 0x80c], 1
test r12b, r12b
je 0x14000d083
mov rax, qword [rdi + 0x48]
add rax, 8
add rax, r14
nop
movzx ecx, word [rbx]
lea rbx, [rbx + 2]
mov word [rax], cx
add rax, 2
test cx, cx
jne 0x14000d070
inc dword [rdi + 0x50]
mov sil, 1
jmp 0x14000d0b6
cmp qword [0x1400b80b8], 0
je 0x14000d0b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1400b80b8]
lea r8, str.CCC::AddGPUAffinityProfile_:_read_path_for_MRU_app_failed._Error_Msg:___d
mov r9d, eax
mov edx, 0x80000
call fcn.140032710
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rsp + 0x20]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
movzx eax, sil
add rsp, 0x28
pop r15
pop rdi
pop rsi
pop rbx
ret
push rbp
push rbx
push r15
lea rbp, [rsp - 0xf40]
mov eax, 0x1040
call fcn.140039550
sub rsp, rax
mov r10d, dword [rcx + 0x50]
xor ebx, ebx
mov r8d, ebx
mov r9d, ebx
mov eax, ebx
mov r15, rcx
nop dword [rax + rax]
cmp r8d, r10d
jae 0x14000d555
mov rcx, qword [r15 + 0x48]
cmp dword [rax + rcx + 0x80c], ebx
je 0x14000d13f
inc r8d
cmp qword [rax + rcx], rdx
je 0x14000d15c
inc r9d
add rax, 0x810
cmp rax, 0x20400
jl 0x14000d120
add rsp, 0x1040
pop r15
pop rbx
pop rbp
ret
mov qword [rsp + 0x1028], r13
movsxd rax, r9d
imul r13, rax, 0x810
add r13, rcx
je 0x14000d54d
mov qword [rsp + 0x1060], rsi
lea rdx, [r13 + 8]
mov qword [rsp + 0x1038], rdi
lea rcx, [rbp + 0x720]
mov r8d, 0x400
mov qword [rsp + 0x1020], r14
call fcn.14005f7c8
lea rcx, [rbp + 0x720]
mov word [rbp + 0xf1e], bx
call fcn.14005fc20
lea rdi, str.ccc.exe
nop
mov rdx, qword [rdi]
lea rcx, [rbp + 0x720]
call fcn.14003b634
test rax, rax
setne r14b
test rax, rax
jne 0x14000d1e8
inc ebx
add rdi, 8
cmp ebx, 7
jb 0x14000d1c0
jmp 0x14000d209
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x14000d209
lea r9, [r13 + 8]
mov edx, 0x40000
lea r8, str.CCC::AddToMRUList_filtered_out_application___S___EPR_349831_.
call fcn.140032710
test r14b, r14b
jne 0x14000d535
mov edx, dword [0x1400b7004]
lea r8, [rsp + 0x30]
xor ecx, ecx
call fcn.140035110
test eax, eax
je 0x14000d509
mov rbx, qword [rsp + 0x30]
lea r9, [rbp + 0xf78]
mov qword [rsp + 0x1030], r12
mov rdx, rbx
lea r12, str.SoftwareATIACESettingsGraphicsPowerXpressPx4.0ProfiledAppList
mov rcx, r15
mov r8, r12
call fcn.14000dbe0
lea r9, [rbp + 0xf70]
mov rdx, rbx
lea r8, str.SoftwareATIACESettingsGraphicsPowerXpressPx4.0ProfilelessAppList
mov rcx, r15
mov edi, eax
call fcn.14000dbe0
mov edx, dword [rbp + 0xf70]
cmp dword [rbp + 0xf78], edx
cmova edx, dword [rbp + 0xf78]
inc edx
cmp dword [r13 + 0x808], 0
mov dword [rsp + 0x38], edx
je 0x14000d35e
mov r14, qword [rsp + 0x30]
xor ebx, ebx
nop
xor edx, edx
lea rcx, [rbp + 0x720]
mov r8d, 0x800
call fcn.14003aa80
xor edx, edx
mov dword [rbp + 0xf70], 0x800
mov r8d, 0x3e8
lea rcx, [rsp + 0x40]
call fcn.14003aa80
lea r9, str.SoftwareATIACESettingsGraphicsPowerXpressPx4.0ProfilelessAppList
mov dword [rsp + 0x20], ebx
lea r8, str._s_d
mov edx, 0x3e8
lea rcx, [rsp + 0x40]
call fcn.14000efa0
lea rax, [rbp + 0xf70]
mov rcx, r14
lea r9, [rbp + 0x720]
mov qword [rsp + 0x20], rax
lea r8, str.Filepath
lea rdx, [rsp + 0x40]
call fcn.140035490
test eax, eax
je 0x14000d331
lea rdx, [r13 + 8]
lea rcx, [rbp + 0x720]
call fcn.14003b634
test rax, rax
jne 0x14000d33e
inc ebx
cmp ebx, 5
jl 0x14000d2a0
jmp 0x14000d367
test ebx, ebx
js 0x14000d367
mov rdx, qword [rsp + 0x30]
lea r8, str.SoftwareATIACESettingsGraphicsPowerXpressPx4.0ProfilelessAppList
mov r9d, ebx
mov rcx, r15
call fcn.14000d970
jmp 0x14000d40f
lea r12, str.SoftwareATIACESettingsGraphicsPowerXpressPx4.0ProfilelessAppList
mov edi, eax
mov r14, qword [rsp + 0x30]
xor ebx, ebx
nop
xor edx, edx
lea rcx, [rbp + 0x720]
mov r8d, 0x800
call fcn.14003aa80
xor edx, edx
mov dword [rbp + 0xf70], 0x800
mov r8d, 0x3e8
lea rcx, [rsp + 0x40]
call fcn.14003aa80
mov r9, r12
mov dword [rsp + 0x20], ebx
lea r8, str._s_d
mov edx, 0x3e8
lea rcx, [rsp + 0x40]
call fcn.14000efa0
lea rax, [rbp + 0xf70]
mov rcx, r14
lea r9, [rbp + 0x720]
mov qword [rsp + 0x20], rax
lea r8, str.Filepath
lea rdx, [rsp + 0x40]
call fcn.140035490
test eax, eax
je 0x14000d3fd
lea rdx, [r13 + 8]
lea rcx, [rbp + 0x720]
call fcn.14003b634
test rax, rax
jne 0x14000d40a
inc ebx
cmp ebx, 5
jl 0x14000d370
jmp 0x14000d40f
test ebx, ebx
cmovns edi, ebx
xor edx, edx
lea rcx, [rbp + 0x330]
mov r8d, 0x3e8
call fcn.14003aa80
mov r9, r12
mov dword [rsp + 0x20], edi
lea r8, str._s_d
mov edx, 0x3e8
lea rcx, [rbp + 0x330]
call fcn.14000efa0
lea rcx, [r13 + 8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x30]
lea r9, [r13 + 8]
lea r8, str.Filepath
lea rdx, [rbp + 0x330]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x20], eax
call fcn.1400358d0
mov r12, qword [rsp + 0x1030]
test eax, eax
jne 0x14000d49c
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x14000d49c
lea r8, str.CCC::AddToMRUList_WriteRegKey_failed_for_CCC_PX_MRU_APP_FILEPATH_REG_KEY.
mov edx, 0x40000
call fcn.140032710
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 4
lea r8, str.Timestamp
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x330]
call fcn.1400357b0
test eax, eax
jne 0x14000d4ea
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x14000d4ea
lea r8, str.CCC::AddToMRUList_WriteRegKey_failed_for_CCC_PX_MRU_APP_TIMESTAMP_REG_KEY.
mov edx, 0x40000
call fcn.140032710
mov edx, dword [0x1400b7004]
lea r8, [rsp + 0x30]
xor ecx, ecx
call fcn.140034b30
mov rdx, r13
mov rcx, r15
call fcn.14000de70
jmp 0x14000d526
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x14000d526
lea r8, str.CCC::AddToMRUList_GetProfileRegRootHandle_failed.
mov edx, 0x40000
call fcn.140032710
mov dword [r13 + 0x80c], 0
dec dword [r15 + 0x50]
mov rsi, qword [rsp + 0x1060]
mov rdi, qword [rsp + 0x1038]
mov r14, qword [rsp + 0x1020]
mov r13, qword [rsp + 0x1028]
add rsp, 0x1040
pop r15
pop rbx
pop rbp
ret
push rbx
xor r9d, r9d
mov r11, rcx
mov ecx, dword [rcx + 0x50]
mov r10d, r9d
mov r8d, r9d
mov rbx, rdx
cmp r9d, ecx
jae 0x14000e926
mov rdx, qword [r11 + 0x48]
cmp dword [r8 + rdx + 0x80c], 0
je 0x14000e8f8
mov rax, qword [rbx + 0x88]
inc r9d
cmp qword [r8 + rdx], rax
je 0x14000e917
inc r10d
add r8, 0x810
cmp r8, 0x20400
jl 0x14000e8d4
mov rdx, rbx
mov rcx, r11
pop rbx
jmp 0x14000cf00
movsxd rax, r10d
imul rcx, rax, 0x810
add rcx, rdx
jne 0x14000e932
mov rdx, rbx
mov rcx, r11
pop rbx
jmp 0x14000cf00
pop rbx
ret
sub rsp, 0x58
mov r9d, dword [r8 + 0x18]
lea rax, [r8 + 0x1c]
xor r8d, r8d
mov qword [rsp + 0x40], r8
mov dword [rsp + 0x38], r8d
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r9d
xor r9d, r9d
mov dword [rsp + 0x20], 1
call fcn.140010bb0
add rsp, 0x58
ret
push rbx
sub rsp, 0x30
cmp dword [rdx + 4], 1
mov rbx, rcx
jne 0x140031d12
lea rax, [rsp + 0x48]
mov dword [rsp + 0x28], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea r8, str.DeleteLiveMiniDumps
mov dword [rsp + 0x48], 0
lea rdx, str.SYSTEMCurrentControlSetControlCrashControlLiveKernelReports
mov rcx, 0xffffffff80000002
call fcn.1400357b0
test eax, eax
jne 0x140031d0b
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140031d0b
lea r9, str.WriteRegKey_in_WriteRegistryKeyToEnableLiveKernelDump_failed.
mov edx, 0x40000000
lea r8d, [rax + 1]
call fcn.1400324f0
mov byte [rbx + 0x864], 1
add rsp, 0x30
pop rbx
ret
sub rsp, 0x28
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 0
call qword [sym.imp.dwmapi.dll_DwmIsCompositionEnabled]
test eax, eax
jne 0x140033304
cmp dword [rsp + 0x30], eax
je 0x140033304
mov r9d, 0x587
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_RedrawWindow]
add rsp, 0x28
ret
sub rsp, 0x28
lea rdx, str.GlobalAti_VariBrightMonitorEvent
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140034ac0
test eax, eax
je 0x140033b66
lea rcx, [rsp + 0x30]
call fcn.140034b00
lea rcx, [rsp + 0x30]
call fcn.140034a50
add rsp, 0x28
ret
push rbx
sub rsp, 0x40
movzx eax, byte [rcx + 9]
mov edx, dword [rcx + 8]
mov ebx, dword [rcx + 4]
mov dword [rsp + 0x30], eax
mov eax, edx
shr eax, 3
and edx, 7
and eax, 0x1f
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x34], eax
cmp ebx, 5
jne 0x140033c72
call fcn.1400335c0
xor ebx, ebx
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.14001b610
test eax, eax
jne 0x140033d70
inc ebx
cmp ebx, 0xc
jb 0x140033c43
add rsp, 0x40
pop rbx
ret
lea eax, [rbx - 1]
cmp eax, 1
ja 0x140033cbe
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14001b610
test eax, eax
jne 0x140033cbe
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140033cbe
mov eax, dword [rsp + 0x38]
lea r8, str.ControlHDAudioAdapter:__fail_to_stop_HD_audio_controller_at_Bus_d__Device_d__Function_d
mov r9d, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x28], eax
mov edx, 0x200
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], eax
call fcn.140032710
cmp ebx, 6
jne 0x140033d15
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14001b760
test eax, eax
jne 0x140033d6b
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140033d70
mov eax, dword [rsp + 0x38]
lea r8, str.ControlHDAudioAdapter:__fail_to_stop_HD_audio_controller_at_Bus_d__Device_d__Function_d
mov r9d, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x28], eax
mov edx, 0x200
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], eax
call fcn.140032710
add rsp, 0x40
pop rbx
ret
lea eax, [rbx - 1]
test eax, 0xfffffffd
jne 0x140033d66
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.14001b610
test eax, eax
jne 0x140033d66
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140033d66
mov eax, dword [rsp + 0x38]
lea r8, str.ControlHDAudioAdapter:__fail_to_start_HD_audio_controller_at_Bus_d__Device_d__Function_d
mov r9d, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x28], eax
mov edx, 0x200
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], eax
call fcn.140032710
cmp ebx, 4
jne 0x140033d70
call fcn.1400335c0
add rsp, 0x40
pop rbx
ret