Function at 0x14002a820
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x540]
sub rsp, 0x640
mov r15, r8
mov ebx, edx
mov r14, rcx
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x140]
mov rsi, r9
call fcn.1400514f0
mov r13, qword [rbp + 0x5a0]
lea rcx, [rsp + 0x40]
xor r12d, r12d
mov dword [rbp + 0x598], ebx
xor edx, edx
mov dword [rbp + 0x588], r12d
mov r8d, 0x200
mov dword [rbp + 0x5a0], 4
mov dword [r13], r12d
mov edi, r12d
call fcn.1400514f0
mov dword [rsp + 0x30], ebx
test rsi, rsi
je 0x14002a8d2
cmp byte [rsi], dil
je 0x14002a8d2
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rsi + rax], dil
jne 0x14002a8b0
cmp rax, rbx
lea rcx, [rsp + 0x40]
mov r8, rbx
mov rdx, rsi
cmovbe r8, rax
call fcn.1400522d0
jmp 0x14002a90e
mov ebx, r12d
nop word [rax + rax]
mov rcx, qword [0x1400da5f8]
mov edx, ebx
call fcn.14001b070
test eax, eax
jne 0x14002a8fb
inc ebx
cmp ebx, 8
jb 0x14002a8e0
jmp 0x14002a90e
mov rcx, qword [0x1400da5f8]
lea r8, [rsp + 0x40]
mov edx, ebx
call fcn.14001bdf0
lea rax, [rbp + 0x5a0]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea r8, str.KMD_InstallUncertifiedPFD
lea rax, [rbp + 0x588]
mov rcx, 0xffffffff80000002
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call fcn.140043e50
mov ebx, 1
test eax, eax
jne 0x14002aab3
lea rax, [rbp + 0x5a0]
mov dword [rbp + 0x588], r12d
mov qword [rsp + 0x28], rax
lea r8, str.KMD_InstallUncertifiedPFD
lea rax, [rbp + 0x588]
xor r9d, r9d
lea rdx, [0x1400a65a8]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call fcn.140043e50
test eax, eax
jne 0x14002aab3
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14002a9ad
lea r8, str.GetUncertFilterInstallPath:_registry_key_not_present_in_both_GPU_and_EEU_registry_path_
lea edx, [rbx + 1]
call fcn.140040750
test r15, r15
je 0x14002a9b7
cmp byte [r15], dil
jne 0x14002a9c1
test rsi, rsi
je 0x14002aa3b
cmp byte [rsi], dil
je 0x14002aa3b
test rsi, rsi
je 0x14002a9fd
cmp byte [rsi], dil
je 0x14002a9fd
lea rax, [rbp + 0x598]
mov r9d, 2
mov qword [rsp + 0x28], rax
lea r8, str.amdkmpfd
mov rdx, rsi
mov qword [rsp + 0x20], r14
mov rcx, 0xffffffff80000002
call fcn.140043e50
cmp eax, ebx
cmove edi, ebx
test r15, r15
je 0x14002aa3b
test edi, edi
jne 0x14002aa3b
cmp byte [r15], r12b
je 0x14002aa3b
lea rax, [rbp + 0x598]
mov rdx, r15
mov qword [rsp + 0x28], rax
lea r9d, [rdi + 2]
lea r8, str.amdkmpfd
mov qword [rsp + 0x20], r14
mov rcx, 0xffffffff80000002
call fcn.140043e50
cmp eax, ebx
cmove edi, ebx
mov rcx, qword [0x1400da5f8]
test rcx, rcx
je 0x14002abb9
test edi, edi
jne 0x14002abbd
lea rdx, [rsp + 0x34]
call fcn.14001bc40
test eax, eax
je 0x14002abc4
mov rcx, qword [0x1400da5f8]
mov ebx, r12d
call fcn.14001b6a0
test eax, eax
je 0x14002ab65
nop dword [rax]
mov rcx, qword [0x1400da5f8]
mov edx, ebx
call fcn.14001b070
test eax, eax
je 0x14002aa9c
cmp ebx, dword [rsp + 0x34]
jne 0x14002ab62
mov rcx, qword [0x1400da5f8]
inc ebx
call fcn.14001b6a0
cmp ebx, eax
jb 0x14002aa80
jmp 0x14002ab65
cmp dword [rbp + 0x588], ebx
jne 0x14002a9ad
lea rax, [rsp + 0x30]
mov r9d, 2
mov qword [rsp + 0x28], rax
lea r8, str.amdpfdun
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], r14
mov rcx, 0xffffffff80000002
call fcn.140043e50
cmp eax, ebx
je 0x14002ab57
xor edx, edx
lea rcx, [rbp + 0x340]
mov r8d, 0x200
call fcn.1400514f0
movups xmm0, xmmword [str.c:program_filesAMD_amdpfdun]
mov edx, 0x200
lea rcx, [rbp + 0x340]
movups xmmword [r14], xmm0
movsd xmm1, qword [0x1400b1458]
movsd qword [r14 + 0x10], xmm1
mov eax, dword [0x1400b1460]
mov dword [r14 + 0x18], eax
movzx eax, word [0x1400b1464]
mov word [r14 + 0x1c], ax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x14002a9ad
movzx eax, byte [rbp + 0x340]
mov byte [r14], al
mov dword [r13], ebx
mov edi, ebx
jmp 0x14002aa3b
mov r12d, ebx
mov rcx, qword [0x1400da5f8]
lea r8, [rbp + 0x140]
mov edx, r12d
call fcn.14001bdf0
test eax, eax
je 0x14002abc4
lea rax, [rbp + 0x598]
mov r9d, 2
mov qword [rsp + 0x28], rax
lea r8, str.amdkmpfd
lea rdx, [rbp + 0x140]
mov qword [rsp + 0x20], r14
mov rcx, 0xffffffff80000002
call fcn.140043e50
cmp eax, 1
jne 0x14002abc4
mov edi, eax
jmp 0x14002abbd
test edi, edi
je 0x14002abc4
cmp byte [r14 + 1], 0x3a
je 0x14002ac35
movups xmm0, xmmword [str.c:program_filesAMD_amdkmpfd]
mov edx, 0x200
lea rcx, [rbp + 0x140]
movups xmmword [r14], xmm0
movsd xmm1, qword [0x1400b1478]
movsd qword [r14 + 0x10], xmm1
mov eax, dword [0x1400b1480]
mov dword [r14 + 0x18], eax
movzx eax, word [0x1400b1484]
mov word [r14 + 0x1c], ax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x14002ac18
movzx eax, byte [rbp + 0x140]
mov edi, 1
mov byte [r14], al
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14002ac35
lea r8, str.InstallFilterDriver:_The_path_from_the_registry_is_not_correct._Use_default_instead.
mov edx, 2
call fcn.140040750
mov rbx, qword [rsp + 0x680]
mov eax, edi
add rsp, 0x640
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret