Function at 0x14004dbd0
Capabilities:
Get common file path
Query environment variable

Disassembly:
jmp 0x1400a9b60
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x1401807c0]
xor rax, rsp
mov qword [rbp + 0x110], rax
xor r14d, r14d
movups xmm1, xmmword [0x1401234a8]
movaps xmmword [rsp + 0x30], xmm1
movups xmm0, xmmword [0x140123498]
movaps xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x1401234b8]
movaps xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [0x1401234c8]
movaps xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x1401234d8]
movaps xmmword [rsp + 0x70], xmm1
lea rdi, [rsp + 0x30]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r14
mov ecx, 0x50
call fcn.14011ac98
mov rbx, rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
lea rcx, [rax + 0x50]
mov qword [rbp - 0x68], rcx
mov r8d, 0x50
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
lea rsi, [rbx + 0x50]
mov qword [rbp - 0x70], rsi
mov rdi, qword [rbp - 0x78]
mov rbx, 0xffffffffffffffff
cmp rdi, rsi
je 0x1400a9d33
nop
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x20], xmm0
mov qword [rbp - 0x80], r14
lea r9, [rbp - 0x80]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
xorps xmm0, xmm0
test eax, eax
js 0x1400a9cec
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], r14
mov rdx, qword [rbp - 0x80]
mov r8, rbx
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400a9c70
lea rcx, [rbp - 0x40]
call fcn.140006350
nop
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rdx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x30]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x40]
cmova rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x60]
call fcn.140038980
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [rbp - 0x10], xmm1
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], 0
lea rcx, [rbp - 0x60]
call fcn.140004b20
nop
lea rcx, [rbp - 0x40]
call fcn.140004ab0
jmp 0x1400a9d0c
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
xor r8d, r8d
lea rdx, [0x1401520d9]
lea rcx, [rbp - 0x20]
call fcn.140001c50
nop
cmp qword [rbp - 0x10], 0
je 0x1400a9d1d
lea rcx, [rbp - 0x20]
call fcn.1400a9500
nop
lea rcx, [rbp - 0x20]
call fcn.140004b20
add rdi, 0x10
cmp rdi, rsi
jne 0x1400a9c30
mov r8d, 0x104
lea rdx, [rbp]
lea rcx, str.USERPROFILE
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x1400a9d8f
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea rax, [rbp]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400a9d61
mov r8, rbx
lea rdx, [rbp]
lea rcx, [rbp - 0x60]
call fcn.140001c50
nop
lea rcx, [rbp - 0x60]
call fcn.1400a9500
nop
lea rcx, [rbp - 0x60]
call fcn.140004b20
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400a9dd0
mov rdx, qword [rbp - 0x68]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a9dcb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a9dcb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011ab70
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.14011ab50
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret