Function at 0x140008fa0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 9], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x1402744d0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
mov qword [rbp - 1], rcx
xor edi, edi
mov dword [rbp - 0x39], edi
mov qword [rbp - 0x31], rdi
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], 7
mov word [rcx], di
mov dword [rbp - 0x39], 1
lea r9, [rbp - 0x31]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1401e5110]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x1400090b2
movdqa xmm0, xmmword [0x140203830]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], di
mov rdx, qword [rbp - 0x31]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140009030
lea rcx, [rbp + 0xf]
call fcn.14000c0a0
lea rax, [rbp + 0xf]
cmp rbx, rax
je 0x140009069
mov rcx, rbx
call fcn.140004dc0
movups xmm0, xmmword [rbp + 0xf]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x1f]
movups xmmword [rbx + 0x10], xmm1
jmp 0x1400091eb
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x1400091eb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400090a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009262
call fcn.1401589a4
jmp 0x1400091eb
mov edx, eax
lea rcx, [rbp + 0x2f]
call fcn.140004290
nop
mov r9d, 0x2f
lea r8, str.Getting_ProgramData_folder_failed__with_error:
xor edx, edx
mov rcx, rax
call fcn.14000ff20
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1f], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1f], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], send
mov byte [rax], 0
mov dword [rbp - 0x39], 3
mov r8d, 0x1c
lea rdx, str._n_trying_default_folder_path
lea rcx, [rbp + 0xf]
call fcn.14000c680
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x11], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x29], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x19], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], send
mov byte [rax], 0
mov dword [rbp - 0x39], 7
lea rcx, [rbp - 0x29]
call fcn.140006160
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 0x10
jb 0x14000918a
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009185
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009268
call fcn.1401589a4
movdqa xmm0, xmmword [0x140203840]
movdqu xmmword [rbp + 0x1f], xmm0
mov byte [rbp + 0xf], 0
mov rdx, qword [rbp + 0x47]
cmp rdx, 0x10
jb 0x1400091d6
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400091d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000925c
call fcn.1401589a4
mov r8d, send
lea rdx, str.C:ProgramData
mov rcx, rbx
call fcn.14000c0a0
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400091f8
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp word [rcx + rax*2 - 2], 0x5c
je 0x140009219
mov r8d, 1
lea rdx, [0x1401fd058]
mov rcx, rbx
call fcn.14000a4d0
mov r8d, send
lea rdx, str.AMDInstallUEP_
mov rcx, rbx
call fcn.14000a4d0
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, rbx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140158980
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14017c9e8
int3
call fcn.14017c9e8
nop
call fcn.14017c9e8
int3