Function at 0x180007a0c
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x30
mov rax, qword [0x18003e048]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor r14d, r14d
lea r9, [r11 - 0x18]
xor r8d, r8d
lea rcx, [0x18002fd58]
xor edx, edx
mov sil, r14b
call sub.SHELL32.dll_SHGetKnownFolderPath
mov ebx, eax
test eax, eax
jns 0x180007aa0
xor ecx, ecx
call fcn.18000af80
test al, al
je 0x180007a76
mov r8d, ebx
lea rdx, str.VM3DDevAPIRSLoadCCDAPI
lea rcx, str._s:_Unable_to_get_system_folder:_0x_08x_n
call fcn.18000a900
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18000cd80
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
mov rcx, qword [rsp + 0x20]
or r8, 0xffffffffffffffff
mov rax, r8
inc rax
cmp word [rcx + rax*2], r14w
jne 0x180007aac
lea ebx, [rax + 0xc]
mov eax, 2
mul rbx
cmovo rax, r8
mov rcx, rax
call fcn.180010d2c
mov rbp, rax
test rax, rax
jne 0x180007afc
xor ecx, ecx
call fcn.18000af80
test al, al
je 0x180007bfd
lea rdx, str.VM3DDevAPIRSLoadCCDAPI
lea rcx, str._s:_Unable_to_allocate_user32_path_buffer._n
call fcn.18000a900
jmp 0x180007bfd
mov r8, qword [rsp + 0x20]
mov rdx, rbx
mov rcx, rbp
call fcn.180010db4
lea r8, str.user32.dll
mov rdx, rbx
mov rcx, rbp
call fcn.180010d34
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x18003fd28], rax
mov rcx, rax
test rax, rax
jne 0x180007b64
call fcn.18000af80
test al, al
je 0x180007bfd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.VM3DDevAPIRSLoadCCDAPI
lea rcx, str._s:_Unable_to_load_user32.dll:__u_n
call fcn.18000a900
jmp 0x180007bfd
mov ebx, r14d
lea rdi, [0x18003e008]
mov rax, qword [rdi]
cmp qword [rax], r14
jne 0x180007c26
mov rdx, qword [rdi - 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
mov rax, qword [rdi]
mov qword [rax], rcx
mov rax, qword [rdi]
cmp qword [rax], r14
je 0x180007ba9
inc ebx
add rdi, 0x10
cmp ebx, 3
jae 0x180007bdb
mov rcx, qword [0x18003fd28]
jmp 0x180007b6e
xor ecx, ecx
call fcn.18000af80
test al, al
je 0x180007bd8
lea rax, section..data
mov r8d, ebx
add r8, r8
lea rdx, str.VM3DDevAPIRSLoadCCDAPI
lea rcx, str._s:_Unable_to_find__s_in_user32.dll._n
mov r8, qword [rax + r8*8]
call fcn.18000a900
cmp ebx, 3
jne 0x180007bf8
xor r8d, r8d
xor r9d, r9d
lea edx, [r8 + 1]
lea ecx, [rdx + 5]
call fcn.180008a6c
test al, al
je 0x180007c40
mov sil, 1
jmp 0x180007bfd
call fcn.18000a144
mov rcx, rbp
call fcn.180010d18
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test sil, sil
jne 0x180007c1e
cmp qword [0x18003fd28], r14
jne 0x180007c5a
mov al, sil
jmp 0x180007a78
mov r8d, 0xbb
lea rdx, str.d:_buildob_bora_18379147_bora_vmsoft_build_release_x64_svgawddm_srcdevapi_resolutionset.c
lea rcx, str.ASSERT__s:_d_n
call fcn.18000c450
int3
mov r8d, 0xc7
lea rdx, str.d:_buildob_bora_18379147_bora_vmsoft_build_release_x64_svgawddm_srcdevapi_resolutionset.c
lea rcx, str.VERIFY__s:_d_n
call fcn.18000c450
int3
mov r8d, 0xd1
lea rdx, str.d:_buildob_bora_18379147_bora_vmsoft_build_release_x64_svgawddm_srcdevapi_resolutionset.c
lea rcx, str.ASSERT__s:_d_n
call fcn.18000c450
int3