Function at 0x1400f6b30
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x30], esi
mov qword [rcx], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], shutdown
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 + 0x38], rsi
test eax, eax
je 0x1400f6be7
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], shutdown
mov byte [rsp + 0x38], sil
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400f6bc3
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x38]
call fcn.14000d350
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
jmp 0x1400f6bfd
mov edx, select
mov qword [rsp + 0x50], rdx
mov rcx, rsi
mov qword [rsp + 0x48], rcx
mov byte [rsp + 0x38], cl
mov dword [rsp + 0x30], 3
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1400f6c36
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x38]
mov word [rax + rcx], 0x2f
lea rax, [rsp + 0x38]
jmp 0x1400f6c57
mov qword [rsp + 0x20], 1
lea r9, [0x140128b50]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x38]
call fcn.140005980
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], shutdown
mov byte [rax], 0
mov dword [rsp + 0x30], 7
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rax, rdx
sub rax, rcx
cmp rax, 5
jb 0x1400f6cdf
lea rax, [rcx + 5]
mov qword [rsp + 0x68], rax
lea rbx, [rsp + 0x58]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x58]
add rbx, rcx
mov r8d, 5
lea rdx, str.DYNEX
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 5], 0
lea rax, [rsp + 0x58]
jmp 0x1400f6d00
mov qword [rsp + 0x20], 5
lea r9, str.DYNEX
xor r8d, r8d
lea edx, [r8 + 5]
lea rcx, [rsp + 0x58]
call fcn.140005980
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], shutdown
mov byte [rax], 0
lea rax, [rsp + 0x78]
cmp rdi, rax
je 0x1400f6d83
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400f6d6f
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400f6d62
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400f6db6
mov rcx, r8
call fcn.140116250
movups xmm0, xmmword [rbp - 0x68]
movups xmm1, xmmword [rbp - 0x58]
mov qword [rdi + 0x18], shutdown
mov byte [rdi], 0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm1
jmp 0x1400f6dc3
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x1400f6dc3
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f6dbd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400f6dbd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140116250
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1400f6e03
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f6dfe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400f6dfe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140116250
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], shutdown
mov byte [rsp + 0x58], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x1400f6e56
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f6e51
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400f6e51
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140116250
mov rax, rdi
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret