Function at 0x14003a720
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x1401dc478]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor esi, esi
mov dword [rsp + 0x30], esi
mov qword [rcx], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], sendto
mov byte [rcx], sil
mov dword [rsp + 0x30], 1
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
lea r9d, [rsi + 1]
lea r8d, [rsi + 0x1a]
lea rdx, [rbp - 0x40]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov qword [rsp + 0x58], rsi
test eax, eax
je 0x14003a7e8
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], sendto
mov byte [rsp + 0x58], sil
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14003a7c4
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x58]
call fcn.140016a00
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
jmp 0x14003a7fe
mov edx, select
mov qword [rsp + 0x70], rdx
mov rcx, rsi
mov qword [rsp + 0x68], rcx
mov byte [rsp + 0x58], cl
mov dword [rsp + 0x30], 3
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x14003a837
lea rax, [rcx + 1]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x58]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x58]
mov word [rax + rcx], 0x2f
lea rax, [rsp + 0x58]
jmp 0x14003a858
mov qword [rsp + 0x20], 1
lea r9, [0x1401835e0]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x58]
call fcn.14000ca40
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], sendto
mov byte [rax], 0
mov dword [rsp + 0x30], 7
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x70]
mov rax, rdx
sub rax, rcx
cmp rax, 0xa
jb 0x14003a8da
lea rax, [rcx + 0xa]
mov qword [rbp - 0x78], rax
lea rbx, [rsp + 0x78]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x78]
add rbx, rcx
mov r8d, 0xa
lea rdx, [0x140184838]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xa], 0
lea rax, [rsp + 0x78]
jmp 0x14003a8fb
mov qword [rsp + 0x20], 0xa
lea r9, [0x140184838]
xor r8d, r8d
lea edx, [r8 + 0xa]
lea rcx, [rsp + 0x78]
call fcn.14000ca40
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], sendto
mov byte [rax], 0
lea rax, [rbp - 0x68]
cmp rdi, rax
je 0x14003a980
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14003a96c
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14003a95d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003a9b2
mov rcx, r8
call fcn.140161d84
movups xmm0, xmmword [rsp + 0x38]
movups xmm1, xmmword [rsp + 0x48]
mov qword [rdi + 0x18], sendto
mov byte [rdi], 0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm1
jmp 0x14003a9bf
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x14003a9bf
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a9b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003a9b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140161d84
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x14003a9fe
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a9f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003a9f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140161d84
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], sendto
mov byte [rsp + 0x78], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14003aa4f
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003aa4a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003aa4a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140161d84
mov rax, rdi
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.1401623e0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret