Function at 0x140007a70
Capabilities:
Check if file exists
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 - 0x410]
sub rsp, 0x510
mov r10d, dword [rdx + 4]
mov esi, r8d
mov rbx, rdx
mov r14, rcx
mov eax, r10d
cmp r10d, 0x12004
ja 0x140007fd6
je 0x140007f5e
add eax, 0xfffeeffe
cmp eax, 0x37
ja case.0x1400086e9.147459
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x8d70]
mov ecx, dword [rdx + rax*4 + 0x8d48]
add rcx, rdx
jmp rcx
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140007aef
lea r8, str.Apply_user_selected_profile_message_received.
mov edx, 2
call fcn.140040750
mov r8d, dword [rbx + 0x24]
mov edx, esi
mov rcx, qword [0x1400da4a8]
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140045950
mov r8d, dword [rbx + 0x28]
mov r9d, esi
mov edx, dword [rbx + 0x2c]
mov rcx, r14
call fcn.1400078d0
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je case.0x1400086e9.147497
lea r8, str.Hotplug_GPU_message_received.
mov edx, 2
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140040750
mov rcx, qword [0x1400da5d8]
mov dword [0x1400da384], 1
test rcx, rcx
je case.0x1400086e9.147497
lea r8, str.Enter_exclusive_mode_message_received.
mov edx, 2
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140040750
mov rcx, qword [0x1400da5d8]
xor edi, edi
mov dword [0x1400da384], edi
test rcx, rcx
je case.0x1400086e9.147497
lea r8, str.Exit_exclusive_mode_message_received.
lea edx, [rdi + 2]
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140040750
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140007bd7
lea r8, str.ATI_MESSAGECODE_DAL_MESSAGE_EVENTWIRELESSMODESET_mode_received.
mov edx, 2
call fcn.140040750
mov edx, dword [r14 + 0xb8]
xor r9d, r9d
xor r8d, r8d
mov ecx, 0xffff
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp qword [sym.imp.USER32.dll_PostMessageA]
xor edi, edi
lea r9, [rbp + 0x448]
mov r8, rbx
mov qword [rbp + 0x448], rdi
mov edx, esi
mov rcx, r14
call fcn.140009670
mov r9, qword [rbp + 0x448]
test r9, r9
je 0x140007c46
mov edx, dword [rbx + 4]
lea r8d, [rdi + 1]
mov rcx, qword [0x1400da5b8]
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.1400112a0
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je case.0x1400086e9.147497
lea r8, str.ATI_MESSAGECODE_DAL_MESSAGE_HDMISUPPORT_NONHDMI_CONNECTOR_no_command_found.
mov edx, 2
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140040750
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140007c91
lea r8, str.ATI_MESSAGECODE_DLM_MESSAGE_RESTORE_AUDIO_ENDPOINT_SETTINGS_triggered
mov edx, 2
call fcn.140040750
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x484
call fcn.1400514f0
mov eax, dword [rbx + 0x1c]
lea rcx, [rbp - 0x54]
mov dword [rbp - 0x80], eax
add rbx, 0x64
mov edx, 2
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 0x140007cc0
mov rcx, qword [0x1400da5f8]
lea r8, [rbp - 0x80]
mov edx, esi
call fcn.14001e060
cmp eax, 1
je 0x140007f44
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140007f44
mov r9d, eax
lea r8, str.EscapeCallManager::ADL_APO_AudioDelay_Restore_failed_with_error_code__d
mov edx, 2
call fcn.140040750
mov rcx, qword [0x1400da5b8]
call fcn.140010c20
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor edi, edi
lea rdx, [rbp + 0x448]
lea rcx, [rbp + 0x458]
mov qword [rbp + 0x458], rdi
mov qword [rbp + 0x448], rdi
call fcn.140047450
mov rcx, qword [0x1400da4a8]
test rcx, rcx
je 0x140007f98
xor edx, edx
call fcn.1400456d0
test eax, eax
jne 0x140007fb5
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140007fb5
lea r8, str.GpuMsgHandler::DispatchMessage_CCDForceSameMode_failed_
mov edx, 2
call fcn.140040750
mov rdx, qword [rbp + 0x448]
mov rcx, qword [rbp + 0x458]
call fcn.140047820
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp eax, 0x24001
ja 0x1400086b1
je 0x1400085e8
add eax, 0xfffedff0
cmp eax, 9
ja case.0x1400086e9.147459
lea rdx, [0x140000000]
mov eax, dword [rdx + rax*4 + 0x8da8]
add rax, rdx
jmp rax
mov edx, dword [rbx + 0x2c]
xor r8d, r8d
mov ecx, dword [rbx + 0x28]
call fcn.140020890
mov eax, dword [rbx + 0x20]
cmp eax, 1
je 0x140008050
cmp eax, 3
jne 0x140008042
mov r8d, dword [rbx + 0x24]
lea edx, [rax + 5]
mov r9d, esi
mov rcx, r14
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.1400078d0
cmp eax, 2
je 0x140008050
cmp eax, 4
jne case.0x1400086e9.147497
mov rcx, qword [0x1400da4a8]
test rcx, rcx
je 0x14000806e
mov edx, 1
call fcn.1400456d0
test eax, eax
jne case.0x1400086e9.147497
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je case.0x1400086e9.147497
lea r8, str.GpuMsgHandler::UpdateCapability_CCDForceEnumerateMode_failed
mov edx, 0x800
call fcn.140040750
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp dword [rbx + 0x18], 0x20
ja 0x14000829b
mov eax, dword [rbx + 0x20]
test al, 2
je 0x140008200
xor eax, eax
mov qword [rsp + 0x540], r15
mov r15d, dword [rcx + 0xbc]
mov edx, esi
mov rcx, qword [0x1400da5f8]
xor edi, edi
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], eax
call fcn.140017b40
cmp eax, 1
jne 0x140008123
mov rcx, qword [0x1400da5f8]
lea r8, [rsp + 0x20]
mov edx, esi
call fcn.140014340
test eax, eax
je 0x1400081aa
mov edi, dword [rsp + 0x30]
jmp 0x1400081aa
mov r14d, edi
nop word [rax + rax]
mov rcx, qword [0x1400da5f8]
lea r8, [rbp + 0x448]
mov edx, r14d
mov dword [rbp + 0x448], 0xffffffff
call fcn.14001a630
test eax, eax
je 0x1400081a1
mov edx, dword [rbp + 0x448]
cmp edx, 0xffffffff
je 0x1400081a1
mov rcx, qword [0x1400da5f8]
lea r8, [rsp + 0x20]
xor eax, eax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], eax
call fcn.140014340
test eax, eax
je 0x1400081a1
add edi, dword [rsp + 0x30]
inc r14d
cmp r14d, 8
jb 0x140008130
mov rcx, qword [0x1400da5d8]
imul edi, edi, 0x32
add edi, r15d
mov r15, qword [rsp + 0x540]
test rcx, rcx
je 0x1400081d8
mov r9d, edi
lea r8, str.Sleeping_before_VT_Reenum:__d_ms
mov edx, 0x800
call fcn.140040750
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x1400081fd
lea r8, [0x1400a7f0c]
mov edx, 0x800
call fcn.140040750
mov eax, dword [rbx + 0x20]
test al, 8
je 0x140008224
movzx eax, byte [rbx + 0x25]
mov ecx, dword [rbx + 0x24]
mov dword [rsp + 0x60], eax
mov eax, ecx
shr eax, 3
and eax, 0x1f
and ecx, 7
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x68], ecx
jmp 0x140008256
mov rcx, qword [0x1400da5f8]
lea r8, [rsp + 0x60]
mov edx, esi
call fcn.14001a840
test eax, eax
jne 0x140008256
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140008256
lea r8, str.GpuMsgHandler::DispatchMessage_GetAdapterLocation_failed_
lea edx, [rax + 2]
call fcn.140040750
movsd xmm0, qword [rsp + 0x60]
lea rcx, [rsp + 0x20]
mov eax, dword [rsp + 0x68]
movsd qword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], eax
call fcn.140020700
test eax, eax
jne case.0x1400086e9.147497
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je case.0x1400086e9.147497
lea r8, str.GpuMsgHandler::DispatchMessage_ReenumerateDisplays_failed_
lea edx, [rax + 2]
jmp 0x14000808a
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je case.0x1400086e9.147497
lea r8, str.GpuMsgHandler::DispatchMessage_ReenumerateDisplays_failed_
mov edx, 2
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140040750
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x1400082ed
lea r8, str.ATI_MESSAGECODE_DAL_ACTION_CHANGE_SPECIFIC_MODE
mov edx, 2
call fcn.140040750
mov rcx, qword [0x1400da5d8]
cmp dword [rbx + 0x18], 0x20
ja 0x14000830e
mov r8d, dword [rbx + 0x24]
mov ecx, esi
mov edx, dword [rbx + 0x20]
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x140047120
test rcx, rcx
je case.0x1400086e9.147497
lea r8, str.GpuMsgHandler::Change_Specific_display_resolution_failed_
mov edx, 2
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140040750
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140008359
lea r8, str.ATI_MESSAGECODE_DAL_ACTION_DLRC_RR_SWITCH
mov edx, 2
call fcn.140040750
mov rcx, qword [0x1400da5d8]
cmp dword [rbx + 0x18], 8
ja 0x140008374
mov ecx, dword [rbx + 0x20]
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x140047610
test rcx, rcx
je case.0x1400086e9.147497
lea r8, str.GpuMsgHandler::Handle_DLRC_RR_switch_failed_
mov edx, 2
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140040750
add rbx, 0x1c
jne 0x1400083bd
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je case.0x1400086e9.147497
lea r8, str.GpuMsgHandler::HandleAutoTestRequest_pstAutoTest_is_NULL
jmp 0x1400084c8
mov r8d, dword [rbx + 4]
lea r9, [rbp + 0x448]
mov rcx, qword [0x1400da5f8]
xor edi, edi
mov edx, esi
mov dword [rbp + 0x448], edi
call fcn.140013e70
test eax, eax
jne 0x1400083fe
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je case.0x1400086e9.147497
lea r8, str.GpuMsgHandler::HandleAutoTestRequest_FindDisplayIndexByObjectID_failed_
jmp 0x1400084c8
mov r9d, dword [rbx + 8]
mov eax, r9d
sub eax, 1
je 0x140008490
sub eax, 1
je 0x140008475
cmp eax, 1
je 0x14000843e
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je case.0x1400086e9.147497
lea r8, str.ATI_MESSAGECODE_DAL_ACTION_AUTOMATED_TESTREQUEST_request__x_not_supported
mov edx, 2
call fcn.140040750
jmp 0x1400084d2
mov rcx, qword [0x1400da5f8]
lea r8, [rsp + 0x20]
xor r9d, r9d
mov edx, esi
call fcn.1400129a0
test eax, eax
jne case.0x1400086e9.147497
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je case.0x1400086e9.147497
lea r8, str.GpuMsgHandler::HandleAutoTestRequest_AdapterGetInfo_failed_
jmp 0x1400084c8
mov r9d, dword [rbx + 0x10]
mov edx, esi
mov r8d, dword [rbp + 0x448]
mov rcx, qword [0x1400da5f8]
call fcn.140012ea0
jmp 0x1400084a9
mov r9d, dword [rbx + 0x10]
mov edx, esi
mov r8d, dword [rbp + 0x448]
mov rcx, qword [0x1400da5f8]
call fcn.1400130b0
test eax, eax
jne case.0x1400086e9.147497
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je case.0x1400086e9.147497
lea r8, str.GpuMsgHandler::HandleAutoTestRequest_AutoTestSetPanelFormat_failed_
mov edx, 2
call fcn.140040750
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je case.0x1400086e9.147497
lea r8, str.GpuMsgHandler::DispatchMessage_HandleAutoTestRequest_failed_
mov edx, 2
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140040750
xor edi, edi
lea rdx, [rbp + 0x448]
lea rcx, [rbp + 0x458]
mov qword [rbp + 0x458], rdi
mov qword [rbp + 0x448], rdi
call fcn.140047450
mov ecx, esi
call fcn.1400474c0
mov rdx, qword [rbp + 0x448]
mov rcx, qword [rbp + 0x458]
call fcn.140047820
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140008568
lea r8, str.ATI_MESSAGECODE_DAL_ACTION_ENABLE_ALS_REPORT
mov edx, 2
call fcn.140040750
mov rcx, qword [0x1400da428]
test rcx, rcx
je case.0x1400086e9.147497
mov edx, 1
call fcn.1400361b0
mov rcx, qword [0x1400da428]
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.1400357f0
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x1400085b8
lea r8, str.ATI_MESSAGECODE_DAL_ACTION_DISABLE_ALS_REPORT
mov edx, 2
call fcn.140040750
mov rcx, qword [0x1400da428]
test rcx, rcx
je case.0x1400086e9.147497
xor edx, edx
call fcn.1400361b0
mov rcx, qword [0x1400da428]
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.1400357b0
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140008605
lea r8, str.PnP_stop_start_message_received.
mov edx, 2
call fcn.140040750
mov rcx, qword [0x1400e06a0]
test rcx, rcx
je 0x14000862d
test byte [rbx + 0x20], 0x40
je 0x14000862d
lea rdx, [rbx + 0x1c]
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140038090
test byte [rbx + 0x20], 0x10
jne 0x14000868f
movups xmm0, xmmword [rbx + 0x30]
lea rdx, [rsp + 0x20]
movsd xmm1, qword [rbx + 0x40]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
movsd qword [rsp + 0x70], xmm1
call fcn.14001ed70
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14001ea30
mov rcx, qword [0x1400da5e0]
call fcn.1400046a0
mov rcx, qword [0x1400da5b8]
xor edx, edx
call fcn.140010540
call fcn.140041fe0
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400318a0
xor edx, edx
lea rcx, [rbx + 0x1c]
call fcn.14000ee50
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.1400313e0
cmp eax, 0x41001
ja 0x140008ce8
je case.0x1400086e9.147500
add eax, 0xfffdbffe
cmp eax, 0x36
ja case.0x1400086e9.147459
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x8e28]
mov ecx, dword [rdx + rax*4 + 0x8dd0]
add rcx, rdx
jmp rcx
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140008708
lea r8, str.Audio_PnP_stop_start_message_received.
mov edx, 2
call fcn.140040750
cmp dword [rbx + 0x18], 0
jne 0x140008725
mov ecx, 1
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x1400427a0
lea rcx, [0x1400da490]
call fcn.140044510
test eax, eax
jne 0x140008763
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je case.0x1400086e9.147497
lea r8, str.Lasso::UpdateADCBlockState_AcquireTheMutex_failed.
mov edx, 0x100
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140040750
lea rcx, [rbx + 0x1c]
call fcn.140042630
lea rcx, [0x1400da490]
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.1400445d0
mov rcx, qword [0x1400da5f8]
mov r8, rbx
mov edx, esi
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x140014150
cmp dword [0x1400da3b8], 0
jne 0x1400087df
cmp qword [0x1400da388], 0
je 0x1400087c7
xor r8d, r8d
mov edx, 0x1d4c0
lea ecx, [r8 + 3]
call fcn.1400401c0
mov dword [0x1400da3b8], 1
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [0x1400da5f8]
mov edx, esi
call fcn.1400124c0
test eax, eax
jne case.0x1400086e9.147497
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je case.0x1400086e9.147497
lea r8, str.KMD_Message_AdapterEnterIPS_failed.
lea edx, [rax + 2]
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140040750
mov ecx, r10d
call fcn.1400120b0
test eax, eax
jne case.0x1400086e9.147497
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je case.0x1400086e9.147497
lea r8, str.GpuMsgHandler::DispatchMessage_SetCpuThrottling_failed.
lea edx, [rax + 2]
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140040750
mov rcx, qword [0x1400da5f8]
mov r8, rbx
mov edx, esi
call fcn.140014190
test eax, eax
jne case.0x1400086e9.147497
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je case.0x1400086e9.147497
lea r8, str.GpuMsgHandler::DispatchMessage_GENERIC_MSG_LHESCAPE_CALL_failed_
lea edx, [rax + 2]
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140040750
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x1400088c6
lea r8, str.ATI_MESSAGECODE_GENERIC_MSG_PX_GPU_AFFINITY_PROFILE_UPDATE_triggered
mov edx, 2
call fcn.140040750
mov rcx, qword [0x1400da5d8]
mov rax, qword [0x1400da5b8]
lea rdx, [rbx + 0x1c]
test rax, rax
je 0x1400088f3
cmp dword [rdx], 0xa8
jne 0x1400088f3
mov rcx, rax
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x140010e10
test rcx, rcx
je case.0x1400086e9.147497
lea r8, str.GpuMsgHandler::DispatchMessage_ATI_MESSAGECODE_GENERIC_MSG_PX_GPU_AFFINITY_PROFILE_UPDATE_structure_SIZE_is_wrong_
mov edx, 2
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140040750
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14000893e
lea r8, str.ATI_MESSAGECODE_GENERIC_MSG_PX_GPU_AFFINITY_PROFILELESS_APP_CLOSED_triggered
mov edx, 2
call fcn.140040750
mov rcx, qword [0x1400da5d8]
mov rax, qword [0x1400da5b8]
test rax, rax
je 0x14000896f
cmp dword [rbx + 0x1c], 0xa8
jne 0x14000896f
mov rdx, qword [rbx + 0xa4]
mov rcx, rax
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x14000f640
test rcx, rcx
je case.0x1400086e9.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, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140040750
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x1400089b3
lea r8, str.ATI_MESSAGECODE_GENERIC_MSG_PX_REFRESH_DESKTOP_triggered
mov edx, 2
call fcn.140040750
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x140041cf0
mov r8d, dword [rbx + 0x2c]
mov rcx, r14
mov edx, dword [rbx + 0x24]
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x140009400
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x1400089fe
lea r8, str.ACR_info_message_received.
mov edx, 2
call fcn.140040750
mov rcx, qword [0x1400e06a0]
test rcx, rcx
je case.0x1400086e9.147497
lea rdx, [rbx + 0x1c]
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x140039bd0
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140008a41
lea r8, str.TDR_info_message_received.
mov edx, 2
call fcn.140040750
mov ecx, dword [rbx + 0x20]
movzx eax, byte [rbx + 0x21]
mov dword [rsp + 0x20], eax
mov eax, ecx
shr eax, 3
and ecx, 7
and eax, 0x1f
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x20]
mov eax, dword [rbx + 0x24]
mov dword [rsp + 0x38], eax
call fcn.14003a430
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140008a9b
lea r8, str.SmartMux_message_received:_ATI_MESSAGECODE_GENERIC_MSG_GET_PROCESS_GPU_AFFINITY.
mov edx, 2
call fcn.140040750
mov rcx, qword [0x1400da5a8]
test rcx, rcx
je case.0x1400086e9.147497
lea rdx, [rbx + 0x1c]
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x14003bdd0
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140008ade
lea r8, str.SmartMux_message_received:_ATI_MESSAGECODE_GENERIC_MSG_SET_DISPLAY_CONFIG.
mov edx, 2
call fcn.140040750
mov rcx, qword [0x1400da5a8]
test rcx, rcx
je case.0x1400086e9.147497
lea rdx, [rbx + 0x1c]
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x14003c9b0
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140008b21
lea r8, str.SmartMux_message_received:_ATI_MESSAGECODE_GENERIC_MSG_PREPARE_MUX_SWITCH.
mov edx, 2
call fcn.140040750
mov rcx, qword [0x1400da5a8]
test rcx, rcx
je case.0x1400086e9.147497
lea rdx, [rbx + 0x1c]
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x14003c7f0
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140008b64
lea r8, str.PPTable_internal_driver_override_failure_received.
mov edx, 2
call fcn.140040750
mov edx, 0x66
lea ecx, [rdx + 0x40]
call fcn.14002ddc0
test eax, eax
jne case.0x1400086e9.147497
lea r9d, [rax + 0x40]
xor ecx, ecx
lea r8, str.AMD_SOFTWARE
lea rdx, str.The_GPU_detected_a_configuration_issue_with_this_driver__please_update_driver_to_the_latest.__SACEEDL_._nPlease_visit_https:__www.amd.com_SACEEDL_to_find_out_more
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140008bbe
lea r8, str.PPTable_override_from_reg_key_failure_received.
mov edx, 2
call fcn.140040750
mov edx, 0x66
lea ecx, [rdx + 0x41]
call fcn.14002ddc0
test eax, eax
jne case.0x1400086e9.147497
lea r9d, [rax + 0x40]
xor ecx, ecx
lea r8, str.AMD_SOFTWARE
lea rdx, str.The_GPU_detected_a_configuration_issue_with_this_driver__please_reinstall_driver.__SACERKL_._nPlease_visit_https:__www.amd.com_SACERKL_to_find_out_more
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140008c18
lea r8, str.New_bad_page_detection_message_received:_ATI_MESSAGECODE_GENERIC_MSG_NEW_BAD_PAGE_DETECTED.
mov edx, 2
call fcn.140040750
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x14003fdd0
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140008c47
lea r8, str.the_AOU_verify_trust_image_message_received:_ATI_MESSAGECODE_GENERIC_MSG_VERIFY_TRUST_IMAGE.
mov edx, 2
call fcn.140040750
lea rdx, [rbx + 0x1c]
test rdx, rdx
je case.0x1400086e9.147497
mov rcx, qword [0x1400da430]
test rcx, rcx
je case.0x1400086e9.147497
cmp dword [rdx], 0x410
jne case.0x1400086e9.147497
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x14003dc50
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140008c9f
lea r8, str.OsDisplayMux_message_received:_ATI_MESSAGECODE_GENERIC_MSG_TRIGGER_MUX_SWITCH.
mov edx, 2
call fcn.140040750
mov rcx, qword [0x1400da5b0]
test rcx, rcx
je case.0x1400086e9.147497
lea rdx, [rbx + 0x1c]
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x14003cd90
mov rcx, qword [0x1400da5b8]
xor r9d, r9d
mov edx, r10d
lea r8d, [r9 + 1]
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.1400112a0
sub eax, 0x41002
je 0x140008d33
cmp eax, 1
je 0x140008d21
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je case.0x1400086e9.147497
mov r9d, r10d
lea r8, str.pstGpuMsg__ulMessageCode__0x_x
mov edx, 2
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140040750
add rsp, 0x510
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x140042550
call fcn.140042370
add rsp, 0x510
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.1400514f0
xor edx, edx
lea rcx, [rbp + 0x40]
mov r8d, 0x100
call fcn.1400514f0
mov r9d, ebx
mov dword [rbp - 0x70], 0x68
mov r8d, esi
lea rdx, str.ProcessID:_X_HookType:_X
lea rcx, [rbp + 0x40]
call fcn.140003f20
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 0x14000957f
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 0x1400094f6
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 0x14000957f
mov rcx, qword [0x1400da4d8]
test rcx, rcx
je 0x140009543
mov rdx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x140009543
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140009543
lea r8, str.Failed_to_assign_atieah_to_the_process_terminator_job_object.
mov edx, 0x100
call fcn.140040750
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 0x14000959c
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x1400095b9
lea r8, str.atieah_UpdateImports_succeeded.
jmp 0x1400095af
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x1400095b9
lea r8, str.GpuMsgHandler::HookInject_CreateProcess_failed.
mov edx, 2
call fcn.140040750
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x1400095b9
lea r8, str.atieah_UpdateImports_failed.
mov edx, 2
call fcn.140040750
mov rcx, qword [0x1400da5f8]
lea rdx, [rbp + 0x178]
call fcn.14001bc40
test eax, eax
jne 0x1400095ef
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14000963e
lea r8, str.HookInjector::NotifyHookFinishEvent_GetPrimaryAdapterIndex_failed.
mov edx, 0x4000
call fcn.140040750
jmp 0x14000963e
or dword [rsp + 0x74], 1
lea rax, [rbp]
mov edx, dword [rbp + 0x178]
mov r9d, 0x3005501
mov rcx, qword [0x1400da5f8]
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.1400131f0
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 0x14000f499
inc ebx
inc r9
add r8, 0x810
cmp r9, 0x40
jl 0x14000f473
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 0x14000f61e
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 0x14000f5db
mov edx, 0x5c
mov rcx, r13
call fcn.140051ff0
lea rdx, str.wwahost.exe
mov rcx, rax
call fcn.140076378
test eax, eax
mov rcx, r13
sete r12b
call fcn.140076788
lea rbx, [r15 + 4]
mov rcx, rbx
call fcn.140076788
mov rdx, rbx
mov rcx, r13
call fcn.1400520a4
test rax, rax
jne 0x14000f579
test r12b, r12b
jne 0x14000f579
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14000f606
lea r8, str.CCC::AddGPUAffinityProfile_failed_to_match_application_path_and_executable_name.
mov edx, 0x80000
call fcn.140040750
jmp 0x14000f606
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 0x14000f5d3
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 0x14000f5c0
inc dword [rdi + 0x50]
mov sil, 1
jmp 0x14000f606
cmp qword [0x1400da5d8], 0
je 0x14000f606
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1400da5d8]
lea r8, str.CCC::AddGPUAffinityProfile_:_read_path_for_MRU_app_failed._Error_Msg:___d
mov r9d, eax
mov edx, 0x80000
call fcn.140040750
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.14004ff90
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 0x14000faa5
mov rcx, qword [r15 + 0x48]
cmp dword [rax + rcx + 0x80c], ebx
je 0x14000f68f
inc r8d
cmp qword [rax + rcx], rdx
je 0x14000f6ac
inc r9d
add rax, 0x810
cmp rax, 0x20400
jl 0x14000f670
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 0x14000fa9d
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.140076330
lea rcx, [rbp + 0x720]
mov word [rbp + 0xf1e], bx
call fcn.140076788
lea rdi, str.ccc.exe
nop
mov rdx, qword [rdi]
lea rcx, [rbp + 0x720]
call fcn.1400520a4
test rax, rax
setne r14b
test rax, rax
jne 0x14000f738
inc ebx
add rdi, 8
cmp ebx, 7
jb 0x14000f710
jmp 0x14000f759
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14000f759
lea r9, [r13 + 8]
mov edx, 0x40000
lea r8, str.CCC::AddToMRUList_filtered_out_application___S___EPR_349831_.
call fcn.140040750
test r14b, r14b
jne 0x14000fa85
mov edx, dword [0x1400d9004]
lea r8, [rsp + 0x30]
xor ecx, ecx
call fcn.140043b70
test eax, eax
je 0x14000fa59
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.140010130
lea r9, [rbp + 0xf70]
mov rdx, rbx
lea r8, str.SoftwareATIACESettingsGraphicsPowerXpressPx4.0ProfilelessAppList
mov rcx, r15
mov edi, eax
call fcn.140010130
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 0x14000f8ae
mov r14, qword [rsp + 0x30]
xor ebx, ebx
nop
xor edx, edx
lea rcx, [rbp + 0x720]
mov r8d, 0x800
call fcn.1400514f0
xor edx, edx
mov dword [rbp + 0xf70], 0x800
mov r8d, 0x3e8
lea rcx, [rsp + 0x40]
call fcn.1400514f0
lea r9, str.SoftwareATIACESettingsGraphicsPowerXpressPx4.0ProfilelessAppList
mov dword [rsp + 0x20], ebx
lea r8, str._s_d
mov edx, 0x3e8
lea rcx, [rsp + 0x40]
call fcn.1400114f0
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.140043f80
test eax, eax
je 0x14000f881
lea rdx, [r13 + 8]
lea rcx, [rbp + 0x720]
call fcn.1400520a4
test rax, rax
jne 0x14000f88e
inc ebx
cmp ebx, 5
jl 0x14000f7f0
jmp 0x14000f8b7
test ebx, ebx
js 0x14000f8b7
mov rdx, qword [rsp + 0x30]
lea r8, str.SoftwareATIACESettingsGraphicsPowerXpressPx4.0ProfilelessAppList
mov r9d, ebx
mov rcx, r15
call fcn.14000fec0
jmp 0x14000f95f
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.1400514f0
xor edx, edx
mov dword [rbp + 0xf70], 0x800
mov r8d, 0x3e8
lea rcx, [rsp + 0x40]
call fcn.1400514f0
mov r9, r12
mov dword [rsp + 0x20], ebx
lea r8, str._s_d
mov edx, 0x3e8
lea rcx, [rsp + 0x40]
call fcn.1400114f0
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.140043f80
test eax, eax
je 0x14000f94d
lea rdx, [r13 + 8]
lea rcx, [rbp + 0x720]
call fcn.1400520a4
test rax, rax
jne 0x14000f95a
inc ebx
cmp ebx, 5
jl 0x14000f8c0
jmp 0x14000f95f
test ebx, ebx
cmovns edi, ebx
xor edx, edx
lea rcx, [rbp + 0x330]
mov r8d, 0x3e8
call fcn.1400514f0
mov r9, r12
mov dword [rsp + 0x20], edi
lea r8, str._s_d
mov edx, 0x3e8
lea rcx, [rbp + 0x330]
call fcn.1400114f0
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.140044410
mov r12, qword [rsp + 0x1030]
test eax, eax
jne 0x14000f9ec
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14000f9ec
lea r8, str.CCC::AddToMRUList_WriteRegKey_failed_for_CCC_PX_MRU_APP_FILEPATH_REG_KEY.
mov edx, 0x40000
call fcn.140040750
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.1400442e0
test eax, eax
jne 0x14000fa3a
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14000fa3a
lea r8, str.CCC::AddToMRUList_WriteRegKey_failed_for_CCC_PX_MRU_APP_TIMESTAMP_REG_KEY.
mov edx, 0x40000
call fcn.140040750
mov edx, dword [0x1400d9004]
lea r8, [rsp + 0x30]
xor ecx, ecx
call fcn.140043550
mov rdx, r13
mov rcx, r15
call fcn.1400103c0
jmp 0x14000fa76
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14000fa76
lea r8, str.CCC::AddToMRUList_GetProfileRegRootHandle_failed.
mov edx, 0x40000
call fcn.140040750
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 0x140010e76
mov rdx, qword [r11 + 0x48]
cmp dword [r8 + rdx + 0x80c], 0
je 0x140010e48
mov rax, qword [rbx + 0x88]
inc r9d
cmp qword [r8 + rdx], rax
je 0x140010e67
inc r10d
add r8, 0x810
cmp r8, 0x20400
jl 0x140010e24
mov rdx, rbx
mov rcx, r11
pop rbx
jmp 0x14000f450
movsxd rax, r10d
imul rcx, rax, 0x810
add rcx, rdx
jne 0x140010e82
mov rdx, rbx
mov rcx, r11
pop rbx
jmp 0x14000f450
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.1400131f0
add rsp, 0x58
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov eax, dword [rdx + 4]
mov rdi, rdx
mov rsi, rcx
cmp eax, 1
je 0x140039c82
add eax, 0xfffffffe
cmp eax, 1
ja 0x140039eb1
movsd xmm0, qword [str.dummy.dmp]
lea rcx, [rsp + 0x3a]
movzx eax, word [0x1400b3438]
xor edx, edx
mov r8d, 0xfa
movsd qword [rsp + 0x30], xmm0
mov word [rsp + 0x38], ax
call fcn.1400514f0
lea r8, str.WATCHDOG
mov rcx, rsi
lea rdx, [rsp + 0x30]
call fcn.140038650
test al, al
jne 0x140039c65
lea r8, str.AMD_WATCHDOG
mov rcx, rsi
lea rdx, [rsp + 0x30]
call fcn.140038650
xor ebx, ebx
lea rdx, [rsi + 0x870]
cmp dword [rdi + 4], 2
sete bl
lea ecx, [rbx + 2]
call fcn.140037a90
jmp 0x140039eb1
xor ebx, ebx
cmp byte [0x1400d921c], 1
jne 0x140039e4e
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call fcn.1400514f0
xor edx, edx
lea rcx, [rbp + 0x40]
mov r8d, 0x104
call fcn.1400514f0
xor edx, edx
lea rcx, [rbp + 0x150]
mov r8d, 0x104
call fcn.1400514f0
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rax, [rsp + 0x30]
dec rax
cmp byte [rax + 1], bl
lea rax, [rax + 1]
jne 0x140039ce0
movups xmm0, xmmword [str.System32AMDACRDumps_]
mov rcx, rbx
movsd xmm1, qword [0x1400b3260]
movups xmmword [rax], xmm0
movsd qword [rax + 0x10], xmm1
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x30]
mov byte [rbp + rcx + 0x40], al
lea rcx, [rcx + 1]
test al, al
jne 0x140039d10
lea rcx, [rbp + 0x40]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], bl
lea rcx, [rcx + 1]
jne 0x140039d30
movzx eax, word [0x1400b32c8]
lea rdx, [rbp + 0x260]
mov word [rcx], ax
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140039d83
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140039e48
lea r8, str.Not_find_any_file_
mov edx, 0x40000000
call fcn.140040750
jmp 0x140039e48
test byte [rbp + 0x260], 0x10
jne 0x140039e27
mov rcx, rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x30]
mov byte [rbp + rcx + 0x150], al
lea rcx, [rcx + 1]
test al, al
jne 0x140039da0
lea rax, [rbp + 0x150]
dec rax
nop
cmp byte [rax + 1], bl
lea rax, [rax + 1]
jne 0x140039dc0
lea r8, [rbp + 0x28c]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r8 + rdx]
mov byte [rax + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x140039de0
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x140039e27
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140039e27
mov r9d, eax
lea r8, str.DeleteFile_failed_0x_x.
mov edx, 0x40000000
call fcn.140040750
lea rdx, [rbp + 0x260]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140039d83
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov byte [0x1400d921c], bl
lea rax, [rbp + 0x3b8]
mov dword [rsp + 0x28], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea r8, str.DeleteLiveMiniDumps
mov dword [rbp + 0x3b8], ebx
lea rdx, str.SYSTEMCurrentControlSetControlCrashControlLiveKernelReports
mov rcx, 0xffffffff80000002
call fcn.1400442e0
test eax, eax
jne 0x140039eaa
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140039eaa
lea r9, str.WriteRegKey_in_WriteRegistryKeyToEnableLiveKernelDump_failed.
mov edx, 0x40000000
lea r8d, [rax + 1]
call fcn.140040490
mov byte [rsi + 0x864], 1
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov rax, rsp
push rbp
push rbx
lea rbp, [rax - 0x6a8]
sub rsp, 0x798
mov r8d, dword [rdx + 4]
xor ebx, ebx
mov qword [rax - 0x20], r12
mov r12, rcx
mov qword [rax - 0x30], r14
mov ecx, 0x1010
mov qword [rax - 0x38], r15
mov r15, rdx
xor edx, edx
mov dword [rsp + 0x50], 0x104
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
test rax, rax
je 0x14003c1ef
lea r9, [rsp + 0x50]
mov qword [rsp + 0x780], r13
lea r8, [rbp + 0x250]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
lea rcx, [rbp + 0x250]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
xor edx, edx
lea rcx, [rbp - 0x10]
mov r8d, 0x104
mov r13, rax
call fcn.1400514f0
xor edx, edx
lea rcx, [rbp + 0x140]
mov r8d, 0x104
call fcn.1400514f0
xor edx, edx
lea rcx, [rbp + 0x460]
mov r8d, 0x208
call fcn.1400514f0
lea r8, [rbp + 0x460]
mov dword [rbp + 0x6c0], 0x104
lea rdx, [rbp + 0x6b8]
mov qword [rbp + 0x6c8], rbx
mov rcx, r14
mov dword [rbp + 0x6b8], 0x104
call qword [sym.imp.KERNEL32.dll_GetApplicationUserModelId]
mov ebx, eax
cmp eax, 0x3d57
je 0x14003beea
test eax, eax
je 0x14003beee
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14003beea
lea r9, str.SmartMux::GetWindowsAppUserModelID_failed_with_error_code__d_n
mov dword [rsp + 0x20], eax
mov edx, 0x60004004
mov r8d, 1
call fcn.140040490
test ebx, ebx
jne 0x14003bef7
lea r9, [rbp + 0x460]
jmp 0x14003befe
lea r9, [rbp + 0x250]
mov r8d, 0x104
mov qword [rsp + 0x20], 0x104
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x6c8]
call fcn.140077034
cmp qword [rbp + 0x6c8], 0
jbe 0x14003bfd7
lea r8, [rsp + 0x58]
mov edx, 0xffffffff
xor ecx, ecx
call fcn.140043b70
test eax, eax
je 0x14003bfd7
mov rcx, qword [rsp + 0x58]
lea rax, [rbp + 0x6c0]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x10]
lea rax, [rbp + 0x140]
mov r9d, 2
lea rdx, str.SoftwareMicrosoftDirectXUserGpuPreferences
mov qword [rsp + 0x20], rax
call fcn.140043e50
test eax, eax
je 0x14003bfd7
lea rdx, str.GpuPreference
lea rcx, [rbp + 0x140]
call fcn.1400512d4
test rax, rax
je 0x14003bfd7
lea rdx, str.GpuPreference2_
lea rcx, [rbp + 0x140]
call fcn.1400512d4
test rax, rax
je 0x14003bfb5
mov ebx, 2
jmp 0x14003c1de
lea rdx, str.GpuPreference1_
lea rcx, [rbp + 0x140]
call fcn.1400512d4
test rax, rax
je 0x14003bfd7
mov ebx, 1
jmp 0x14003c1de
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
test eax, eax
je 0x14003bff7
cmp byte [rsp + 0x5b], 1
jne 0x14003bff7
mov ebx, 1
jmp 0x14003c1de
mov qword [rsp + 0x7b0], rsi
lea rcx, [rbp + 0x250]
mov qword [rsp + 0x790], rdi
xor sil, sil
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x14003c05c
lea rdx, str.AmdPowerXpressRequestHighPerformance
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ebx, ebx
test rax, rax
je 0x14003c04a
cmp dword [rax], 1
jne 0x14003c045
mov ebx, 2
mov sil, 1
jmp 0x14003c04a
mov ebx, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test sil, sil
jne 0x14003c1ce
xor edx, edx
mov dword [rbp + 0x6c8], 0
mov r8d, 0x144
mov dword [rbp + 0x6c0], 0
lea rcx, [rbp - 0x10]
call fcn.1400514f0
lea rcx, [rbp - 0x10]
mov esi, 0xffffffff
call sub.GDI32.dll_D3DKMTEnumAdapters
test eax, eax
jns 0x14003c0ba
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14003c0ba
lea r9, str.SmartMux::GetAdapter_EnumAdapters_failed_with_error_code__d
mov dword [rsp + 0x20], eax
mov edx, 0x60004004
mov r8d, 1
call fcn.140040490
xor ebx, ebx
cmp dword [rbp - 0x10], ebx
jbe 0x14003c15b
nop word [rax + rax]
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], rax
mov dword [rbp + 0x6b8], eax
lea rax, [rbx + rbx*4]
mov ecx, dword [rbp + rax*4 - 0xc]
lea rax, [rbp + 0x6b8]
mov dword [rsp + 0x58], ecx
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x5c], 0xf
mov dword [rsp + 0x68], 4
call sub.GDI32.dll_D3DKMTQueryAdapterInfo
test eax, eax
js 0x14003c134
test byte [rbp + 0x6b8], 0x10
jne 0x14003c12a
inc ebx
cmp ebx, dword [rbp - 0x10]
jb 0x14003c0d0
jmp 0x14003c15b
lea rax, [rbx + rbx*4]
mov esi, dword [rbp + rax*4 - 0xc]
jmp 0x14003c15b
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14003c15b
lea r9, str.SmartMux::GetAdapter_QueryAdapterInfo_failed_with_error_code__d
mov dword [rsp + 0x20], eax
mov edx, 0x60004004
mov r8d, 1
call fcn.140040490
cmp qword [r12 + 0x10], 0
je 0x14003c1ac
cmp esi, 0xffffffff
je 0x14003c1ac
mov r8d, esi
lea rdx, [rbp + 0x6c0]
xor r9d, r9d
mov qword [rsp + 0x20], r14
lea rcx, [rbp + 0x6c8]
call qword [0x1400e06b0]
test eax, eax
jne 0x14003c1ac
cmp dword [rbp + 0x6c0], eax
je 0x14003c1cc
mov eax, dword [rbp + 0x6c8]
cmp eax, 2
jne 0x14003c1a2
mov ebx, eax
jmp 0x14003c1ce
xor ebx, ebx
cmp eax, 1
sete bl
jmp 0x14003c1ce
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14003c1cc
mov r9, r13
lea r8, str.SmartMux::GetProcessGpuAffinity:_Unable_to_find_GPU_preference_for_Application:__ls
mov edx, 2
call fcn.140040750
xor ebx, ebx
mov rsi, qword [rsp + 0x7b0]
mov rdi, qword [rsp + 0x790]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r13, qword [rsp + 0x780]
mov r14, qword [rsp + 0x778]
xor eax, eax
mov r12, qword [rsp + 0x788]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov eax, dword [r15 + 4]
mov r15, qword [rsp + 0x770]
mov dword [rsp + 0x74], ebx
xor ebx, ebx
mov dword [rsp + 0x70], eax
nop dword [rax]
mov rcx, qword [0x1400da5f8]
lea r8, [rbp + 0x6b8]
mov edx, ebx
mov dword [rbp + 0x6b8], 0xffffffff
call fcn.14001a630
test eax, eax
je 0x14003c2fc
mov edx, dword [rbp + 0x6b8]
mov rcx, qword [0x1400da5f8]
call fcn.14001b070
test eax, eax
je 0x14003c2fc
mov edx, dword [rbp + 0x6b8]
mov rcx, qword [0x1400da5f8]
call fcn.14001b1d0
test eax, eax
jne 0x14003c2fc
mov edx, dword [rbp + 0x6b8]
lea rax, [rbp - 0x50]
mov rcx, qword [0x1400da5f8]
mov r9d, 0x300b903
mov qword [rsp + 0x40], rax
mov r8d, 1
mov dword [rsp + 0x38], 0x40
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0
call fcn.1400131f0
test eax, eax
jne 0x14003c313
inc ebx
cmp ebx, 8
jb 0x14003c260
xor al, al
add rsp, 0x798
pop rbx
pop rbp
ret
mov al, 1
add rsp, 0x798
pop rbx
pop rbp
ret
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x20]
call fcn.14003f180
test al, al
je 0x14003c80c
mov byte [rbx + 0x18], 1
jmp 0x14003c82f
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14003c82f
lea r9, str.SmartMux::PrepareForMuxSwitch:_DisplaySettingsManager::SaveDisplaySettings_failed
mov edx, 0x60004004
mov r8d, 1
call fcn.140040490
mov rcx, qword [rbx + 0x20]
xor edx, edx
call fcn.14003f430
test al, al
je 0x14003c84f
xor r8d, r8d
mov edx, 0x1770
lea ecx, [r8 + 0xa]
call fcn.1400401c0
mov dl, 1
mov rcx, rbx
call fcn.14003c5f0
test al, al
je 0x14003c879
xor r8d, r8d
mov edx, 0x1770
lea ecx, [r8 + 9]
call fcn.1400401c0
test eax, eax
setne al
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, dword [rdx + 4]
xor dil, dil
and ebx, 0xf
mov rsi, rcx
bts ebx, 7
cmp byte [rcx + 0x18], dil
je 0x14003ca9d
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_SetDisplayConfig]
mov ebp, eax
test eax, eax
jne 0x14003ca29
mov rcx, qword [rsi + 0x20]
call fcn.14003ed10
test al, al
je 0x14003ca0d
mov dil, 1
jmp 0x14003cac0
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14003cac0
lea r9, str.SmartMux::SetDisplayConfigForMuxSwitch:_DisplaySettingsManager::ApplyDisplaySettings_failed
jmp 0x14003cab0
cmp qword [0x1400da5d8], 0
je 0x14003ca5f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1400da5d8]
lea r9, str.SmartMux::SetDisplayConfigForMuxSwitch_SetDisplayConfig_failed_with_error_code__d_ret_0x_x
mov edx, 0x60004004
mov dword [rsp + 0x28], ebp
mov r8d, 1
mov dword [rsp + 0x20], eax
call fcn.140040490
cmp ebp, 0x1f
jne 0x14003cac0
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_SetDisplayConfig]
test eax, eax
jne 0x14003cac0
mov rcx, qword [rsi + 0x20]
call fcn.14003ed10
test al, al
je 0x14003ca0d
mov dil, 1
jmp 0x14003cac0
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14003cac0
lea r9, str.SmartMux::SetDisplayConfigForMuxSwitch:_Display_settings_not_saved
mov r8d, 1
mov edx, 0x60004004
call fcn.140040490
mov rbx, qword [rsp + 0x40]
movzx eax, dil
mov rbp, qword [rsp + 0x48]
mov byte [rsi + 0x18], 0
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rbx, rcx
xor dil, dil
call fcn.14003cf50
cmp dword [rbx + 0xc], 1
movzx ecx, al
jne 0x14003cdca
cmp dword [rbx + 0x10], 2
jb 0x14003cdca
mov al, 1
jmp 0x14003cdcc
xor al, al
xor esi, esi
test cl, al
je 0x14003ce15
mov eax, esi
mov dword [rbp - 0x49], 0xe
cmp dword [rbx + 0x14], eax
mov dword [rbp - 0x45], 0x18
sete al
mov edx, eax
mov dword [rbx + 0x14], edx
lea rax, [rdx + rdx*2]
mov rcx, qword [rbx + rax*4 + 0x24]
lea rax, [rdx + rdx*2]
mov qword [rbp - 0x41], rcx
mov ecx, dword [rbx + rax*4 + 0x2c]
mov dword [rbp - 0x39], ecx
lea rcx, [rbp - 0x49]
call qword [sym.imp.USER32.dll_DisplayConfigSetDeviceInfo]
test eax, eax
sete dil
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14003ce47
test dil, dil
lea rax, str.Succeed
lea r9, str.Failed
mov edx, 2
cmovne r9, rax
lea r8, str.OsDisplayMux::SendEscapeToKmd._Send_Switch__s_Message
call fcn.140040750
xor eax, eax
mov ebx, esi
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rax
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x1f], rax
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x2f], rax
mov qword [rbp + 0x37], rax
mov qword [rbp + 0x3f], rax
mov qword [rbp + 0x47], rax
mov qword [rbp + 0x4f], rax
movzx eax, dil
mov dword [rbp - 0x29], eax
mov rcx, qword [0x1400da5f8]
lea r8, [rbp + 0x67]
mov edx, ebx
mov dword [rbp + 0x67], 0xffffffff
call fcn.14001a630
test eax, eax
je 0x14003cf1a
mov edx, dword [rbp + 0x67]
mov rcx, qword [0x1400da5f8]
call fcn.14001b070
test eax, eax
je 0x14003cf1a
mov edx, dword [rbp + 0x67]
mov rcx, qword [0x1400da5f8]
call fcn.14001b1d0
test eax, eax
jne 0x14003cf1a
mov edx, dword [rbp + 0x67]
lea rax, [rbp + 0x17]
mov rcx, qword [0x1400da5f8]
mov r9d, 0x300de03
mov qword [rsp + 0x40], rax
mov r8d, 1
mov dword [rsp + 0x38], 0x40
lea rax, [rbp - 0x29]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], esi
call fcn.1400131f0
test eax, eax
jne 0x14003cf25
inc ebx
cmp ebx, 8
jb 0x14003ce92
lea r11, [rsp + 0xf0]
movzx eax, dil
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
xor eax, eax
mov byte [rbp + 0x6f], 0
mov dword [rbp + 0x7f], 0x10
mov rsi, rdx
mov r15, rcx
mov r13d, eax
mov r12d, eax
test rdx, rdx
je 0x14003e27f
cmp dword [rdx], 0x410
jne 0x14003e27f
lea rbx, [rdx + 0x10]
movzx edx, word [rdx + 0x10]
test dx, dx
je 0x14003e26a
cmp word [rsi + 0x210], ax
je 0x14003e26a
mov rcx, rbx
test rbx, rbx
je 0x14003e29c
mov r8d, eax
mov r9d, 0x5c
nop dword [rax]
cmp r9w, dx
lea eax, [r8 + 1]
movzx edx, word [rcx + 2]
lea rcx, [rcx + 2]
cmovne eax, r8d
mov r8d, eax
test dx, dx
jne 0x14003dcd0
test eax, eax
js 0x14003e29c
mov r9, 0xffffffffffffffff
mov rax, r9
nop
inc rax
cmp word [rbx + rax*2], r12w
jne 0x14003dd00
lea r14d, [r8 + 1]
add r14d, eax
mov eax, 2
movsxd rcx, r14d
mul rcx
cmovo rax, r9
mov rcx, rax
call fcn.14004feec
mov qword [rbp - 0x49], rax
test rax, rax
je 0x14003e29c
mov r8d, r14d
mov r9, rbx
mov rdx, rax
mov rcx, r15
mov r14, rax
call fcn.14003ea30
cmp al, 1
jne 0x14003e246
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14003dd71
mov r9, r14
lea r8, str.HandleAOUVerifyTrustImage_pAOUImagePath:__S
mov edx, 0x4000
call fcn.140040750
lea rdx, [rsi + 0x210]
mov rcx, r15
call fcn.14003da10
mov ecx, eax
test eax, eax
js 0x14003e246
mov r8, 0xffffffffffffffff
mov rax, r8
nop dword [rax]
nop dword [rax + rax]
inc rax
cmp word [rsi + rax*2 + 0x210], r12w
jne 0x14003dda0
lea ebx, [rcx + 1]
add ebx, eax
mov eax, 2
movsxd rcx, ebx
mul rcx
cmovo rax, r8
mov rcx, rax
call fcn.14004feec
mov qword [rbp - 0x39], rax
mov r13, rax
test rax, rax
je 0x14003e246
lea r9, [rsi + 0x210]
mov r8d, ebx
mov rdx, rax
mov rcx, r15
call fcn.14003ea30
cmp al, 1
jne 0x14003e246
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14003de17
mov r9, r13
lea r8, str.HandleAOUVerifyTrustImage_pKMDImagePath:__S
mov edx, 0x4000
call fcn.140040750
xor eax, eax
xor r8d, r8d
mov qword [rbp - 0x11], rax
mov rdx, r14
mov qword [rbp - 0x31], rax
mov rcx, r15
mov dword [rbp + 0x77], eax
mov qword [rbp - 0x41], rax
mov qword [rbp - 9], rax
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
mov dword [rbp + 0x17], eax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
mov eax, dword [rsi + 4]
mov dword [rbp - 0xd], eax
mov eax, 0x20
mov word [rbp - 0x31], ax
call fcn.14003eab0
mov rcx, qword [0x1400da5d8]
test al, al
je 0x14003ded0
test rcx, rcx
je 0x14003de85
lea r8, str.HandleAOUVerifyTrustImage_AOU_verify_passed
mov edx, 0x4000
call fcn.140040750
lea r9, [rbp + 0x77]
xor r8d, r8d
mov rdx, r14
mov rcx, r15
call fcn.14003e490
cmp al, 1
jne 0x14003dea5
movzx ebx, word [rbp + 0x77]
mov word [rbp - 9], bx
jmp 0x14003deea
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14003dec6
movzx r9d, al
lea r8, str.HandleAOUVerifyTrustImage_failed_because_PopulateAMDCertificates_return_:_d
mov edx, 0x4000
call fcn.140040750
xor edi, edi
mov ebx, edi
mov word [rbp - 9], bx
jmp 0x14003deec
test rcx, rcx
je 0x14003dee6
lea r8, str.HandleAOUVerifyTrustImage_AOU_verify_failed
mov edx, 0x4000
call fcn.140040750
movzx ebx, word [rbp - 9]
xor edi, edi
mov r8b, 1
mov rdx, r13
mov rcx, r15
call fcn.14003eab0
mov rcx, qword [0x1400da5d8]
test al, al
je 0x14003df62
test rcx, rcx
je 0x14003df1b
lea r8, str.HandleAOUVerifyTrustImage_KMD_verify_passed
mov edx, 0x4000
call fcn.140040750
lea r9, [rbp + 0x79]
xor r8d, r8d
mov rdx, r13
mov rcx, r15
call fcn.14003e490
cmp al, 1
jne 0x14003df3b
movzx edi, word [rbp + 0x79]
mov word [rbp - 7], di
jmp 0x14003df7c
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14003df5c
movzx r9d, al
lea r8, str.HandleAOUVerifyTrustImage_failed_because_PopulateAMDCertificates_return_:_d
mov edx, 0x4000
call fcn.140040750
mov word [rbp - 7], di
jmp 0x14003df7c
test rcx, rcx
je 0x14003df78
lea r8, str.HandleAOUVerifyTrustImage_KMD_verify_failed
mov edx, 0x4000
call fcn.140040750
movzx edi, word [rbp - 7]
lea eax, [rdi + 0x2c]
add ax, bx
mov word [rbp - 0x11], ax
test bx, bx
jne 0x14003df90
test di, di
je 0x14003df98
sub ax, 4
mov word [rbp - 0x11], ax
movzx ecx, word [rbp - 0x11]
call fcn.14004feec
mov rsi, rax
test rax, rax
jne 0x14003dfcf
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14003e246
lea r8, str.HandleAOUVerifyTrustImage_new_heap_failed.
mov edx, 0x4000
call fcn.140040750
jmp 0x14003e246
movups xmm0, xmmword [rbp - 0x11]
movups xmm1, xmmword [rbp - 1]
movups xmmword [rax], xmm0
movsd xmm0, qword [rbp + 0xf]
movups xmmword [rax + 0x10], xmm1
movsd qword [rax + 0x20], xmm0
mov rax, qword [rbp - 0x41]
mov dword [rsi + 0x28], eax
test bx, bx
je 0x14003e06f
lea r8, [rsi + 0x26]
mov rdx, r14
lea r9, [rbp - 9]
mov rcx, r15
call fcn.14003e490
test al, al
je 0x14003e036
mov rcx, qword [0x1400da5d8]
movzx ebx, r12w
mov word [rbp - 9], bx
test rcx, rcx
je 0x14003e06b
movzx r9d, al
lea r8, str.HandleAOUVerifyTrustImage_PopulateAMDCertificates_fail_with_return:__d
mov edx, 0x4000
call fcn.140040750
jmp 0x14003e06b
movzx ebx, word [rbp - 9]
xor eax, eax
cmp ax, bx
je 0x14003e06b
cmp word [rbp + 0x77], bx
je 0x14003e06b
mov rcx, qword [0x1400da5d8]
movzx ebx, ax
mov word [rbp - 9], ax
test rcx, rcx
je 0x14003e06b
lea r8, str.HandleAOUVerifyTrustImage_PopulateAMDCertificates_fail_with_return_two_different_AouCertificateSizeInBytes
mov edx, 0x4000
call fcn.140040750
movzx edi, word [rbp - 7]
test di, di
je 0x14003e0ed
movzx eax, bx
lea r8, [rsi + 0x26]
add r8, rax
lea r9, [rbp - 7]
mov rdx, r13
mov rcx, r15
call fcn.14003e490
test al, al
je 0x14003e0b8
mov rcx, qword [0x1400da5d8]
movzx edi, r12w
test rcx, rcx
je 0x14003e0e9
movzx r9d, al
lea r8, str.HandleAOUVerifyTrustImage_PopulateAMDCertificates_fail_with_return:__d
mov edx, 0x4000
call fcn.140040750
jmp 0x14003e0e9
movzx edi, word [rbp - 7]
xor eax, eax
cmp ax, di
je 0x14003e0e9
cmp word [rbp + 0x79], di
je 0x14003e0e9
mov rcx, qword [0x1400da5d8]
movzx edi, ax
test rcx, rcx
je 0x14003e0e9
lea r8, str.HandleAOUVerifyTrustImage_PopulateAMDCertificates_fail_with_return_two_different_KmdCertificateSizeInBytes
mov edx, 0x4000
call fcn.140040750
movzx ebx, word [rbp - 9]
mov ecx, 0x40
call fcn.14004feec
mov r12, rax
test rax, rax
je 0x14003e23e
lea r8, [rbp + 0x7f]
mov rdx, rax
mov rcx, r15
call fcn.14003da50
test eax, eax
js 0x14003e23e
jle 0x14003e165
mov rcx, r12
call fcn.14004fef4
mov ecx, dword [rbp + 0x7f]
mov eax, 4
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14004feec
mov r12, rax
test rax, rax
je 0x14003e23e
lea r8, [rbp + 0x7f]
mov rdx, rax
mov rcx, r15
call fcn.14003da50
test eax, eax
jne 0x14003e23e
mov rcx, qword [0x1400da5d8]
mov r14d, dword [rbp + 0x7f]
test rcx, rcx
je 0x14003e1b1
movzx edx, word [rbp - 0x11]
mov eax, dword [rbp - 0xd]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], edx
mov edx, 0x4000
movzx r9d, bx
movzx r8d, di
mov dword [rsp + 0x28], r8d
lea r8, str.Certificate::HandleAOUVerifyTrustImageadapter_number:__lu__AouCertificateSizeInBytes:__lu__KmdCertificateSizeInBytes:__lu__SizeInBytes:__lu__VerifyToken:__lu
mov dword [rsp + 0x20], r9d
mov r9d, r14d
call fcn.140040750
mov rcx, qword [0x1400da5d8]
xor eax, eax
mov ebx, eax
test r14d, r14d
je 0x14003e236
movzx r15d, word [rbp - 0x11]
mov rdi, r12
xor r13d, r13d
test rcx, rcx
je 0x14003e1e4
mov eax, dword [rdi]
lea r8, str.Certificate::HandleAOUVerifyTrustImageindex:__u__adapter:__d
mov r9d, ebx
mov dword [rsp + 0x20], eax
mov edx, 0x4000
call fcn.140040750
movzx eax, word [rbp - 0x31]
lea rcx, [rbp - 0x31]
mov edx, dword [rdi]
mov r9d, 0x300d201
mov qword [rsp + 0x40], rcx
mov r8d, 1
mov rcx, qword [0x1400da5f8]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r13d
call fcn.1400131f0
inc ebx
add rdi, 4
cmp ebx, r14d
jae 0x14003e232
mov rcx, qword [0x1400da5d8]
jmp 0x14003e1c5
mov r13, qword [rbp - 0x39]
mov r14, qword [rbp - 0x49]
mov byte [rbp + 0x6f], 1
mov rcx, rsi
call fcn.14004fef4
mov rcx, r14
call fcn.14004fef4
test r13, r13
je 0x14003e25b
mov rcx, r13
call fcn.14004fef4
test r12, r12
je 0x14003e29c
mov rcx, r12
call fcn.14004fef4
jmp 0x14003e29c
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14003e29c
lea r8, str.HandleAOUVerifyTrustImage_failed_because_the_image_path_is_invalid.
jmp 0x14003e292
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14003e29c
lea r8, str.HandleAOUVerifyTrustImage_failed_because_the_input_is_invalid.
mov edx, 0x4000
call fcn.140040750
movzx eax, byte [rbp + 0x6f]
mov rbx, qword [rsp + 0x100]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
sub rsp, 0x458
xor edx, edx
mov dword [rsp + 0x240], 0x210
mov r8d, 0x208
lea rcx, [rsp + 0x248]
call fcn.1400514f0
xor edx, edx
mov dword [rsp + 0x30], 0x210
mov r8d, 0x208
lea rcx, [rsp + 0x38]
call fcn.1400514f0
lea rcx, [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jne 0x14003fe2e
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [0x1400d9208], xmm0
jmp 0x14003fe35
movups xmm0, xmmword [0x1400d9208]
mov rcx, qword [0x1400da398]
mov edx, 0xa3
mov dword [rsp + 0x44], 0x20
movups xmmword [rsp + 0x228], xmm0
mov dword [rsp + 0x224], 4
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rsp + 0x238], rax
test rax, rax
jne 0x14003fe92
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14003fe92
lea r8, str.LoadIcon_in_AddNotificationIcon___failed
mov edx, 0x80000000
call fcn.140040750
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
cmp eax, 1
je 0x14003fec1
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14003fec1
lea r8, str.First_Shell_NotifyIcon_in_AddNotificationIcon___failed
mov edx, 0x80000000
call fcn.140040750
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x1e0], 4
mov ecx, 4
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
cmp eax, 1
je 0x14003ff2b
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140040056
lea r8, str.Second_Shell_NotifyIcon_in_AddNotificationIcon___failed
mov edx, 0x80000000
call fcn.140040750
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140040056
lea r8, str.AddNotificationIcon_failed
mov edx, 0x80000000
call fcn.140040750
add rsp, 0x458
ret
movups xmm0, xmmword [0x1400d9208]
lea rcx, str.atimuixx.dll
mov qword [rsp + 0x450], rbx
mov dword [rsp + 0x254], 0x30
movups xmmword [rsp + 0x438], xmm0
mov dword [rsp + 0x434], 0x24
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x14003ffba
mov r9d, 0x100
lea r8, [rsp + 0x2f0]
mov rcx, rax
lea edx, [r9 - 0x5b]
call qword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
jne 0x14003ffaf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14003ffaf
lea r8, str.LoadString_in_ShowBadPageMessage___failed
mov edx, 0x80000000
call fcn.140040750
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x14003ffd7
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14003ffd7
lea r8, str.LoadLibrary_in_ShowBadPageMessage___failed
mov edx, 0x80000000
call fcn.140040750
mov rcx, qword [0x1400da398]
mov edx, 0xa4
call qword [sym.imp.USER32.dll_LoadIconA]
mov rbx, qword [rsp + 0x450]
mov qword [rsp + 0x448], rax
test rax, rax
jne 0x140040021
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140040021
lea r8, str.LoadIcon_in_ShowBadPageMessage___failed
mov edx, 0x80000000
call fcn.140040750
lea rdx, [rsp + 0x240]
mov ecx, 1
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
cmp eax, 1
je 0x140040056
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140040056
lea r8, str.Shell_NotifyIcon_in_ShowBadPageMessage___failed
mov edx, 0x80000000
call fcn.140040750
add rsp, 0x458
ret
sub rsp, 0x28
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 0
call qword [sym.imp.dwmapi.dll_DwmIsCompositionEnabled]
test eax, eax
jne 0x140041d24
cmp dword [rsp + 0x30], eax
je 0x140041d24
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.1400434e0
test eax, eax
je 0x140042586
lea rcx, [rsp + 0x30]
call fcn.140043520
lea rcx, [rsp + 0x30]
call fcn.140043470
add rsp, 0x28
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov esi, edx
mov r14d, edx
mov edx, ecx
mov edi, r8d
mov rcx, qword [0x1400da5f8]
lea r8, [rbp + 0x110]
xor ebx, ebx
call fcn.14001abe0
mov rcx, qword [0x1400da5d8]
test eax, eax
jne 0x1400471a2
test rcx, rcx
je 0x140047183
lea r8, str.EnableUnsafeModes_GetDisplayNameByAdapterIndex_failed.
mov edx, 0x8000
call fcn.140040750
xor eax, eax
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
xorps xmm0, xmm0
xor eax, eax
mov qword [rbp - 0x40], rax
mov r15d, 0x9c
mov dword [rbp - 0x38], eax
movups xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x54], r15w
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
test rcx, rcx
je 0x140047200
mov r9d, esi
mov dword [rsp + 0x20], edi
lea r8, str.Wanted_mode_widht___d__mode_height___d.
mov edx, 0x8000
call fcn.140040750
lea r8, [rbp + 0x70]
mov edx, 0xffffffff
lea rcx, [rbp + 0x110]
call qword [sym.imp.USER32.dll_EnumDisplaySettingsA]
test eax, eax
je 0x1400472a8
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140047294
mov eax, dword [rbp + 0xe0]
lea r8, str.mode_widht___d__mode_height___d.
mov r9d, dword [rbp + 0xdc]
mov edx, 0x8000
mov dword [rsp + 0x20], eax
call fcn.140040750
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140047294
mov r9d, dword [rbp + 0x98]
lea r8, str.dmFields__0x_x.
mov edx, 0x8000
call fcn.140040750
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140047294
mov r9d, dword [rbp + 0xa4]
lea r8, str.Display_DUMMYSTRUCTNAME2_dmOientation___d.
mov edx, 0x8000
call fcn.140040750
mov eax, dword [rbp + 0xa4]
dec eax
test eax, 0xfffffffd
jne 0x1400472a8
mov r14d, edi
mov edi, esi
lea r8, [rsp + 0x30]
xor edx, edx
lea rcx, [rbp + 0x110]
call qword [sym.imp.USER32.dll_EnumDisplaySettingsA]
test eax, eax
jle 0x140047183
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x1400472f9
mov eax, dword [rbp - 0x60]
lea r8, str.indx___d__mode_widht___d__mode_height___d.
mov dword [rsp + 0x28], eax
mov r9d, ebx
mov eax, dword [rbp - 0x64]
mov edx, 0x8000
mov dword [rsp + 0x20], eax
call fcn.140040750
mov rcx, qword [0x1400da5d8]
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movaps xmm2, xmmword [rbp - 0x70]
mov eax, dword [rbp - 0x38]
movaps xmmword [rbp - 0x30], xmm0
movaps xmm0, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x10], xmm0
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rbp - 0x20], xmm1
movaps xmm1, xmmword [rsp + 0x60]
movaps xmmword [rbp + 0x10], xmm0
movaps xmm0, xmmword [rbp - 0x60]
movaps xmmword [rbp], xmm1
movaps xmm1, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x30], xmm2
psrldq xmm2, 0xc
mov dword [rbp + 0x68], eax
movd eax, xmm2
movaps xmmword [rbp + 0x40], xmm0
movsd xmm0, qword [rbp - 0x40]
movaps xmmword [rbp + 0x20], xmm1
movaps xmm1, xmmword [rbp - 0x50]
movsd qword [rbp + 0x60], xmm0
movaps xmmword [rbp + 0x50], xmm1
cmp eax, r14d
jne 0x14004736f
cmp dword [rbp - 0x60], edi
jne 0x14004736f
cmp dword [rbp - 0x58], 0x3c
je 0x1400473cd
xorps xmm0, xmm0
lea r8, [rsp + 0x30]
xor eax, eax
lea rcx, [rbp + 0x110]
movups xmmword [rsp + 0x50], xmm0
inc ebx
mov word [rsp + 0x54], r15w
mov edx, ebx
mov qword [rbp - 0x40], rax
movups xmmword [rsp + 0x30], xmm0
mov dword [rbp - 0x38], eax
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
call qword [sym.imp.USER32.dll_EnumDisplaySettingsA]
test eax, eax
jg 0x1400472c4
jmp 0x140047183
mov dword [rbp + 0x3c], r14d
mov dword [rbp + 0x40], edi
mov dword [rbp + 0x48], 0x3c
test rcx, rcx
je 0x1400473f1
lea r8, str.Only_replace_width_height_and_frequency_and_Keep_other_of_all_information
mov edx, 0x8000
call fcn.140040750
mov r9d, 0x40000009
mov qword [rsp + 0x20], 0
xor r8d, r8d
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x110]
call qword [sym.imp.USER32.dll_ChangeDisplaySettingsExA]
test eax, eax
je 0x140047441
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140047183
mov r9d, eax
lea r8, str.ChangeDisplaySettingsEx_failed_with_result___i.
mov edx, 0x8000
call fcn.140040750
jmp 0x140047183
mov eax, 1
jmp 0x140047185
push rsi
sub rsp, 0x30
mov esi, ecx
mov dword [rsp + 0x50], 0
mov ecx, 2
mov dword [rsp + 0x48], 0
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetDisplayConfigBufferSizes]
test eax, eax
jne 0x140047743
mov edx, dword [rsp + 0x50]
mov eax, 0x48
mul rdx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x58], rdi
mov rdi, 0xffffffffffffffff
cmovo rax, rdi
mov rcx, rax
call fcn.14004feec
mov edx, dword [rsp + 0x48]
mov rbx, rax
mov eax, 0x40
mul rdx
cmovo rax, rdi
mov rcx, rax
call fcn.14004feec
lea r9, [rsp + 0x48]
mov qword [rsp + 0x28], 0
mov r8, rbx
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
mov ecx, 2
mov rdi, rax
call qword [sym.imp.USER32.dll_QueryDisplayConfig]
test eax, eax
jne 0x1400476f6
mov dword [rdi + 0x20], esi
mov r9, rdi
mov dword [rbx + 0x30], esi
mov rdx, rbx
mov r8d, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x50]
mov dword [rsp + 0x20], 0x2a0
call qword [sym.imp.USER32.dll_SetDisplayConfig]
test eax, eax
je 0x140047721
cmp qword [0x1400da5d8], 0
je 0x140047721
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.HandleDLRCRRSwitch:_SetDisplayConfig_failed_with_error_code__d
jmp 0x14004770d
cmp qword [0x1400da5d8], 0
je 0x140047721
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.HandleDLRCRRSwitch:_QueryDisplayConfig_failed_with_error_code__d
mov rcx, qword [0x1400da5d8]
mov r9d, eax
mov edx, 0x8000
call fcn.140040750
mov rcx, rbx
call fcn.14004fef4
mov rcx, rdi
call fcn.14004fef4
mov rdi, qword [rsp + 0x58]
xor al, al
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rsi
ret
cmp qword [0x1400da5d8], 0
je 0x14004776e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1400da5d8]
lea r8, str.HandleDLRCRRSwitch:_GetDisplayConfigBufferSizes_failed_with_error_code__d
mov r9d, eax
mov edx, 0x60004004
call fcn.140040750
xor al, al
add rsp, 0x30
pop rsi
ret