Function at 0x140021460
Capabilities:
Enumerate gui resources

Disassembly:
push rbp
push rbx
push rsi
lea rbp, [rsp - 0x950]
sub rsp, 0xa50
mov rsi, rcx
mov rbx, rdx
lea rcx, [0x1400a2078]
call fcn.140029130
test eax, eax
jne 0x1400214b3
mov rcx, qword [0x1400a1fb0]
test rcx, rcx
je 0x1400214a6
lea r8, str._InstallFilterDriver_AcquireTheMutex_failed.
mov edx, 0x100
call fcn.140025e80
xor eax, eax
add rsp, 0xa50
pop rsi
pop rbx
pop rbp
ret
mov qword [rsp + 0xa70], rdi
lea rcx, [rsp + 0x40]
mov qword [rsp + 0xa48], r13
xor edx, edx
mov qword [rsp + 0xa40], r14
mov r8d, 0x200
xor r14d, r14d
mov r13d, r14d
call fcn.14002e170
xor edx, edx
lea rcx, [rbp + 0x740]
mov r8d, 0x200
call fcn.14002e170
xor edx, edx
mov dword [rbp + 0x980], r14d
mov r8d, 0x1ff
lea rcx, [rbp + 0x341]
lea edi, [r14 + 0x57]
call fcn.14002e170
movsd xmm0, qword [str.amdkmpfd]
lea rcx, str.dpinst.exe
movzx eax, byte [0x1400851a8]
movsd qword [rbp + 0x340], xmm0
mov byte [rbp + 0x348], al
call fcn.140020e00
test eax, eax
je 0x140021556
mov edx, eax
lea rcx, [0x140023230]
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x140021595
lea rcx, str.ATISetup.exe
call fcn.140020e00
test eax, eax
je 0x14002158c
mov rcx, qword [0x1400a1fb0]
test rcx, rcx
je 0x140021595
lea r9, str.ATISetup.exe
mov edx, 2
lea r8, str.IsProcessFound:__s_is_running.
call fcn.1400260c0
jmp 0x140021595
call fcn.140021a90
test eax, eax
je 0x14002159b
mov r13d, 1
lea rax, [rbp + 0x980]
mov r9, rbx
mov r8, rsi
mov qword [rsp + 0x20], rax
mov edx, 0x200
lea rcx, [rsp + 0x40]
call fcn.140020760
test eax, eax
jne 0x1400215f0
mov rcx, qword [0x1400a1fb0]
test rcx, rcx
je 0x1400215dd
lea r8, str._InstallFilterDriver_GetFilterInstallPath_failed.
mov edx, 0x100
call fcn.140025e80
lea rcx, [0x1400a2078]
call fcn.1400291f0
xor eax, eax
jmp 0x140021a18
lea rcx, [rsp + 0x40]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], r14b
jne 0x140021600
cmp rax, 0x1f3
jae 0x140021a03
cmp dword [0x1400a2104], r14d
jne 0x140021a03
cmp dword [0x1400a2054], r14d
jne 0x140021a03
lea rcx, [rsp + 0x40]
dec rcx
cmp dword [rbp + 0x980], r14d
je 0x140021670
cmp byte [rcx + 1], r14b
lea rcx, [rcx + 1]
jne 0x140021640
mov eax, dword [0x1400857d8]
movsd xmm0, qword [str._amdpfdun.inf]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
movzx eax, word [reloc.dwmapi.dll_Ordinal_102]
jmp 0x140021696
cmp byte [rcx + 1], r14b
lea rcx, [rcx + 1]
jne 0x140021670
mov eax, dword [0x140085440]
movsd xmm0, qword [str._amdkmpfd.inf]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
movzx eax, word [reloc.dwmapi.dll_Ordinal_102]
mov word [rcx + 0xc], ax
xor edx, edx
lea rcx, [rbp + 0x140]
mov r8d, 0x200
call fcn.14002e170
xor edx, edx
lea rcx, [rbp + 0x540]
mov r8d, 0x200
call fcn.14002e170
lea r9, [rbp + 0x340]
lea r8, [rbp + 0x540]
lea rdx, [rbp + 0x140]
lea rcx, [rsp + 0x40]
call fcn.14001fb60
test eax, eax
je 0x1400219e6
call fcn.140022040
mov ebx, eax
test eax, eax
je 0x140021737
lea rdx, str.amdkmpfd
lea rcx, [rbp + 0x140]
call fcn.140021d20
test eax, eax
je 0x140021737
mov rcx, qword [0x1400a1fb0]
test rcx, rcx
je 0x14002172f
lea r9, [rbp + 0x140]
mov edx, 2
lea r8, str.InstallFilterDriver:_binary_sound_same__skip_install__s__function_failed.
call fcn.1400260c0
mov edi, r14d
jmp 0x140021a03
lea rdx, [rsp + 0x30]
mov qword [rsp + 0xa78], r12
lea rcx, [rbp + 0x740]
mov dword [rbp + 0x988], r14d
mov dword [rsp + 0x30], 0x200
call fcn.1400203d0
mov r12d, eax
test ebx, ebx
je 0x140021800
cmp dword [0x1400a202c], 5
jl 0x1400217c2
mov ecx, 0x400
call fcn.14002c6a4
mov rsi, rax
test rax, rax
je 0x1400217da
mov rdx, rax
mov ecx, 0x400
call fcn.1400209c0
xor r8d, r8d
lea r9, [rbp + 0x988]
mov rcx, rsi
lea edx, [r8 + 4]
call qword [sym.imp.DIFXAPI.dll_DriverPackageUninstallA]
mov ebx, 1
mov rcx, rsi
test eax, eax
mov edi, eax
cmovne ebx, r14d
call fcn.14002c6ac
test ebx, ebx
je 0x1400217da
mov edx, 0xc
lea rcx, [rbp + 0x140]
call qword [sym.imp.DIFXAPI.dll_DriverPackagePreinstallA]
mov edi, eax
test eax, eax
je 0x140021800
mov rcx, qword [0x1400a1fb0]
test rcx, rcx
je 0x140021946
lea r8, str.InstallFilterDriver:_The_install_using_DriverPackagePreinstall_failed.
mov edx, 2
call fcn.1400260c0
jmp 0x14002193f
lea rax, [rbp + 0x140]
mov dword [rsp + 0x28], 0x200
mov r9d, 2
mov qword [rsp + 0x20], rax
lea r8, str.EeuPciFilterUnInstallPath
mov dword [rsp + 0x34], 1
lea rdx, str.SoftwareAMDEEU
mov rcx, 0xffffffff80000002
call fcn.140028f20
lea rax, [rbp + 0x540]
mov dword [rsp + 0x28], 0x200
mov r9d, 2
mov qword [rsp + 0x20], rax
lea r8, str.EeuClientPathForPciFilterUnInstall
mov rcx, 0xffffffff80000002
lea rdx, str.SoftwareAMDEEU
call fcn.140028f20
cmp dword [rbp + 0x980], r14d
lea rax, str._amdpfdun.inf
lea rdx, str._amdkmpfd.inf
cmovne rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
test rax, rax
je 0x1400218ce
mov byte [rax], r14b
lea r8, str.EeuPciFilterPackageInstallFolder
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 0x200
mov r9d, 2
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareAMDEEU
mov rcx, 0xffffffff80000002
call fcn.140028f20
lea rax, [rsp + 0x34]
mov dword [rsp + 0x28], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea r8, str.RebootPopUpRequiredFromEeu
mov rcx, 0xffffffff80000002
lea rdx, str.SoftwareAMDEEU
call fcn.140028f20
test eax, eax
jne 0x140021922
mov rcx, qword [0x1400a1fb0]
test rcx, rcx
je 0x140021922
lea r9, str.Write_RegValue_EEU_REBOOT_POP_UP_REQUIRED_failed.
mov edx, 0x60004005
lea r8d, [rax + 1]
call fcn.140025e10
xor r8d, r8d
lea r9, [rbp + 0x988]
lea rcx, [rbp + 0x140]
lea edx, [r8 + 0xc]
call qword [sym.imp.DIFXAPI.dll_DriverPackageInstallA]
mov edi, eax
mov rcx, qword [0x1400a1fb0]
test edi, edi
jne 0x1400219b3
mov dword [0x1400a2054], 1
mov dword [0x1400a2104], 1
test r12d, r12d
je 0x14002197a
mov edx, dword [rsp + 0x30]
lea rcx, [rbp + 0x740]
call fcn.140022840
mov rcx, qword [0x1400a1fb0]
cmp dword [0x1400a202c], 5
jge 0x140021994
mov ecx, 0x8086
call fcn.140019a70
mov rcx, qword [0x1400a1fb0]
test rcx, rcx
je 0x1400219c9
mov r9d, dword [rbp + 0x988]
lea r8, str.InstallFilterDriver:_The_install_using_DriverPackageInstall_is_ok__toReboot_d.
mov edx, 2
call fcn.1400260c0
jmp 0x1400219c9
test rcx, rcx
je 0x1400219c9
lea r8, str.InstallFilterDriver:_The_install_using_DriverPackageInstall_failed.
mov edx, 2
call fcn.1400260c0
cmp dword [0x1400a2104], r14d
mov r12, qword [rsp + 0xa78]
je 0x140021a03
test r13d, r13d
jne 0x140021a03
call fcn.140019510
jmp 0x140021a03
mov rcx, qword [0x1400a1fb0]
test rcx, rcx
je 0x140021a03
lea r8, str.InstallFilterDriver:_CreateInstallPackage_fails.
mov edx, 2
call fcn.1400260c0
lea rcx, [0x1400a2078]
call fcn.1400291f0
test edi, edi
sete r14b
mov eax, r14d
mov r13, qword [rsp + 0xa48]
mov rdi, qword [rsp + 0xa70]
mov r14, qword [rsp + 0xa40]
add rsp, 0xa50
pop rsi
pop rbx
pop rbp
ret