Function at 0x140068ba0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x7a0]
sub rsp, 0x8a0
mov rax, qword [0x14018d030]
xor rax, rsp
mov qword [rbp + 0x798], rax
mov ebx, edx
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor esi, esi
mov dword [rsp + 0x60], esi
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x70]
call fcn.140130762
call fcn.140067ad0
test al, al
jne 0x140068d0e
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140068c5b
mov qword [rsp + 0x38], rsi
movdqa xmm0, xmmword [0x14016af30]
movdqu xmmword [rsp + 0x48], xmm0
lea rax, [rbp - 0x70]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140068c31
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x38]
call fcn.140006b20
mov byte [rsp + 0x58], 1
lea rax, [rsp + 0x38]
mov ebx, 5
jmp 0x140068c69
mov byte [rbp - 0x78], sil
lea rax, [rsp + 0x68]
mov ebx, 6
mov byte [rdi + 0x20], 0
cmp byte [rax + 0x20], 0
je 0x140068c94
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov byte [rdi + 0x20], 1
test bl, 2
je 0x140068cac
and ebx, 0xfffffffd
cmp byte [rbp - 0x78], 0
je 0x140068cac
lea rcx, [rsp + 0x68]
call fcn.140006ab0
test bl, 1
je 0x140068e29
cmp byte [rsp + 0x58], 0
je 0x140068e29
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140068e29
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068d04
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140068d04
call qword [0x140138140]
int3
call fcn.14012f24c
jmp 0x140068e29
mov qword [rsp + 0x30], rsi
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
lea rdx, [rsp + 0x30]
mov ecx, eax
call qword [0x140137fb8]
test eax, eax
je 0x140068d36
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
nop
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140068e01
mov qword [rsp + 0x38], rsi
movdqa xmm0, xmmword [0x14016af30]
movdqu xmmword [rsp + 0x48], xmm0
lea rax, [rbp - 0x70]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140068d75
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x38]
call fcn.140006b20
mov byte [rsp + 0x58], 1
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.140068e50
cmp byte [rsp + 0x58], 0
je 0x140068e23
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140068dec
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068de7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140068de7
call qword [0x140138140]
int3
call fcn.14012f24c
movdqa xmm0, xmmword [0x14016af30]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], si
jmp 0x140068e23
mov byte [rbp - 0x78], 0
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.140068e50
cmp byte [rbp - 0x78], 0
je 0x140068e23
lea rcx, [rsp + 0x68]
call fcn.140006ab0
nop
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rax, rdi
mov rcx, qword [rbp + 0x798]
xor rcx, rsp
call fcn.14012f1f0
mov rbx, qword [rsp + 0x8d0]
add rsp, 0x8a0
pop rdi
pop rsi
pop rbp
ret