Function at 0x14003c900
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x340
movaps xmmword [r11 - 0x38], xmm6
mov rax, qword [0x140106b98]
xor rax, rsp
mov qword [rsp + 0x320], rax
mov r12, rcx
mov qword [rsp + 0x48], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov qword [r11 - 0x238], r14
movdqa xmm0, xmmword [0x1400dbfa0]
movdqa xmmword [rsp + 0x140], xmm0
mov word [r11 - 0x238], r14w
lea r8d, [r14 + 0xc]
lea rdx, str.LocalAppData
lea rcx, [r11 - 0x238]
call fcn.1400099f0
movups xmm0, xmmword [0x1400e1ab0]
movaps xmmword [rsp + 0x150], xmm0
mov qword [rsp + 0x160], r14
movdqa xmm0, xmmword [0x1400dbfa0]
movdqa xmmword [rsp + 0x170], xmm0
mov word [rsp + 0x160], r14w
lea r8d, [r14 + 0xf]
lea rdx, str.LocalAppDataLow
lea rcx, [rsp + 0x160]
call fcn.1400099f0
movups xmm0, xmmword [0x1400e0cb0]
movaps xmmword [rsp + 0x180], xmm0
mov qword [rsp + 0x190], r14
movdqa xmm0, xmmword [0x1400dbfa0]
movdqa xmmword [rsp + 0x1a0], xmm0
mov word [rsp + 0x190], r14w
lea r8d, [r14 + 0xe]
lea rdx, str.RoamingAppData
lea rcx, [rsp + 0x190]
call fcn.1400099f0
movups xmm0, xmmword [0x1400e17e0]
movaps xmmword [rsp + 0x1b0], xmm0
mov qword [rsp + 0x1c0], r14
movdqa xmm0, xmmword [0x1400dbfa0]
movdqa xmmword [rsp + 0x1d0], xmm0
mov word [rsp + 0x1c0], r14w
lea r8d, [r14 + 0xb]
lea rdx, str.ProgramData
lea rcx, [rsp + 0x1c0]
call fcn.1400099f0
movups xmm0, xmmword [0x1400e14a0]
movaps xmmword [rsp + 0x1e0], xmm0
mov qword [rsp + 0x1f0], r14
movdqa xmm0, xmmword [0x1400dbfa0]
movdqa xmmword [rsp + 0x200], xmm0
mov word [rsp + 0x1f0], r14w
lea r8d, [r14 + 0xc]
lea rdx, str.ProgramFiles
lea rcx, [rsp + 0x1f0]
call fcn.1400099f0
movups xmm0, xmmword [0x1400e1a20]
movaps xmmword [rsp + 0x210], xmm0
mov qword [rsp + 0x220], r14
movdqa xmm0, xmmword [0x1400dbfa0]
movdqa xmmword [rsp + 0x230], xmm0
mov word [rsp + 0x220], r14w
lea r8d, [r14 + 0xb]
lea rdx, str.UserProfile
lea rcx, [rsp + 0x220]
call fcn.1400099f0
movups xmm0, xmmword [0x1400e11d0]
movaps xmmword [rsp + 0x240], xmm0
mov qword [rsp + 0x250], r14
movdqa xmm0, xmmword [0x1400dbfa0]
movdqa xmmword [rsp + 0x260], xmm0
mov word [rsp + 0x250], r14w
lea r8d, [r14 + 9]
lea rdx, str.Documents
lea rcx, [rsp + 0x250]
call fcn.1400099f0
movups xmm0, xmmword [0x1400e0800]
movaps xmmword [rsp + 0x270], xmm0
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], r14
lfence
lea ecx, [r14 + 0x50]
call fcn.14006b878
mov r13, rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x28], rax
lea r15, [rsp + 0x130]
movabs rbx, 0x333333333333333
nop
mov r9, r15
mov r8, r13
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x28]
call fcn.14003b0c0
movups xmm6, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
movsd qword [rsp + 0x90], xmm0
cmp byte [rsp + 0x90], 0
jne 0x14003cc37
cmp qword [rsp + 0x30], rbx
je 0x14003cfbe
mov rsi, qword [rsp + 0x28]
lea rax, [rsp + 0x28]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r14
lfence
mov ecx, 0x50
call fcn.14006b878
mov rdi, rax
mov qword [rsp + 0x58], rax
mov rdx, r15
lea rcx, [rax + 0x20]
call fcn.140020440
movups xmm0, xmmword [r15 + 0x20]
movups xmmword [rdi + 0x40], xmm0
mov qword [rdi], rsi
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rsi
mov word [rdi + 0x18], 0
mov qword [rsp + 0x58], r14
movaps xmmword [rsp + 0x60], xmm6
mov r8, rdi
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x28]
call fcn.14003df40
movabs rbx, 0x333333333333333
add r15, 0x30
lea rax, [rsp + 0x280]
cmp r15, rax
jne 0x14003cb80
lea r9, [0x14003c670]
mov edx, 0x30
lea r8d, [rdx - 0x29]
lea rcx, [rsp + 0x130]
call fcn.14006c750
mov qword [r12], r14
mov qword [r12 + 8], r14
lfence
mov ecx, 0x60
call fcn.14006b878
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [r12], rax
mov esi, 1
mov dword [rsp + 0x20], esi
mov rbx, qword [rsp + 0x28]
mov rbx, qword [rbx]
mov qword [rsp + 0x38], rbx
cmp byte [rbx + 0x19], 0
jne 0x14003ce94
lea rdx, [rbx + 0x20]
lea rcx, [rsp + 0xf8]
call fcn.140020440
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rsp + 0x118], xmm0
mov qword [rsp + 0x40], r14
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x118]
call sub.SHELL32.dll_SHGetKnownFolderPath
mov edx, eax
mov rax, qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rsp + 0x70], rax
mov rdi, qword [rsp + 0x40]
mov qword [rsp + 0x78], rdi
test edx, edx
js 0x14003cf29
mov qword [rsp + 0xd8], r14
mov qword [rsp + 0xe8], r14
mov qword [rsp + 0xf0], 7
mov word [rsp + 0xd8], r14w
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x14003cd40
mov rdx, rdi
lea rcx, [rsp + 0xd8]
call fcn.1400099f0
or esi, 2
mov dword [rsp + 0x20], esi
test rdi, rdi
je 0x14003cd71
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
lea r8, [rsp + 0xf8]
lea rdx, [rsp + 0xb0]
mov rcx, r12
call fcn.14003b730
mov rdi, qword [rax]
add rdi, 0x40
lea rax, [rsp + 0xd8]
cmp rdi, rax
je 0x14003cdcc
mov rcx, rdi
call fcn.140002890
movups xmm0, xmmword [rsp + 0xd8]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0xe8]
movups xmmword [rdi + 0x10], xmm1
mov edx, 7
mov word [rsp + 0xd8], r14w
jmp 0x14003cdd4
mov rdx, qword [rsp + 0xf0]
and esi, 0xfffffffd
mov dword [rsp + 0x20], esi
cmp rdx, 8
jb 0x14003ce1c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ce16
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003cfc4
call fcn.14006b8b4
nop
jmp 0x14003ce2f
lea rcx, [rsp + 0xf8]
call fcn.140002890
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14003ce6b
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14003ce63
cmp rbx, qword [rax + 0x10]
jne 0x14003ce63
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14003ce50
mov rbx, rax
jmp 0x14003cca5
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14003cca5
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x14003ce80
jmp 0x14003cca5
mov rax, qword [rsp + 0x28]
mov rdi, qword [rax + 8]
cmp byte [rdi + 0x19], 0
jne 0x14003cee5
nop dword [rax]
nop word [rax + rax]
mov r8, qword [rdi + 0x10]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.14003b040
mov rbx, rdi
mov rdi, qword [rdi]
lea rcx, [rbx + 0x20]
call fcn.140002890
mov edx, 0x50
mov rcx, rbx
call fcn.14006b8b4
cmp byte [rdi + 0x19], 0
je 0x14003ceb0
mov edx, 0x50
mov rcx, qword [rsp + 0x28]
call fcn.14006b8b4
mov rax, r12
mov rcx, qword [rsp + 0x320]
xor rcx, rsp
call fcn.14006b950
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lfence
lea rcx, [rsp + 0x280]
call fcn.1400331d0
mov rbx, rax
mov edx, dword [rsp + 0x118]
lea rcx, [rsp + 0x2a0]
call fcn.14001ec20
nop
mov r8, rax
lea rdx, str.Failed_to_get_known_folder
lea rcx, [rsp + 0x2c0]
call fcn.14001d1c0
nop
lea r8, str._path:
mov rdx, rax
lea rcx, [rsp + 0x2e0]
call fcn.14002b9b0
lfence
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x300]
call fcn.140024110
lfence
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.14001d890
lea rdx, [0x140103928]
lea rcx, [rsp + 0x98]
call fcn.14006db8c
nop
call fcn.140023590
nop
call fcn.14007ce08
int3