Function at 0x14007b8e0
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
xor eax, eax
lea rbp, [rcx + 0x10]
mov word [rcx + 0x10], ax
lea r14, [rcx + 0x20]
mov r12, rcx
mov qword [rcx], rbp
mov rbx, rdx
lea rsi, [rsp + 0x40]
lea r13, [rsp + 0x30]
mov qword [rcx + 8], 0
mov rcx, r14
call fcn.140081290
xor eax, eax
mov qword [rsp + 0x30], rsi
mov rdi, qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov qword [rsp + 0x38], 0
mov edx, 0x400
mov word [rsp + 0x40], ax
nop dword [rax]
xor r8d, r8d
mov rcx, r13
call fcn.1400b8e60
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x38]
call rdi
mov edx, eax
cmp rdx, qword [rsp + 0x38]
ja 0x14007b948
test eax, eax
jne 0x14007b9b0
call fcn.1400ac4d0
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
mov qword [rbx + 8], rdi
mov rcx, qword [rsp + 0x30]
cmp rcx, rsi
je 0x14007b998
mov rax, qword [rsp + 0x40]
lea rdx, [rax + rax + 2]
call fcn.1400dc0f0
mov rax, r12
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor r8d, r8d
mov rcx, r13
call fcn.1400b8e60
mov rax, qword [rsp + 0x30]
lea rdi, [rsp + 0x60]
mov qword [rsp + 0x50], rdi
cmp rax, rsi
je 0x14007bb35
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
xor r15d, r15d
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rcx, rax
mov word [rsp + 0x40], r15w
mov qword [rsp + 0x28], rax
call fcn.140081290
lea r15, [rsp + 0x50]
mov rcx, r15
call fcn.1400803f0
mov rax, qword [rsp + 0x50]
mov rcx, qword [r12]
mov r8, qword [rsp + 0x58]
cmp rax, rdi
je 0x14007bb70
mov rdx, qword [rsp + 0x60]
cmp rbp, rcx
je 0x14007bbb0
mov r9, qword [r12 + 0x10]
mov qword [r12], rax
mov qword [r12 + 8], r8
mov qword [r12 + 0x10], rdx
test rcx, rcx
je 0x14007bbbe
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x60], r9
mov rax, qword [rsp + 0x70]
mov rdx, qword [r12 + 0x20]
xor r10d, r10d
mov qword [rsp + 0x58], 0
mov word [rcx], r10w
mov qword [rsp + 0x70], 0
mov qword [r12 + 0x20], rax
test rdx, rdx
je 0x14007baa7
mov rcx, r14
call fcn.1400211f0
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x58], 0
xor r9d, r9d
mov word [rcx], r9w
mov rcx, r15
call fcn.1400803f0
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x14007bad3
mov rcx, qword [rsp + 0x28]
call fcn.1400211f0
mov rcx, qword [rsp + 0x50]
cmp rcx, rdi
je 0x14007baec
mov rax, qword [rsp + 0x60]
lea rdx, [rax + rax + 2]
call fcn.1400dc0f0
mov rdx, rbx
mov rcx, r12
call fcn.14007cf00
mov r8d, dword [rbx]
test r8d, r8d
jne 0x14007bb48
cmp al, 2
je 0x14007b97f
mov rax, qword [r12]
xor edx, edx
mov rcx, r12
mov qword [r12 + 8], 0
mov word [rax], dx
call fcn.1400803f0
call fcn.1400ac4e0
mov dword [rbx], 0x14
mov qword [rbx + 8], rax
jmp 0x14007b97f
movdqu xmm0, xmmword [rsp + 0x40]
movups xmmword [rsp + 0x60], xmm0
jmp 0x14007b9e2
mov qword [r12 + 8], 0
mov rax, qword [r12]
xor ecx, ecx
mov word [rax], cx
mov rcx, r12
call fcn.1400803f0
jmp 0x14007b97f
mov rax, rdi
test r8, r8
je 0x14007bb97
cmp r8, 1
je 0x14007bbd0
add r8, r8
mov rdx, rdi
call sub.msvcrt.dll_memcpy
mov r8, qword [rsp + 0x58]
mov rcx, qword [r12]
mov rax, qword [rsp + 0x50]
xor r11d, r11d
mov qword [r12 + 8], r8
mov word [rcx + r8*2], r11w
mov rcx, rax
jmp 0x14007ba6d
mov qword [r12], rax
mov qword [r12 + 8], r8
mov qword [r12 + 0x10], rdx
mov qword [rsp + 0x50], rdi
lea rdi, [rsp + 0x60]
mov rcx, rdi
jmp 0x14007ba6d
movzx edx, word [rsp + 0x60]
mov word [rcx], dx
jmp 0x14007bb97