Function at 0x14004d3c0
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc40
mov qword [rsp + 0x150], 0xfffffffffffffffe
mov r14d, edx
mov r12, rcx
cmp qword [rcx + 0x178], 0
je 0x14004fb9d
cmp edx, dword [0x1400e1a88]
jb 0x14004d426
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004fb9d
lea rcx, str.CATIExtEvent_OnMessageCode_EXIT:_ulDeviceIndex__d__is_INVALID_n
call fcn.14000cbb0
jmp 0x14004fb9d
cmp dword [0x1400df3cc], 0
je 0x14004d472
test byte [0x1400df4d4], 2
jne 0x14004d472
cmp qword [0x1400df4d8], 0
jne 0x14004d465
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004fb9d
lea rcx, str.CATIExtEvent_OnMessageCode_EXIT:_pSessionPipeService_is_NULL
call fcn.14000cbb0
jmp 0x14004fb9d
cmp dword [0x1400e2390], 0xffffffff
jne 0x14004fb9d
xor r13d, r13d
mov dword [rsp + 0x48], r13d
mov r9d, 1
mov dword [rsp + 0xc90], r9d
mov ebx, r13d
mov dword [rsp + 0x44], ebx
lea rsi, [0x1400e3da0]
lea r15, [0x140000000]
jmp 0x14004d504
mov ebx, dword [rsp + 0x44]
lea rsi, [0x1400e3da0]
jmp 0x14004d504
mov ebx, dword [rsp + 0x44]
lea rsi, [0x1400e3da0]
jmp 0x14004d504
mov ebx, dword [rsp + 0x44]
lea rsi, [0x1400e3da0]
jmp 0x14004d504
lea rsi, [0x1400e3da0]
jmp 0x14004d504
lea rsi, [0x1400e3da0]
jmp 0x14004d504
lea rsi, [0x1400e3da0]
jmp 0x14004d504
lea rsi, [0x1400e3da0]
jmp 0x14004d504
lea rsi, [0x1400e3da0]
jmp 0x14004d504
lea rsi, [0x1400e3da0]
jmp 0x14004d504
lea rsi, [0x1400e3da0]
test r9d, r9d
je 0x14004fb3b
cmp dword [0x1400df340], 0
je 0x14004d54c
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [0x1400e3e60]
call fcn.14002ccd0
mov edx, dword [0x1400dd138]
test dword [0x1400dd640], edx
je 0x14004fb9d
lea rcx, str.FAILURE:_OnMessageCode_g_ulPnPTrigger_n
call fcn.14000cbb0
jmp 0x14004fb9d
xor edx, edx
mov r8d, 0x230
lea rcx, [rsp + 0x160]
call fcn.14007cd30
mov dword [rsp + 0x160], 0x10
mov dword [rsp + 0x164], 0x40011b
mov dword [rsp + 0x168], r13d
mov dword [rsp + 0x170], 0x20
lea rcx, [rsp + 0x18c]
lea rax, [rsp + 0x390]
sub eax, ecx
mov dword [rsp + 0x188], eax
mov dword [rsp + 0xc98], r14d
mov edx, r14d
lea rcx, [0x1400e0890]
call fcn.14003a1c0
cmp dword [rax + 0x15c], 0
jne 0x14004d642
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004d5e0
mov edx, r14d
lea rcx, str.CDriverMessage::OnMessageCode:_ulDeviceIndex__d__is_disabled_n
call fcn.14000cbb0
mov edx, r14d
lea rcx, [0x1400e0890]
call fcn.14003a790
mov edx, eax
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0xc98]
xor r8d, r8d
lea rcx, [0x1400e0890]
call fcn.14003a3b0
mov edx, dword [rsp + 0xc98]
cmp edx, dword [0x1400e1a88]
jb 0x14004d649
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004fb9d
lea rcx, str.FAILURE:_EnumEnabledAtiDevIndexOnAdapter_return_INVALID_INDEX_n
call fcn.14000cbb0
jmp 0x14004fb9d
mov edx, dword [rsp + 0xc98]
lea rcx, [0x1400e0890]
call fcn.14003da90
mov rdi, rax
mov ecx, dword [0x1400dd138]
test dword [0x1400dd640], ecx
je 0x14004d67d
mov r8d, dword [rsp + 0xc98]
mov rdx, rax
lea rcx, str.CDriverMessage::OnMessageCode:_now_to_retrieve_from_device__s._index_d_n
call fcn.14000cbb0
lea rax, [rsp + 0x170]
mov qword [rsp + 0x20], rax
mov r9d, 0x220
lea r8, [rsp + 0x160]
mov edx, 0x30
mov rcx, rdi
call fcn.140030f90
mov edi, eax
test eax, eax
jne 0x14004fafd
mov edx, dword [0x1400dd138]
mov edi, dword [0x1400dd640]
test edi, edx
je 0x14004d6ff
test ebx, ebx
je 0x14004d6ca
call fcn.14000cbc0
jmp 0x14004d6dd
mov edx, dword [rsp + 0xc98]
lea rcx, [0x1400e0890]
call fcn.14003da90
mov r8, rax
mov edx, dword [rsp + 0x174]
lea rcx, str.Get_message_code__u_on_device__s
call fcn.14000cbb0
mov edi, dword [0x1400dd640]
mov edx, dword [0x1400dd138]
mov ecx, dword [rsp + 0x174]
test ecx, ecx
jne 0x14004d723
test edi, edx
je 0x14004fb3b
lea rcx, str.WARNING:_Got_invalid_message_code__something_must_be_wrong_
call fcn.14000cbb0
jmp 0x14004fb3b
test edi, edx
je 0x14004d748
mov edx, ecx
lea rcx, str.Got_MessageCode__i
call fcn.14000cbb0
mov ecx, dword [rsp + 0x174]
mov edi, dword [0x1400dd640]
mov edx, dword [0x1400dd138]
mov eax, ecx
and eax, 0xf000
cmp eax, 0x3000
jne 0x14004d77b
and ecx, 0xfff
lea r8, [rsp + 0x18c]
mov edx, ecx
mov rcx, r12
call fcn.14004a740
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
cmp ecx, 0x2401b
je 0x14004da08
cmp ecx, 0x2401c
je 0x14004da08
cmp ecx, 0x2401a
je 0x14004da08
cmp ecx, 0x24018
je 0x14004da08
cmp ecx, 0x24019
je 0x14004da08
cmp ecx, 0x24001
je 0x14004da08
cmp ecx, 0x24015
je 0x14004da08
cmp ecx, 0x24016
je 0x14004da08
cmp ecx, 0x24017
je 0x14004da08
cmp ecx, 0x15001
je 0x14004d858
cmp ecx, 0x10001
je 0x14004d858
cmp ecx, 0x10002
je 0x14004d858
cmp ecx, 0x11002
je 0x14004d858
cmp ecx, 0x1100a
je 0x14004d858
cmp ecx, 0x15002
je 0x14004d858
cmp eax, 0x4000
je 0x14004d858
cmp ecx, 0x1200a
je 0x14004d858
mov eax, ecx
and eax, 0x30000
cmp eax, 0x30000
je 0x14004d858
cmp ecx, 0x24012
je 0x14004d858
cmp ecx, 0x24013
je 0x14004d858
cmp ecx, 0x24007
je 0x14004d858
cmp ecx, 0x24008
jne 0x14004da08
mov rax, qword [r12 + 0x178]
test byte [rax + 0x338], 2
je 0x14004d89c
cmp ecx, 0x1200a
je 0x14004d89c
test edi, edx
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
mov edx, ecx
lea rcx, str.Got_message_0x_x_received__but_nothing_is_connected__do_not_show_CP_windows
call fcn.14000cbb0
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
cmp ecx, 0x11002
jne 0x14004d9de
cmp dword [0x1400df3a4], 0
je 0x14004d9b1
cmp dword [0x1400df3cc], 0
je 0x14004d8dc
mov eax, dword [0x1400df4d4]
test al, 4
mov r9d, dword [rsp + 0xc90]
jne 0x14004d504
test al, 2
je 0x14004d504
cmp dword [0x1400e3e70], 0
mov r9d, dword [rsp + 0xc90]
jne 0x14004d504
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], rsi
xor edx, edx
mov r8d, 0x11002
mov rcx, r12
call fcn.14004d120
mov edx, dword [0x1400e3e70]
mov rax, rdx
add rax, rax
cmp qword [rsi + rax*8], 0
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
mov dword [rsi + rax*8 + 8], 0x11002
add edx, r9d
mov dword [0x1400e3e70], edx
cmp qword [0x1400e3e78], 0
jne 0x14004d504
mov dword [rsp + 0x40], r13d
mov eax, dword [0x1400e18dc]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14004c960]
call fcn.14002d550
mov qword [0x1400e3e78], rax
test rax, rax
mov r9d, dword [rsp + 0xc90]
jne 0x14004d504
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004d504
lea rcx, str.CATIExtEvent._CmdLnProcessMonitorThread_Creation_failed_n
call fcn.14000cbb0
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor edx, edx
mov r8d, 0x11002
mov rcx, r12
call fcn.14004d120
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8d, ecx
xor edx, edx
mov rcx, r12
call fcn.14004d120
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov edx, dword [rsp + 0xc98]
lea rcx, [0x1400e0890]
call fcn.14003e420
mov rsi, rax
test rax, rax
jne 0x14004da4d
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004fb3b
mov edx, dword [rsp + 0xc98]
lea rcx, str.OnMessageCode:_GetAdapterInfoByDrv_failed_on_drv__d
call fcn.14000cbb0
jmp 0x14004fb3b
mov edx, dword [rsp + 0x174]
cmp edx, 0x12001
ja 0x14004ef28
cmp edx, 0x12001
je 0x14004ee19
lea eax, [rdx - 0x11003]
cmp eax, 0x27
ja case.0x14004f875.147479
mov ecx, dword [r15 + rax*4 + 0x4fbb0]
add rcx, r15
jmp rcx
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004daa2
lea rcx, str.Got_ATI_MESSAGECODE_DAL_MESSAGE_NEEDHARDWARERESCAN
call fcn.14000cbb0
call fcn.1400467a0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004dad5
lea rcx, str.Got_ATI_MESSAGECODE_DAL_MESSAGE_POWERPLAYSTATECHANGED
call fcn.14000cbb0
lea rcx, [0x1400df868]
call fcn.14001b450
test eax, eax
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
mov edx, dword [rsp + 0xc98]
lea rcx, [0x1400e0890]
call fcn.14003a1c0
lea rcx, [rax + 4]
xor r8d, r8d
lea edx, [r8 + 0x10]
call fcn.140065eb0
test eax, eax
je 0x14004db3b
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004db55
lea rcx, str.Successful_CWDDECI_DYNAMICSETTINGSUPDATE__CIUPDATE_POWER_CLK_CHANGE__call
call fcn.14000cbb0
jmp 0x14004db55
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004db55
lea rcx, str.FAILURE:_CWDDECI_DYNAMICSETTINGSUPDATE__CIUPDATE_POWER_CLK_CHANGE__call_failed
call fcn.14000cbb0
lea rcx, [0x1400df868]
call fcn.14001b4e0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004db8f
lea rcx, str.Got_ATI_MESSAGECODE_DAL_MESSAGE_EVENTPOWERMODEINFOCHANGED
call fcn.14000cbb0
call fcn.14000d5f0
test al, al
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jns 0x14004d504
call fcn.14000d4d0
mov r9d, eax
xor r8d, r8d
mov edx, dword [rsp + 0xc98]
mov rcx, qword [0x1400dd150]
call fcn.140016bd0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004dbf7
lea rcx, str.Got_ATI_MESSAGECODE_DAL_MESSAGE_POWERSOURCECHANGED
call fcn.14000cbb0
call fcn.14000d5f0
test al, al
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jns 0x14004d504
call fcn.14000d4d0
mov r9d, eax
mov r8d, 1
mov edx, dword [rsp + 0xc98]
mov rcx, qword [0x1400dd150]
call fcn.140016bd0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
or edx, 0xffffffff
lea rcx, [0x1400df630]
call fcn.14001afe0
test eax, eax
jne 0x14004dc9c
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
lea rcx, str.ATI_MESSAGECODE_DAL_MESSAGE_SHOW_POWERXPRESSSWITCH_POPUP:_failed_to_acquire_PX_mutex_lock
call fcn.14000cbb0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
lea rcx, [0x1400df630]
call fcn.14001af60
test eax, eax
je 0x14004dd6b
mov edi, dword [rsp + 0x174]
or edx, 0xffffffff
mov rcx, qword [r12 + 0x58]
call fcn.14002cdc0
cmp eax, 0xfffffffb
jne 0x14004dd01
mov r9d, 1
mov r8d, edi
mov edx, r9d
mov rcx, r12
call fcn.14004cc30
mov edi, eax
lea rcx, [r12 + 0x50]
mov rdx, qword [rcx]
call qword [rdx + 0x18]
test edi, edi
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jne 0x14004d504
xor eax, eax
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0xa0]
call fcn.140058670
mov edx, r13d
cmp dword [rsp + 0x174], 0x1101f
setne dl
add edx, 0x19
xor r9d, r9d
xor r8d, r8d
lea rcx, [rsp + 0xa0]
call fcn.140067080
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
lea rcx, str.ATI_MESSAGECODE_DAL_MESSAGE_SHOW_POWERXPRESSSWITCH_POPUP:_failed_to_unlock_PX_mutex
call fcn.14000cbb0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8d, edx
lea edx, [r9 + 1]
mov rcx, r12
call fcn.14004d120
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004ddf9
lea rcx, str.Got_ATI_MESSAGECODE_DAL_MESSAGE_POWERXPRESSSWITCH
call fcn.14000cbb0
cmp dword [0x1400df34c], 8
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jb 0x14004d504
cmp dword [0x1400df344], 0
lea rsi, [0x1400e3da0]
je 0x14004d504
mov dword [rsp + 0x40], r13d
call fcn.140067580
mov ecx, eax
call fcn.140067af0
test rax, rax
je 0x14004df34
cmp dword [0x1400e1cd8], 7
je 0x14004df34
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, str.PXandHCF
call fcn.1400582b0
cmp dword [rsp + 0x40], 1
jne 0x14004dec3
lea rcx, str.PX_LDASequence
call fcn.140058220
test eax, eax
jne 0x14004dec3
lea rcx, [rsp + 0x18c]
mov eax, dword [rcx]
mov dword [0x1400e3d88], eax
mov eax, dword [rcx + 4]
mov dword [0x1400e3d8c], eax
mov eax, dword [rcx + 8]
mov dword [0x1400e3d90], eax
mov eax, dword [rcx + 0xc]
mov dword [0x1400e3d94], eax
mov eax, dword [rcx + 0x10]
mov dword [0x1400e3d98], eax
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
cmp dword [rsp + 0x190], 2
jne 0x14004df13
cmp dword [0x1400e40e4], 0
jne 0x14004df13
bt dword [0x1400dd138], 0x10
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jae 0x14004d504
lea rcx, str.OnMessageCode:_not_ready_to_switch_yet__n
call fcn.14000cbb0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
lea rcx, [rsp + 0x18c]
call fcn.140056100
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
xor edx, edx
mov r8d, 0x620
lea rcx, [rsp + 0x620]
call fcn.14007cd30
mov dword [rsp + 0x628], 0x3e
lea rdx, [rsp + 0x630]
lea rcx, [rsp + 0x18c]
mov eax, dword [rcx]
mov dword [rdx], eax
mov eax, dword [rcx + 4]
mov dword [rdx + 4], eax
mov eax, dword [rcx + 8]
mov dword [rdx + 8], eax
mov eax, dword [rcx + 0xc]
mov dword [rdx + 0xc], eax
mov eax, dword [rcx + 0x10]
mov dword [rdx + 0x10], eax
mov dword [rsp + 0x620], 0x8001
mov dword [rsp + 0x624], 0x620
xor edx, edx
lea r8d, [rdx + 0x2c]
lea rcx, [rsp + 0xe0]
call fcn.14007cd30
mov dword [rsp + 0x30], 1
lea rax, [rsp + 0xc80]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2c
lea r9, [rsp + 0xe0]
mov r8d, 0x620
lea rdx, [rsp + 0x620]
lea rcx, str..pipeExtEventPipe_Service
call qword [sym.imp.KERNEL32.dll_CallNamedPipeA]
test eax, eax
je 0x14004fb9d
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14004fb9d
mov dword [rsp + 0x40], r13d
xor eax, eax
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0xc0]
call fcn.140058670
lea r9, [rsp + 0x40]
mov edx, 0x11
lea r8d, [rdx - 0x10]
lea rcx, [rsp + 0xc0]
call fcn.140067080
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov dword [rsp + 0x40], r13d
xor eax, eax
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], rax
lea rcx, [rsp + 0xe0]
call fcn.140058670
lea r9, [rsp + 0x40]
mov edx, 0x11
lea r8d, [rdx - 0xf]
lea rcx, [rsp + 0xe0]
call fcn.140067080
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004e0dc
lea rcx, str.Got_ATI_MESSAGECODE_DAL_MESSAGE_CONTROLLERCONFIGCHANGED
call fcn.14000cbb0
mov dword [rsp + 0x48], 1
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov dword [r12 + 0x180], 1
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004e11e
lea rcx, str.Got_ATI_MESSAGECODE_DAL_MESSAGE_EVENTENTERDDEXCLUSIVEMODE
call fcn.14000cbb0
cmp dword [0x1400df34c], 8
jae 0x14004e13a
mov edx, dword [rsp + 0xc98]
mov rcx, qword [0x1400dd148]
call fcn.140046030
mov rcx, qword [0x1400df3c0]
test rcx, rcx
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
cmp dword [0x1400df3cc], 0
lea rsi, [0x1400e3da0]
je 0x14004d504
mov edx, r13d
cmp dword [rsp + 0x188], 0
cmovne edx, dword [rsp + 0x18c]
call fcn.14001fa30
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov edx, dword [0x1400df3cc]
test edx, edx
je 0x14004e1bf
test byte [0x1400df4d4], 4
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jne 0x14004d504
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004e1df
lea rcx, str.Got_ATI_MESSAGECODE_DAL_MESSAGE_EVENTEXITFSDOS__bHandleATIMessageCode
call fcn.14000cbb0
mov edx, dword [0x1400df3cc]
mov dword [0x1400e3c7c], r13d
mov rcx, qword [0x1400df3c0]
test rcx, rcx
je 0x14004e357
test edx, edx
je 0x14004e357
call fcn.1400201d0
test eax, eax
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
cmp dword [0x1400e3d9c], 0
je 0x14004e284
mov dword [0x1400e3d9c], r13d
mov ecx, 0x1c
call fcn.14007de08
mov rdx, rax
mov ecx, dword [r15 + 0xe3c60]
mov dword [rax], ecx
mov ecx, dword [r15 + 0xe3c64]
mov dword [rax + 4], ecx
mov ecx, dword [r15 + 0xe3c68]
mov dword [rax + 8], ecx
mov ecx, dword [r15 + 0xe3c6c]
mov dword [rax + 0xc], ecx
mov ecx, dword [r15 + 0xe3c70]
mov dword [rax + 0x10], ecx
mov ecx, dword [r15 + 0xe3c74]
mov dword [rax + 0x14], ecx
mov eax, dword [r15 + 0xe3c78]
mov dword [rdx + 0x18], eax
mov rcx, rdx
call fcn.14004bc90
mov rcx, r12
call fcn.14004cba0
test eax, eax
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
mov dword [rsp + 0x80], 0xf
mov dword [rsp + 0x84], r9d
mov eax, dword [rsp + 0xc98]
mov dword [rsp + 0x88], eax
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x80]
mov rax, qword [rcx]
mov qword [rdx], rax
mov eax, dword [rcx + 8]
mov dword [rdx + 8], eax
lea rcx, [r12 + 0x20]
lea rdx, [rsp + 0x120]
call fcn.140039210
test eax, eax
je 0x14004e316
lea rcx, [0x1400e3e80]
call fcn.14001b1b0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
lea rcx, str.ExtEvent__m_ADCtaskQueue.Add_failed
call fcn.14000cbb0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
cmp qword [0x1400df390], 0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
mov dword [rsp + 0x40], r13d
lea r8, [rsp + 0x40]
mov edx, r9d
xor ecx, ecx
call fcn.14002f0e0
test eax, eax
jne 0x14004e3cd
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
lea rcx, str.OnMessageCode:_enter_FSDOS_exit._CheckConnectedDisplayEnabled_failed
call fcn.14000cbb0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
cmp dword [rsp + 0x40], 0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jne 0x14004d504
mov rcx, qword [0x1400df390]
call fcn.140006320
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov edx, dword [0x1400df3cc]
test edx, edx
je 0x14004e42d
test byte [0x1400df4d4], 4
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jne 0x14004d504
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004e44d
lea rcx, str.Got_ATI_MESSAGECODE_DAL_MESSAGE_EVENTENTERFSDOS__bHandleATIMessageCode
call fcn.14000cbb0
mov edx, dword [0x1400df3cc]
mov dword [0x1400e3c7c], 1
mov rcx, qword [0x1400df3c0]
test rcx, rcx
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
test edx, edx
lea rsi, [0x1400e3da0]
je 0x14004d504
call fcn.140020240
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
cmp edx, 0x1100c
jne 0x14004e4b6
mov dword [r12 + 0x180], r13d
mov dword [r12 + 0x184], r13d
mov rcx, qword [0x1400df3c0]
test rcx, rcx
je 0x14004e4f5
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004e4f5
mov edx, dword [rcx + 0xb28]
not edx
and edx, 1
lea rcx, str.Got_ATI_MESSAGECODE_DAL_MESSAGE__SAVEANDAPPLY_OR_EXIT_EXCLUSIVEMODE__bHandleATIMessageCode___u
call fcn.14000cbb0
mov edx, dword [rsp + 0x174]
mov rcx, qword [0x1400df3c0]
mov eax, dword [0x1400df3cc]
test eax, eax
je 0x14004e514
test byte [0x1400df4d4], 4
mov r9d, dword [rsp + 0xc90]
jne 0x14004d4fd
cmp edx, 0x1100c
jne 0x14004e54c
cmp dword [0x1400df34c], 8
jae 0x14004e54c
mov edx, dword [rsp + 0xc98]
mov rcx, qword [0x1400dd148]
call fcn.140046030
mov edx, dword [rsp + 0x174]
mov eax, dword [0x1400df3cc]
mov rcx, qword [0x1400df3c0]
test rcx, rcx
mov r9d, dword [rsp + 0xc90]
je 0x14004d4f4
test eax, eax
je 0x14004d4eb
mov edi, r9d
cmp edx, 0x1100c
jne 0x14004e600
cmp dword [rsp + 0x188], 0
je 0x14004e5ab
mov edx, dword [rsp + 0x18c]
call fcn.1400239e0
test eax, eax
jne 0x14004e5ab
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004e5a8
lea rcx, str.OnMessageCode:_exit_DDExclusivemode__screen_saver_is_running
call fcn.14000cbb0
mov edi, r13d
xor edx, edx
mov rcx, rsi
call fcn.1400471a0
bt eax, 0xd
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jae 0x14004d504
mov rcx, qword [0x1400df3c0]
call fcn.140020290
test eax, eax
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
test edi, edi
lea rsi, [0x1400e3da0]
je 0x14004d504
mov rcx, r12
call fcn.14004cba0
test eax, eax
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
mov eax, r9d
cmp dword [rsp + 0x174], 0x11007
mov ecx, 0xe
cmovne eax, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x64], r9d
mov eax, dword [rsp + 0xc98]
mov dword [rsp + 0x68], eax
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x60]
mov rax, qword [rcx]
mov qword [rdx], rax
mov eax, dword [rcx + 8]
mov dword [rdx + 8], eax
lea rcx, [r12 + 0x20]
lea rdx, [rsp + 0x110]
call fcn.140039210
test eax, eax
je 0x14004e698
lea rcx, [0x1400e3e80]
call fcn.14001b1b0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
lea rcx, str.ExtEvent__m_ADCtaskQueue.Add_failed
call fcn.14000cbb0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
cmp dword [0x1400df34c], 8
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jae 0x14004d504
mov rcx, qword [0x1400df3c0]
test rcx, rcx
lea rsi, [0x1400e3da0]
je 0x14004d504
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004e745
mov eax, dword [rcx + 0xb28]
test al, 2
jne 0x14004e72e
test r9b, al
jne 0x14004e72e
mov eax, r13d
jmp 0x14004e731
mov eax, r9d
mov edx, r13d
test eax, eax
sete dl
lea rcx, str.Got_ATI_MESSAGECODE_DAL_MESSAGE_EVENTUSERDEVICEPROFILESAVEONLY__bHandleATIMessageCode___u
call fcn.14000cbb0
mov edx, 2
mov rcx, qword [r12 + 0x178]
call fcn.140001970
mov rcx, qword [0x1400df3c0]
mov eax, dword [rcx + 0xb28]
test al, 2
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jne 0x14004d504
test r9b, al
lea rsi, [0x1400e3da0]
jne 0x14004d504
cmp dword [0x1400df3cc], 0
je 0x14004e7a8
test byte [0x1400df4d4], 4
lea rsi, [0x1400e3da0]
jne 0x14004d504
cmp dword [rsp + 0x188], 0
je 0x14004e7d5
mov edx, dword [rsp + 0x18c]
call fcn.14001f8b0
test eax, eax
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
mov rcx, r12
call fcn.14004cba0
test eax, eax
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
cmp dword [rsp + 0x174], 0x1100b
jne 0x14004e814
mov rax, qword [0x1400df3c0]
or dword [rax + 0xb28], 0x2000
jmp 0x14004e825
mov rax, qword [0x1400df3c0]
and dword [rax + 0xb28], 0xffffdfff
cmp dword [0x1400e3e54], 2
lea rsi, [0x1400e3da0]
jae 0x14004d504
mov dword [rsp + 0x90], r9d
mov dword [rsp + 0x94], 2
mov eax, dword [rsp + 0xc98]
mov dword [rsp + 0x98], eax
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x90]
mov rax, qword [rcx]
mov qword [rdx], rax
mov eax, dword [rcx + 8]
mov dword [rdx + 8], eax
lea rcx, [r12 + 0x20]
lea rdx, [rsp + 0x140]
call fcn.140039210
test eax, eax
je 0x14004e8b3
add dword [0x1400e3e54], 1
lea rcx, [0x1400e3e80]
call fcn.14001b1b0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
lea rcx, str.ExtEvent__m_ADCtaskQueue.Add_failed
call fcn.14000cbb0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov rcx, qword [0x1400df3c0]
test rcx, rcx
je 0x14004ea4c
cmp dword [0x1400df3a4], 0
je 0x14004ea4c
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004e952
mov eax, dword [rcx + 0xb28]
test al, 4
jne 0x14004e932
test al, 1
jne 0x14004e932
mov eax, r13d
jmp 0x14004e937
mov eax, 1
mov edx, r13d
test eax, eax
sete dl
lea rcx, str.Got_ATI_MESSAGECODE_DAL_MESSAGE_EVENTAPPLYUSERSELECTEDPROFILE__bHandleATIMessageCode___u
call fcn.14000cbb0
mov rcx, qword [0x1400df3c0]
mov eax, dword [rcx + 0xb28]
test al, 4
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jne 0x14004d504
test r9b, al
lea rsi, [0x1400e3da0]
jne 0x14004d504
mov rcx, r12
call fcn.14004cba0
test eax, eax
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
mov dword [rsp + 0x70], 0xb
mov eax, dword [rsp + 0x194]
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0xc98]
mov dword [rsp + 0x78], eax
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x70]
mov rax, qword [rcx]
mov qword [rdx], rax
mov eax, dword [rcx + 8]
mov dword [rdx + 8], eax
lea rcx, [r12 + 0x20]
lea rdx, [rsp + 0x130]
call fcn.140039210
test eax, eax
je 0x14004ea0b
lea rcx, [0x1400e3e80]
call fcn.14001b1b0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
lea rcx, str.ExtEvent__m_ADCtaskQueue.Add_failed
call fcn.14000cbb0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004ea66
lea rcx, str.Got_ATI_MESSAGECODE_DAL_MESSAGE_EVENTAPPLYUSERSELECTEDPROFILE__ADC_not_enabled__we_treat_this_as_HotKey_n
call fcn.14000cbb0
mov ebx, dword [rsp + 0x194]
cmp dword [0x1400df34c], 8
mov r9d, dword [rsp + 0xc90]
jb 0x14004d4ad
test ebx, ebx
je 0x14004d4a0
mov ecx, 8
call fcn.14007de08
mov rdi, rax
test rax, rax
mov r9d, dword [rsp + 0xc90]
je 0x14004d4ba
xor eax, eax
mov dword [rdi + 4], eax
mov dword [rdi], ebx
xor r9d, r9d
lea r8d, [rax + 1]
mov edx, dword [rsp + 0xc98]
mov rcx, rsi
call fcn.140019630
mov rcx, rsi
call fcn.140019620
test ebx, eax
je 0x14004ead8
mov dword [rdi + 4], 0x3e8
mov rcx, rdi
call fcn.140031e20
mov ebx, dword [rsp + 0x44]
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004eb43
lea rcx, str.Got_ATI_MESSAGECODE_DAL_MESSAGE_EVENTVIDEOMODEENTER_or_EXIT_n
call fcn.14000cbb0
lea rcx, [0x1400df868]
call fcn.14001b450
test eax, eax
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
mov edx, dword [rsp + 0xc98]
lea rcx, [0x1400e0890]
call fcn.14003da90
mov rcx, rax
xor r8d, r8d
lea edx, [r8 + 0x20]
call fcn.140065eb0
test eax, eax
je 0x14004eba8
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004ebc2
lea rcx, str.Successful_CWDDECI_DYNAMICSETTINGSUPDATE__CIUPDATE_TVVIDEOMODE_UPDATE__call
call fcn.14000cbb0
jmp 0x14004ebc2
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004ebc2
lea rcx, str.FAILURE:_CWDDECI_DYNAMICSETTINGSUPDATE__CIUPDATE_TVVIDEOMODE_UPDATE__call_failed
call fcn.14000cbb0
lea rcx, [0x1400df868]
call fcn.14001b4e0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
cmp dword [rsp + 0x188], 0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
mov ecx, 0x1c
call fcn.14007de08
mov rdi, rax
test rax, rax
je 0x14004ed64
lea rdx, [rsp + 0x18c]
mov ecx, dword [rdx]
mov dword [rax], ecx
mov ecx, dword [rdx + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rdx + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rdx + 0xc]
mov dword [rax + 0xc], ecx
mov ecx, dword [rdx + 0x10]
mov dword [rax + 0x10], ecx
mov eax, dword [rdx + 0x14]
mov dword [rdi + 0x14], eax
mov eax, dword [rdx + 0x18]
mov dword [rdi + 0x18], eax
cmp dword [rdi + 0x10], 8
jne 0x14004ecd4
mov edx, dword [rdi + 4]
lea rcx, [0x1400e0890]
call fcn.14003a6b0
mov rbx, rax
test rax, rax
jne 0x14004ecab
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
mov ebx, dword [rsp + 0x44]
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
lea rcx, str.FAILURE:_fail_to_get_adapter_info
call fcn.14000cbb0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
mov rcx, rax
call fcn.140019630
mov edx, dword [rdi + 0xc]
mov eax, dword [rbx + 0x1b0]
mov ecx, r13d
bt eax, edx
setb cl
add ecx, 1
mov dword [rdi + 0x10], ecx
cmp dword [0x1400e3c7c], 0
je 0x14004ed44
mov dword [0x1400e3d9c], 1
mov eax, dword [rdi]
mov dword [r15 + 0xe3c60], eax
mov eax, dword [rdi + 4]
mov dword [r15 + 0xe3c64], eax
mov eax, dword [rdi + 8]
mov dword [r15 + 0xe3c68], eax
mov eax, dword [rdi + 0xc]
mov dword [r15 + 0xe3c6c], eax
mov eax, dword [rdi + 0x10]
mov dword [r15 + 0xe3c70], eax
mov eax, dword [rdi + 0x14]
mov dword [r15 + 0xe3c74], eax
mov eax, dword [rdi + 0x18]
mov dword [r15 + 0xe3c78], eax
mov ebx, dword [rsp + 0x44]
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov rcx, rdi
call fcn.14004bc90
mov ebx, dword [rsp + 0x44]
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
lea rcx, str.FAILURE:_ATIMCODE_DEVICEPRESENT_allocation_failed
call fcn.14000cbb0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
lea rcx, str.ATI_MESSAGECODE_DAL_MESSAGE_MVPUREFRESH_called
call fcn.14000cbb0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8d, edx
lea edx, [r9 + 1]
mov rcx, r12
call fcn.14004d120
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004ee33
lea rcx, str.Got_ATI_MESSAGECODE_DAL_ACTION_POWERPLAYSET16BPP
call fcn.14000cbb0
lea rcx, [0x1400df868]
call fcn.14001b450
test eax, eax
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
xor edx, edx
mov r8d, 0x9c
lea rcx, [rsp + 0x430]
call fcn.14007cd30
mov word [rsp + 0x454], 0x9c
mov dword [rsp + 0x498], 0x10
mov dword [rsp + 0x458], 0x40000
mov edx, 2
lea rcx, [rsp + 0x430]
call qword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
test eax, eax
jne 0x14004eeee
xor edx, edx
lea rcx, [rsp + 0x430]
call qword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
test eax, eax
jne 0x14004eed2
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004ef08
lea rcx, str.Change_BPP_complete
call fcn.14000cbb0
jmp 0x14004ef08
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004ef08
lea rcx, str.FAILURE:_Change_BPP_failed
call fcn.14000cbb0
jmp 0x14004ef08
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004ef08
lea rcx, str.FAILURE:_Change_BPP_Test_failed
call fcn.14000cbb0
lea rcx, [0x1400df868]
call fcn.14001b4e0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
cmp edx, 0x24001
ja 0x14004f843
cmp edx, 0x24001
je 0x14004f7ac
add edx, 0xfffedffe
cmp edx, 0xf
ja case.0x14004f875.147479
mov ecx, dword [r15 + rdx*4 + 0x4fc50]
add rcx, r15
jmp rcx
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004ef76
lea rcx, str.Got_ATI_MESSAGECODE_DAL_ACTION_POWERPLAYSET32BPP
call fcn.14000cbb0
lea rcx, [0x1400df868]
call fcn.14001b450
test eax, eax
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
xor edx, edx
mov r8d, 0x9c
lea rcx, [rsp + 0x4d0]
call fcn.14007cd30
mov word [rsp + 0x4f4], 0x9c
mov dword [rsp + 0x538], 0x20
mov dword [rsp + 0x4f8], 0x40000
mov edx, 2
lea rcx, [rsp + 0x4d0]
call qword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
test eax, eax
jne 0x14004f031
xor edx, edx
lea rcx, [rsp + 0x4d0]
call qword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
test eax, eax
jne 0x14004f015
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004f04b
lea rcx, str.Change_BPP_complete
call fcn.14000cbb0
jmp 0x14004f04b
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004f04b
lea rcx, str.FAILURE:_Change_BPP_failed
call fcn.14000cbb0
jmp 0x14004f04b
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004f04b
lea rcx, str.FAILURE:_Change_BPP_Test_failed
call fcn.14000cbb0
lea rcx, [0x1400df868]
call fcn.14001b4e0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004f085
lea rcx, str.Got_ATI_MESSAGECODE_DAL_ACTION_SETDESKTOPRESOLUTION
call fcn.14000cbb0
lea rcx, [0x1400df868]
call fcn.14001b450
test eax, eax
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
xor edx, edx
mov r8d, 0x9c
lea rcx, [rsp + 0x390]
call fcn.14007cd30
mov word [rsp + 0x3b4], 0x9c
mov eax, dword [rsp + 0x18c]
mov dword [rsp + 0x404], eax
mov eax, dword [rsp + 0x190]
mov dword [rsp + 0x3fc], eax
mov eax, dword [rsp + 0x194]
mov dword [rsp + 0x400], eax
mov eax, dword [rsp + 0x198]
mov dword [rsp + 0x3f8], eax
mov eax, dword [rsp + 0x19c]
mov dword [rsp + 0x408], eax
mov dword [rsp + 0x3b8], 0x7c0000
mov edx, 2
lea rcx, [rsp + 0x390]
call qword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
test eax, eax
jne 0x14004f17b
xor edx, edx
lea rcx, [rsp + 0x390]
call qword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
test eax, eax
jne 0x14004f15f
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004f195
lea rcx, str.ChangeDisplaySettings_complete
call fcn.14000cbb0
jmp 0x14004f195
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004f195
lea rcx, str.FAILURE:_ChangeDisplaySettings_failed
call fcn.14000cbb0
jmp 0x14004f195
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004f195
lea rcx, str.FAILURE:_ChangeDisplaySettings_failed_on_CDS_TEST
call fcn.14000cbb0
lea rcx, [0x1400df868]
call fcn.14001b4e0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004f1cf
lea rcx, str.ATI_MESSAGECODE_DAL_ACTION_SETSAMEDESKTOPRESOLUTION
call fcn.14000cbb0
cmp dword [0x1400df3bc], 0
je 0x14004f266
lea rcx, [0x1400df868]
call fcn.14001b450
test eax, eax
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
cmp dword [0x1400df34c], 8
jae 0x14004f228
mov edx, dword [rsp + 0xc98]
lea rcx, [0x1400e0890]
call fcn.14003a1c0
lea rcx, [rax + 4]
mov dl, 1
call fcn.14006acd0
jmp 0x14004f246
mov edx, dword [rsp + 0xc98]
lea rcx, [0x1400e0890]
call fcn.14003a1c0
lea rcx, [rax + 4]
xor edx, edx
call fcn.14006acd0
lea rcx, [0x1400df868]
call fcn.14001b4e0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
lea rcx, str._ATI_MESSAGECODE_DAL_ACTION_SETSAMEDESKTOPRESOLUTION_ignored_before_ADC_logon____n
call fcn.14000cbb0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004f2a0
lea rcx, str.ATI_MESSAGECODE_DAL_ACTION_SWITCHTOSPECDESKTOMODE
call fcn.14000cbb0
cmp dword [rsp + 0x188], 0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
lea rcx, [0x1400df868]
call fcn.14001b450
test eax, eax
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
mov r8d, dword [rsp + 0xc98]
mov edx, dword [rsp + 0x18c]
mov rcx, r12
call fcn.14004bf20
lea rcx, [0x1400df868]
call fcn.14001b4e0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004f331
lea rcx, str.ATI_MESSAGECODE_DAL_ACTION_INTERRUPTIDENTIFIER
call fcn.14000cbb0
cmp dword [rsp + 0x188], 8
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jne 0x14004d504
mov r8, qword [rsp + 0x18c]
test r8, r8
lea rsi, [0x1400e3da0]
je 0x14004d504
mov edx, dword [rsp + 0xc98]
mov rcx, qword [0x1400dd148]
call fcn.140046460
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004f3a7
lea rcx, str.Got_ATI_MESSAGECODE_DAL_ACTION_REMOVELARGEDESKTOPFROMPRIMARYADAPTER
call fcn.14000cbb0
call fcn.140003f30
test eax, eax
mov r9d, dword [rsp + 0xc90]
je 0x14004d4d9
cmp qword [0x1400df388], 0
je 0x14004d4d0
cmp qword [0x1400df3c0], 0
je 0x14004f3ee
xor edx, edx
mov rcx, rsi
call fcn.1400471a0
test al, 2
mov r9d, dword [rsp + 0xc90]
jne 0x14004d4e2
mov rcx, rsi
call fcn.140047180
bt eax, 0x11
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jae 0x14004d504
mov edx, r9d
lea rcx, [0x1400e0890]
call fcn.14003ae20
xor r9d, r9d
mov edx, 0x4d3
mov r8d, 0x3e8
mov rcx, qword [0x1400df388]
call qword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [0x1400dd138]
test dword [0x1400dd640], edx
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
lea rcx, str.Timer_for_large_desktop_R_S_support_was_created
call fcn.14000cbb0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004f494
lea rcx, str.Got_ATI_MESSAGECODE_DAL_ACTION_SETCLONEMODE
call fcn.14000cbb0
cmp qword [0x1400df3c0], 0
je 0x14004f4bf
xor edx, edx
mov rcx, rsi
call fcn.1400471a0
test al, 2
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jne 0x14004d504
xor r9d, r9d
mov edx, 0x14c9
mov r8d, 0x3e8
mov rcx, qword [0x1400df388]
call qword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [0x1400dd138]
test dword [0x1400dd640], edx
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
lea rcx, str.Timer_for_Psudo_large_desktop_R_S_support_was_created
call fcn.14000cbb0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004f535
lea rcx, str.Got_ATI_MESSAGECODE_DAL_ACTION_SMARTSAVE_BEGIN_n
call fcn.14000cbb0
lea rcx, [0x1400df868]
call fcn.14001b450
test eax, eax
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
mov edx, dword [rsp + 0xc98]
mov rcx, r12
call fcn.14004a9f0
lea rcx, [0x1400df868]
call fcn.14001b4e0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004f5a1
lea rcx, str.Got_ATI_MESSAGECODE_DAL_ACTION_OVERDRIVECHANGED_n
call fcn.14000cbb0
mov edx, dword [rsp + 0xc98]
mov rcx, qword [0x1400dd148]
call fcn.140045d00
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
lea rcx, str.Got_ATI_MESSAGECODE_DAL_ACTION_OSGDIGMMAACTIVE__or_EXIT_n
call fcn.14000cbb0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
cmp dword [0x1400df34c], 8
mov r9d, dword [rsp + 0xc90]
jb 0x14004d4c7
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004f638
lea rcx, str.Force_OS_Mode_enumeration
call fcn.14000cbb0
call fcn.140032730
mov edx, dword [rsp + 0xc98]
lea rcx, [0x1400e0890]
call fcn.14003da90
mov rcx, rax
mov r8d, dword [rsp + 0x19c]
mov edx, dword [rsp + 0x198]
call fcn.140046cf0
mov ecx, 0x1388
call fcn.140032750
mov edx, dword [rsp + 0x194]
mov rcx, rsi
call fcn.140019da0
mov ecx, dword [rax + 4]
mov eax, dword [rsp + 0x190]
cmp eax, 1
jne 0x14004f6d8
test ecx, ecx
je 0x14004f6a0
cmp ecx, eax
je 0x14004f6a0
cmp ecx, 4
jne 0x14004f753
mov edx, dword [rsp + 0xc98]
lea rcx, [0x1400e0890]
call fcn.14003a1c0
lea rcx, [rax + 4]
call fcn.14006ac90
test eax, eax
je 0x14004f753
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
cmp eax, 3
jne 0x14004f753
lea ecx, [rax + 0x19]
call fcn.14007de08
mov rdx, rax
test rax, rax
je 0x14004f739
lea rdi, [rsp + 0x1a0]
mov ecx, dword [rdi]
mov dword [rax], ecx
mov ecx, dword [rdi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rdi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rdi + 0xc]
mov dword [rax + 0xc], ecx
mov ecx, dword [rdi + 0x10]
mov dword [rax + 0x10], ecx
mov eax, dword [rdi + 0x14]
mov dword [rdx + 0x14], eax
mov eax, dword [rdi + 0x18]
mov dword [rdx + 0x18], eax
mov rcx, rdx
call fcn.14004bc90
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004f753
lea rcx, str.FAILURE:_ATIMCODE_DEVICEPRESENT_allocation_failed
call fcn.14000cbb0
mov edx, dword [rsp + 0xc98]
lea rcx, [0x1400e0890]
call fcn.14003a1c0
lea rcx, [rax + 4]
mov r8b, 1
xor edx, edx
call fcn.14006acf0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
lea rdx, [rsp + 0x18c]
mov ecx, r14d
call fcn.14004d1d0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov dword [rsp + 0x40], r13d
cmp dword [rsp + 0x19c], 0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
mov dword [0x1400df340], r9d
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, str.PXandHCF
call fcn.1400582b0
cmp dword [rsp + 0x40], 1
jne 0x14004f831
lea r8, [rsp + 0x18c]
lea rdx, [rsp + 0x18c]
lea rcx, str.PX_LDASequence
call fcn.1400574e0
mov edx, dword [0x1400e3d8c]
cmp edx, 2
je 0x14004f820
cmp edx, 1
jne 0x14004fb9d
lea rcx, [0x1400e3d88]
call fcn.140056100
jmp 0x14004fb9d
lea rcx, [rsp + 0x18c]
call fcn.14004b8f0
jmp 0x14004fb9d
cmp edx, 0x41001
ja 0x14004fa7d
cmp edx, 0x41001
je 0x14004f9aa
lea eax, [rdx - 0x24015]
cmp eax, 7
ja case.0x14004f875.147479
mov ecx, dword [r15 + rax*4 + 0x4fc90]
add rcx, r15
jmp rcx
mov edx, dword [rsp + 0xc98]
lea rcx, [0x1400e0890]
call fcn.14003da90
mov rcx, rax
lea rdx, [rsp + 0x18c]
call fcn.1400649d0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov ecx, 1
call fcn.140064470
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
xor ecx, ecx
call fcn.140064470
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov edx, dword [rsp + 0xc98]
lea rcx, [0x1400e0890]
call fcn.14003da90
mov rcx, rax
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, [rsp + 0x18c]
mov edx, dword [rsp + 0x188]
call fcn.140030f90
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov edx, dword [rsp + 0xc98]
lea rcx, [0x1400e0890]
call fcn.14003da90
mov rcx, rax
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, [rsp + 0x18c]
mov edx, dword [rsp + 0x188]
call fcn.1400310e0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
cmp dword [0x1400df34c], 7
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jb 0x14004d504
mov ecx, edx
call fcn.14005daa0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
xor eax, eax
mov qword [rsp + 0x50], rax
mov word [rsp + 0x58], ax
xor edx, edx
mov r8d, 0xb0
lea rcx, [rsp + 0x570]
call fcn.14007cd30
mov dword [rsp + 0x578], 1
mov r8d, r14d
lea rdx, [0x1400a689c]
lea rcx, [rsp + 0x50]
call fcn.14007dc1c
mov dword [rsp + 0x570], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x588], rax
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
mov dword [rsp + 0x580], ecx
or edx, 0xffffffff
mov rcx, qword [r12 + 0x58]
call fcn.14002cdc0
cmp eax, 0xfffffffb
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jne 0x14004d504
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, [rsp + 0x570]
lea edx, [r9 + 1]
mov rcx, r12
call fcn.14004b440
lea rcx, [r12 + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
sub edx, 0x41002
je 0x14004fae4
cmp edx, 1
je 0x14004facb
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
je 0x14004d504
lea rcx, str.FAILURE:_Unspecified_MESSAGE_CODE_used
call fcn.14000cbb0
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
call fcn.140032450
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
call fcn.140032490
lea rsi, [0x1400e3da0]
mov r9d, dword [rsp + 0xc90]
jmp 0x14004d504
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004fb3b
test ebx, ebx
je 0x14004fb16
call fcn.14000cbc0
jmp 0x14004fb29
mov edx, dword [rsp + 0xc98]
lea rcx, [0x1400e0890]
call fcn.14003da90
mov r8d, edi
mov rdx, rax
lea rcx, str.No_more_message_or_CWDDECI_QUERYLASTDRIVERMESSAGE_failed_for_driver__s._ulReturn__d
call fcn.14000cbb0
cmp dword [rsp + 0x48], 0
je 0x14004fb9d
mov r8d, dword [r12 + 0x170]
test r8d, r8d
je 0x14004fb9d
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor edx, edx
lea ecx, [rdx + 0x10]
call qword [sym.imp.USER32.dll_BroadcastSystemMessageA]
cmp eax, 0xffffffff
jne 0x14004fb83
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004fb9d
lea rcx, str.FAILURE:_Failed_to_broadcast_controller_config_change_message
call fcn.14000cbb0
jmp 0x14004fb9d
mov eax, dword [0x1400dd138]
test dword [0x1400dd640], eax
je 0x14004fb9d
lea rcx, str.Controller_config_change_message_broadcasted
call fcn.14000cbb0
add rsp, 0xc40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret