Function at 0x14002b3f0
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Query environment variable

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 0x140006fe7
je 0x140006f6f
add eax, 0xfffeeffe
cmp eax, 0x37
ja case.0x140007535.147459
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x7890]
mov ecx, dword [rdx + rax*4 + 0x7868]
add rcx, rdx
jmp rcx
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140006aff
lea r8, str.Apply_user_selected_profile_message_received.
mov edx, 2
call fcn.14002ffd0
mov r8d, dword [rbx + 0x24]
mov edx, r14d
mov rcx, qword [0x1400b5108]
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.1400346d0
mov r8d, dword [rbx + 0x28]
mov r9d, r14d
mov edx, dword [rbx + 0x2c]
mov rcx, rsi
call fcn.1400068e0
mov rcx, qword [0x1400b5090]
test rcx, rcx
je case.0x140007535.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.14002ffd0
mov rcx, qword [0x1400b5090]
mov dword [0x1400b5024], 1
test rcx, rcx
je case.0x140007535.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.14002ffd0
mov rcx, qword [0x1400b5090]
xor edi, edi
mov dword [0x1400b5024], edi
test rcx, rcx
je case.0x140007535.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.14002ffd0
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140006be8
lea r8, str.ATI_MESSAGECODE_DAL_MESSAGE_EVENTWIRELESSMODESET_mode_received.
mov edx, 2
call fcn.14002ffd0
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.140008140
mov r9, qword [rbp + 0x468]
test r9, r9
je 0x140006c54
mov edx, dword [rbx + 4]
lea r8d, [rdi + 1]
mov rcx, qword [0x1400b50b0]
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.14000ebc0
mov rcx, qword [0x1400b5090]
test rcx, rcx
je case.0x140007535.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.14002ffd0
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140006c9f
lea r8, str.ATI_MESSAGECODE_DLM_MESSAGE_RESTORE_AUDIO_ENDPOINT_SETTINGS_triggered
mov edx, 2
call fcn.14002ffd0
xor edx, edx
lea rcx, [rbp - 0x60]
mov r8d, 0x484
call fcn.140038310
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 0x140006cd0
mov rcx, qword [0x1400b51d8]
lea r8, [rbp - 0x60]
mov edx, r14d
call fcn.14001a2e0
cmp eax, 1
je 0x140006f55
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140006f55
mov r9d, eax
lea r8, str.EscapeCallManager::ADL_APO_AudioDelay_Restore_failed_with_error_code__d
mov edx, 2
call fcn.14002ffd0
mov rcx, qword [0x1400b50b0]
call fcn.14000e540
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.140035e50
mov rcx, qword [0x1400b5108]
test rcx, rcx
je 0x140006fa9
xor edx, edx
call fcn.140034450
test eax, eax
jne 0x140006fc6
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140006fc6
lea r8, str.GpuMsgHandler::DispatchMessage_CCDForceSameMode_failed_
mov edx, 2
call fcn.14002ffd0
mov rdx, qword [rbp + 0x468]
mov rcx, qword [rbp + 0x478]
call fcn.1400360b0
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp eax, 0x24001
ja 0x1400074fd
je 0x140007462
sub eax, 0x12010
je 0x1400073ce
sub eax, 1
je 0x140007266
sub eax, 2
je 0x140007066
cmp eax, 2
jne case.0x140007535.147459
xor edi, edi
lea rdx, [rbp + 0x468]
lea rcx, [rbp + 0x478]
mov qword [rbp + 0x478], rdi
mov qword [rbp + 0x468], rdi
call fcn.140035e50
mov ecx, r14d
call fcn.140035ec0
mov rdx, qword [rbp + 0x468]
mov rcx, qword [rbp + 0x478]
call fcn.1400360b0
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp dword [rdx + 0x18], 0x20
ja 0x140007237
mov eax, dword [rdx + 0x20]
test al, 2
je 0x1400071bd
xor eax, eax
mov qword [rsp + 0x560], r15
mov r15d, dword [rcx + 0x3c]
mov edx, r14d
mov rcx, qword [0x1400b51d8]
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.140014e50
cmp eax, 1
jne 0x1400070e8
mov rcx, qword [0x1400b51d8]
lea r8, [rsp + 0x40]
mov edx, r14d
call fcn.140011b70
test eax, eax
je 0x140007167
mov edi, dword [rsp + 0x50]
jmp 0x140007167
mov esi, edi
nop word [rax + rax]
mov rcx, qword [0x1400b51d8]
lea r8, [rbp + 0x468]
mov edx, esi
mov dword [rbp + 0x468], 0xffffffff
call fcn.140016dc0
test eax, eax
je 0x140007160
mov edx, dword [rbp + 0x468]
cmp edx, 0xffffffff
je 0x140007160
mov rcx, qword [0x1400b51d8]
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.140011b70
test eax, eax
je 0x140007160
add edi, dword [rsp + 0x50]
inc esi
cmp esi, 8
jb 0x1400070f0
mov rcx, qword [0x1400b5090]
imul edi, edi, 0x32
add edi, r15d
mov r15, qword [rsp + 0x560]
test rcx, rcx
je 0x140007195
mov r9d, edi
lea r8, str.Sleeping_before_VT_Reenum:__d_ms
mov edx, 0x800
call fcn.14002ffd0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x1400071ba
lea r8, [0x14008afec]
mov edx, 0x800
call fcn.14002ffd0
mov eax, dword [rbx + 0x20]
test al, 8
je 0x1400071e1
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 0x140007214
mov rcx, qword [0x1400b51d8]
lea r8, [rsp + 0x20]
mov edx, r14d
call fcn.140016e40
test eax, eax
jne 0x140007214
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140007214
lea r8, str.GpuMsgHandler::DispatchMessage_GetAdapterLocation_failed_
lea edx, [rax + 2]
call fcn.14002ffd0
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.14001c550
test eax, eax
jne case.0x140007535.147497
mov rcx, qword [0x1400b5090]
test rcx, rcx
je case.0x140007535.147497
lea r8, str.GpuMsgHandler::DispatchMessage_ReenumerateDisplays_failed_
mov edx, 2
call fcn.14002ffd0
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
add rbx, 0x1c
jne 0x140007288
mov rcx, qword [0x1400b5090]
test rcx, rcx
je case.0x140007535.147497
lea r8, str.GpuMsgHandler::HandleAutoTestRequest_pstAutoTest_is_NULL
jmp 0x140007396
mov r8d, dword [rbx + 4]
lea r9, [rbp + 0x468]
mov rcx, qword [0x1400b51d8]
xor edi, edi
mov edx, r14d
mov dword [rbp + 0x468], edi
call fcn.1400116a0
test eax, eax
jne 0x1400072ca
mov rcx, qword [0x1400b5090]
test rcx, rcx
je case.0x140007535.147497
lea r8, str.GpuMsgHandler::HandleAutoTestRequest_FindDisplayIndexByObjectID_failed_
jmp 0x140007396
mov r9d, dword [rbx + 8]
mov eax, r9d
sub eax, 1
je 0x14000735d
sub eax, 1
je 0x140007341
cmp eax, 1
je 0x14000730a
mov rcx, qword [0x1400b5090]
test rcx, rcx
je case.0x140007535.147497
lea r8, str.ATI_MESSAGECODE_DAL_ACTION_AUTOMATED_TESTREQUEST_request__x_not_supported
mov edx, 2
call fcn.14002ffd0
jmp 0x1400073a0
mov rcx, qword [0x1400b51d8]
lea r8, [rbp - 0x80]
xor r9d, r9d
mov edx, r14d
call fcn.1400101d0
test eax, eax
jne case.0x140007535.147497
mov rcx, qword [0x1400b5090]
test rcx, rcx
je case.0x140007535.147497
lea r8, str.GpuMsgHandler::HandleAutoTestRequest_AdapterGetInfo_failed_
jmp 0x140007396
mov r9d, dword [rbx + 0x10]
mov edx, r14d
mov r8d, dword [rbp + 0x468]
mov rcx, qword [0x1400b51d8]
call fcn.1400106d0
jmp 0x140007377
mov r9d, dword [rbx + 0x10]
mov edx, r14d
mov r8d, dword [rbp + 0x468]
mov rcx, qword [0x1400b51d8]
call fcn.1400108e0
test eax, eax
jne case.0x140007535.147497
mov rcx, qword [0x1400b5090]
test rcx, rcx
je case.0x140007535.147497
lea r8, str.GpuMsgHandler::HandleAutoTestRequest_AutoTestSetPanelFormat_failed_
mov edx, 2
call fcn.14002ffd0
mov rcx, qword [0x1400b5090]
test rcx, rcx
je case.0x140007535.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.14002ffd0
mov edx, dword [rdx + 0x2c]
xor r8d, r8d
mov ecx, dword [rbx + 0x28]
call fcn.14001c6e0
mov eax, dword [rbx + 0x20]
cmp eax, 1
je 0x140007416
cmp eax, 3
jne 0x140007408
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.1400068e0
cmp eax, 2
je 0x140007416
cmp eax, 4
jne case.0x140007535.147497
mov rcx, qword [0x1400b5108]
test rcx, rcx
je 0x140007434
mov edx, 1
call fcn.140034450
test eax, eax
jne case.0x140007535.147497
mov rcx, qword [0x1400b5090]
test rcx, rcx
je case.0x140007535.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.14002ffd0
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x14000747f
lea r8, str.PnP_stop_start_message_received.
mov edx, 2
call fcn.14002ffd0
test byte [rbx + 0x20], 0x10
jne 0x1400074dd
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.14001af40
lea rcx, [rbp - 0x80]
call fcn.14001acd0
mov rcx, qword [0x1400b5098]
call fcn.140003900
mov rcx, qword [0x1400b50b0]
xor edx, edx
call fcn.14000de60
call fcn.140030e80
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14002b8b0
lea rcx, [rbx + 0x1c]
call fcn.14000c730
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x14002b3f0
cmp eax, 0x41001
ja 0x140007809
je case.0x140007535.147500
add eax, 0xfffdbffe
cmp eax, 0x2b
ja case.0x140007535.147459
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x78f8]
mov ecx, dword [rdx + rax*4 + 0x78c8]
add rcx, rdx
jmp rcx
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140007554
lea r8, str.Audio_PnP_stop_start_message_received.
mov edx, 2
call fcn.14002ffd0
cmp dword [rbx + 0x18], 0
jne 0x140007571
mov ecx, 1
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x140031640
lea rcx, [rbx + 0x1c]
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x1400314d0
mov rcx, qword [0x1400b51d8]
mov r8, rbx
mov edx, r14d
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x140011980
cmp dword [0x1400b5050], 0
jne 0x1400075e2
cmp qword [0x1400b5028], 0
je 0x1400075ca
xor r8d, r8d
mov edx, 0x1d4c0
lea ecx, [r8 + 3]
call fcn.14002fbf0
mov dword [0x1400b5050], 1
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [0x1400b51d8]
mov edx, r14d
call fcn.14000fde0
test eax, eax
jne case.0x140007535.147497
mov rcx, qword [0x1400b5090]
test rcx, rcx
je case.0x140007535.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.14002ffd0
mov ecx, r10d
call fcn.14000f9d0
test eax, eax
jne case.0x140007535.147497
mov rcx, qword [0x1400b5090]
test rcx, rcx
je case.0x140007535.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.14002ffd0
mov rcx, qword [0x1400b51d8]
mov r8, rbx
mov edx, r14d
call fcn.1400119c0
test eax, eax
jne case.0x140007535.147497
mov rcx, qword [0x1400b5090]
test rcx, rcx
je case.0x140007535.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.14002ffd0
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x1400076cb
lea r8, str.ATI_MESSAGECODE_GENERIC_MSG_PX_GPU_AFFINITY_PROFILE_UPDATE_triggered
mov edx, 2
call fcn.14002ffd0
mov rcx, qword [0x1400b5090]
mov rax, qword [0x1400b50b0]
lea rdx, [rbx + 0x1c]
test rax, rax
je 0x1400076f8
cmp dword [rdx], 0xa8
jne 0x1400076f8
mov rcx, rax
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x14000e730
test rcx, rcx
je case.0x140007535.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.14002ffd0
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140007743
lea r8, str.ATI_MESSAGECODE_GENERIC_MSG_PX_GPU_AFFINITY_PROFILELESS_APP_CLOSED_triggered
mov edx, 2
call fcn.14002ffd0
mov rcx, qword [0x1400b5090]
mov rax, qword [0x1400b50b0]
test rax, rax
je 0x140007774
cmp dword [rbx + 0x1c], 0xa8
jne 0x140007774
mov rdx, qword [rbx + 0xa4]
mov rcx, rax
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x14000cf60
test rcx, rcx
je case.0x140007535.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.14002ffd0
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x1400077b8
lea r8, str.ATI_MESSAGECODE_GENERIC_MSG_PX_REFRESH_DESKTOP_triggered
mov edx, 2
call fcn.14002ffd0
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x140030b90
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 0x140007ed0
mov rcx, qword [0x1400b50b0]
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.14000ebc0
sub eax, 0x41002
je 0x140007854
cmp eax, 1
je 0x140007842
mov rcx, qword [0x1400b5090]
test rcx, rcx
je case.0x140007535.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.14002ffd0
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x1400313f0
call fcn.140031210
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.140038310
xor edx, edx
lea rcx, [rbp + 0x40]
mov r8d, 0x100
call fcn.140038310
mov r9d, ebx
mov dword [rbp - 0x70], 0x68
mov r8d, esi
lea rdx, str.ProcessID:_X_HookType:_X
lea rcx, [rbp + 0x40]
call fcn.140003180
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 0x14000804f
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 0x140007fc6
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 0x14000804f
mov rcx, qword [0x1400b5138]
test rcx, rcx
je 0x140008013
mov rdx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x140008013
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140008013
lea r8, str.Failed_to_assign_atieah_to_the_process_terminator_job_object.
mov edx, 0x100
call fcn.14002ffd0
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 0x14000806c
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140008089
lea r8, str.atieah_UpdateImports_succeeded.
jmp 0x14000807f
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140008089
lea r8, str.GpuMsgHandler::HookInject_CreateProcess_failed.
mov edx, 2
call fcn.14002ffd0
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140008089
lea r8, str.atieah_UpdateImports_failed.
mov edx, 2
call fcn.14002ffd0
mov rcx, qword [0x1400b51d8]
lea rdx, [rbp + 0x178]
call fcn.140017e10
test eax, eax
jne 0x1400080bf
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x14000810e
lea r8, str.HookInjector::NotifyHookFinishEvent_GetPrimaryAdapterIndex_failed.
mov edx, 0x4000
call fcn.14002ffd0
jmp 0x14000810e
or dword [rsp + 0x74], 1
lea rax, [rbp]
mov edx, dword [rbp + 0x178]
mov r9d, 0x3005501
mov rcx, qword [0x1400b51d8]
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.140010a20
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 0x14000cdb9
inc ebx
inc r9
add r8, 0x810
cmp r9, 0x40
jl 0x14000cd93
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 0x14000cf3e
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 0x14000cefb
mov edx, 0x5c
mov rcx, r13
call fcn.140038e10
lea rdx, str.wwahost.exe
mov rcx, rax
call fcn.14005d024
test eax, eax
mov rcx, r13
sete r12b
call fcn.14005d434
lea rbx, [r15 + 4]
mov rcx, rbx
call fcn.14005d434
mov rdx, rbx
mov rcx, r13
call fcn.140038ec4
test rax, rax
jne 0x14000ce99
test r12b, r12b
jne 0x14000ce99
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x14000cf26
lea r8, str.CCC::AddGPUAffinityProfile_failed_to_match_application_path_and_executable_name.
mov edx, 0x80000
call fcn.14002ffd0
jmp 0x14000cf26
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 0x14000cef3
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 0x14000cee0
inc dword [rdi + 0x50]
mov sil, 1
jmp 0x14000cf26
cmp qword [0x1400b5090], 0
je 0x14000cf26
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1400b5090]
lea r8, str.CCC::AddGPUAffinityProfile_:_read_path_for_MRU_app_failed._Error_Msg:___d
mov r9d, eax
mov edx, 0x80000
call fcn.14002ffd0
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.140036de0
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 0x14000d3c5
mov rcx, qword [r15 + 0x48]
cmp dword [rax + rcx + 0x80c], ebx
je 0x14000cfaf
inc r8d
cmp qword [rax + rcx], rdx
je 0x14000cfcc
inc r9d
add rax, 0x810
cmp rax, 0x20400
jl 0x14000cf90
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 0x14000d3bd
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.14005cfdc
lea rcx, [rbp + 0x720]
mov word [rbp + 0xf1e], bx
call fcn.14005d434
lea rdi, str.ccc.exe
nop
mov rdx, qword [rdi]
lea rcx, [rbp + 0x720]
call fcn.140038ec4
test rax, rax
setne r14b
test rax, rax
jne 0x14000d058
inc ebx
add rdi, 8
cmp ebx, 7
jb 0x14000d030
jmp 0x14000d079
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x14000d079
lea r9, [r13 + 8]
mov edx, 0x40000
lea r8, str.CCC::AddToMRUList_filtered_out_application___S___EPR_349831_.
call fcn.14002ffd0
test r14b, r14b
jne 0x14000d3a5
mov edx, dword [0x1400b4004]
lea r8, [rsp + 0x30]
xor ecx, ecx
call fcn.1400329d0
test eax, eax
je 0x14000d379
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.14000da50
lea r9, [rbp + 0xf70]
mov rdx, rbx
lea r8, str.SoftwareATIACESettingsGraphicsPowerXpressPx4.0ProfilelessAppList
mov rcx, r15
mov edi, eax
call fcn.14000da50
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 0x14000d1ce
mov r14, qword [rsp + 0x30]
xor ebx, ebx
nop
xor edx, edx
lea rcx, [rbp + 0x720]
mov r8d, 0x800
call fcn.140038310
xor edx, edx
mov dword [rbp + 0xf70], 0x800
mov r8d, 0x3e8
lea rcx, [rsp + 0x40]
call fcn.140038310
lea r9, str.SoftwareATIACESettingsGraphicsPowerXpressPx4.0ProfilelessAppList
mov dword [rsp + 0x20], ebx
lea r8, str._s_d
mov edx, 0x3e8
lea rcx, [rsp + 0x40]
call fcn.14000ee10
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.140032d50
test eax, eax
je 0x14000d1a1
lea rdx, [r13 + 8]
lea rcx, [rbp + 0x720]
call fcn.140038ec4
test rax, rax
jne 0x14000d1ae
inc ebx
cmp ebx, 5
jl 0x14000d110
jmp 0x14000d1d7
test ebx, ebx
js 0x14000d1d7
mov rdx, qword [rsp + 0x30]
lea r8, str.SoftwareATIACESettingsGraphicsPowerXpressPx4.0ProfilelessAppList
mov r9d, ebx
mov rcx, r15
call fcn.14000d7e0
jmp 0x14000d27f
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.140038310
xor edx, edx
mov dword [rbp + 0xf70], 0x800
mov r8d, 0x3e8
lea rcx, [rsp + 0x40]
call fcn.140038310
mov r9, r12
mov dword [rsp + 0x20], ebx
lea r8, str._s_d
mov edx, 0x3e8
lea rcx, [rsp + 0x40]
call fcn.14000ee10
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.140032d50
test eax, eax
je 0x14000d26d
lea rdx, [r13 + 8]
lea rcx, [rbp + 0x720]
call fcn.140038ec4
test rax, rax
jne 0x14000d27a
inc ebx
cmp ebx, 5
jl 0x14000d1e0
jmp 0x14000d27f
test ebx, ebx
cmovns edi, ebx
xor edx, edx
lea rcx, [rbp + 0x330]
mov r8d, 0x3e8
call fcn.140038310
mov r9, r12
mov dword [rsp + 0x20], edi
lea r8, str._s_d
mov edx, 0x3e8
lea rcx, [rbp + 0x330]
call fcn.14000ee10
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.140033190
mov r12, qword [rsp + 0x1030]
test eax, eax
jne 0x14000d30c
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x14000d30c
lea r8, str.CCC::AddToMRUList_WriteRegKey_failed_for_CCC_PX_MRU_APP_FILEPATH_REG_KEY.
mov edx, 0x40000
call fcn.14002ffd0
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.140033070
test eax, eax
jne 0x14000d35a
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x14000d35a
lea r8, str.CCC::AddToMRUList_WriteRegKey_failed_for_CCC_PX_MRU_APP_TIMESTAMP_REG_KEY.
mov edx, 0x40000
call fcn.14002ffd0
mov edx, dword [0x1400b4004]
lea r8, [rsp + 0x30]
xor ecx, ecx
call fcn.1400323f0
mov rdx, r13
mov rcx, r15
call fcn.14000dce0
jmp 0x14000d396
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x14000d396
lea r8, str.CCC::AddToMRUList_GetProfileRegRootHandle_failed.
mov edx, 0x40000
call fcn.14002ffd0
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 0x14000e796
mov rdx, qword [r11 + 0x48]
cmp dword [r8 + rdx + 0x80c], 0
je 0x14000e768
mov rax, qword [rbx + 0x88]
inc r9d
cmp qword [r8 + rdx], rax
je 0x14000e787
inc r10d
add r8, 0x810
cmp r8, 0x20400
jl 0x14000e744
mov rdx, rbx
mov rcx, r11
pop rbx
jmp 0x14000cd70
movsxd rax, r10d
imul rcx, rax, 0x810
add rcx, rdx
jne 0x14000e7a2
mov rdx, rbx
mov rcx, r11
pop rbx
jmp 0x14000cd70
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.140010a20
add rsp, 0x58
ret
push rbx
sub rsp, 0x300
call fcn.14002b8b0
xor edx, edx
lea rcx, [rsp + 0xe0]
mov r8d, 0x104
call fcn.140038310
xor edx, edx
lea rcx, [rsp + 0x1f0]
mov r8d, 0x104
call fcn.140038310
mov r8d, 0x104
lea rdx, [rsp + 0x1f0]
lea rcx, str.COMMONPROGRAMFILES
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x14002b528
lea rax, str.ATI_TechnologiesDSEManager.exe
xor ebx, ebx
mov qword [rsp + 0x28], rbx
lea r9, [rsp + 0x1f0]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rsp + 0xe0]
call fcn.1400600a8
test eax, eax
jne 0x14002b49f
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14002b528
cmp eax, 0x10
je 0x14002b528
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.140038310
lea rax, str.WinSta0Default
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0xe0]
xor eax, eax
mov word [rsp + 0xb0], bx
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x58], rax
xor r8d, r8d
mov qword [rsp + 0x60], rax
xor edx, edx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
add rsp, 0x300
pop rbx
ret
lea rcx, str.Unable_to_create_path_for_DSE_Manager._n
call fcn.14002bbb0
add rsp, 0x300
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 0x140030bc4
cmp dword [rsp + 0x30], eax
je 0x140030bc4
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.140032380
test eax, eax
je 0x140031426
lea rcx, [rsp + 0x30]
call fcn.1400323c0
lea rcx, [rsp + 0x30]
call fcn.140032310
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 0x140031532
call fcn.140030e80
xor ebx, ebx
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.14001b2d0
test eax, eax
jne 0x140031630
inc ebx
cmp ebx, 0xc
jb 0x140031503
add rsp, 0x40
pop rbx
ret
lea eax, [rbx - 1]
cmp eax, 1
ja 0x14003157e
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14001b2d0
test eax, eax
jne 0x14003157e
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x14003157e
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.14002ffd0
cmp ebx, 6
jne 0x1400315d5
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14001b420
test eax, eax
jne 0x14003162b
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140031630
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.14002ffd0
add rsp, 0x40
pop rbx
ret
lea eax, [rbx - 1]
test eax, 0xfffffffd
jne 0x140031626
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.14001b2d0
test eax, eax
jne 0x140031626
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140031626
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.14002ffd0
cmp ebx, 4
jne 0x140031630
call fcn.140030e80
add rsp, 0x40
pop rbx
ret