Function at 0x140007a50
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0xc0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x38], 0xfffffffffffffffe
mov qword [rbp - 8], 0
lea rcx, [0x1400b2c60]
lea r9, [rbp - 8]
xor edx, edx
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
je 0x140007aa7
lea rcx, [0x1400b2c21]
mov edx, 0x1b
call fcn.140031560
mov rsi, rax
mov rdi, rdx
jmp 0x140007cc2
mov r8, 0xffffffffffffffff
mov rdx, qword [rbp - 8]
nop word cs:[rax + rax]
cmp word [rdx + r8*2 + 2], 0
lea r8, [r8 + 1]
jne 0x140007ac0
lea rcx, [rbp - 0x50]
call fcn.140031ee0
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x140007cf3
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x40]
mov qword [rbp + 0x18], rcx
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
sub rcx, rdx
cmp rcx, 0xb
ja 0x140007b17
lea rcx, [rbp + 0x18]
mov r8d, 0xc
call fcn.140038890
mov rax, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x28]
movabs rcx, 0x74736f686376735c
mov qword [rax + rdx], rcx
mov dword [rax + rdx + 8], 0x6578652e
add rdx, 0xc
mov qword [rbp + 0x28], rdx
lea rdx, [0x1400b2c70]
lea rcx, [rbp - 0x50]
mov r8d, 0x1f
call fcn.14001f480
cmp dword [rbp - 0x50], 2
jne 0x140007bd6
mov rdx, qword [rbp - 0x48]
mov eax, edx
and eax, 3
cmp eax, 1
jne 0x140007bad
lea rax, [rdx - 1]
mov qword [rbp + 8], rax
mov rcx, qword [rdx - 1]
mov qword [rbp + 0x10], rdx
mov rax, qword [rdx + 7]
call qword [rax]
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 7]
mov rdx, qword [rax + 8]
test rdx, rdx
mov rsi, qword [rbp + 8]
je 0x140007b9a
mov r8, qword [rax + 0x10]
mov rcx, qword [rsi]
call fcn.140009c80
mov edx, 0x18
mov r8d, 8
mov rcx, rsi
call fcn.140009c80
lea rcx, [0x1400b2c00]
mov edx, 0x21
call fcn.140031560
mov rsi, rax
mov rdi, rdx
mov rdx, qword [rbp + 0x18]
test rdx, rdx
jne 0x140007caf
jmp 0x140007cc2
lea rcx, [rbp - 0x50]
lea rdx, [rbp + 0x18]
call fcn.140032170
mov rsi, qword [rbp - 0x48]
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea rdx, [0x1400b2c70]
lea rcx, [rbp - 8]
mov r8d, 0x1f
mov r9, rsi
call fcn.14001f840
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x140007c24
mov r8, rdx
not r8
shr r8, 0x3f
mov rcx, rsi
call fcn.140009c80
cmp qword [rbp - 8], 0
je 0x140007c5b
mov rdi, qword [rbp]
mov qword [rbp - 0x50], rdi
mov ecx, 8
mov edx, 8
call fcn.140009c70
test rax, rax
jne 0x140007c99
mov ecx, 8
mov edx, 8
call fcn.140039b30
jmp 0x140007d2c
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x28]
lea r8, [0x14003bc00]
mov r9d, 0x2ac00
call fcn.140006780
mov rdi, rax
test rax, rax
je 0x140007cd3
mov qword [rbp - 0x50], rdi
mov ecx, 8
mov edx, 8
call fcn.140009c70
test rax, rax
je 0x140007d1d
mov rsi, rax
mov qword [rax], rdi
lea rdi, fcn.1400033a0
mov rdx, qword [rbp + 0x18]
test rdx, rdx
je 0x140007cc2
mov rcx, qword [rbp + 0x20]
mov r8, rdx
not r8
shr r8, 0x3f
call fcn.140009c80
mov rax, rsi
mov rdx, rdi
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
mov rdx, qword [rbp + 0x18]
test rdx, rdx
je 0x140007cef
mov rcx, qword [rbp + 0x20]
mov r8, rdx
not r8
shr r8, 0x3f
call fcn.140009c80
xor esi, esi
jmp 0x140007cc2
lea rax, [0x1400b2c48]
mov qword [rsp + 0x20], rax
lea rcx, [0x14003bb50]
lea r9, fcn.140003900
lea r8, [rbp + 0x30]
mov edx, 0x2b
call fcn.140039f30
ud2
mov ecx, 8
mov edx, 8
call fcn.140039b30
ud2