Function at 0x1400381e0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x7d8]
sub rsp, 0x8d0
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rbx, rcx
xor esi, esi
mov dword [rbp + 0x7e0], esi
mov word [rbp - 0x30], si
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp - 0x2e]
call fcn.140018210
lea rdx, [rbp - 0x30]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rsi
mov word [rsp + 0x48], si
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp - 0x30]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x48]
call fcn.140002d7c
nop
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x58]
cmp word [rcx + rax*2 - 2], 0x5c
je 0x1400382a0
lea rdx, [0x140057cd8]
lea rcx, [rsp + 0x48]
call fcn.140003ee4
nop word [rax + rax]
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rsi
mov word [rsp + 0x70], si
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rsi
mov word [rsp + 0x20], si
lea rdx, [rsp + 0x70]
mov ecx, 8
call fcn.140038bd0
mov r8, rax
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x60]
call fcn.14000db10
mov rdi, rax
lea rax, [rsp + 0x20]
cmp rax, rdi
je 0x140038362
cmp qword [rsp + 0x38], 8
jb 0x140038303
mov rcx, qword [rsp + 0x20]
call fcn.140015e1c
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rsi
mov word [rsp + 0x20], si
cmp qword [rdi + 0x18], 8
jae 0x140038336
mov r8, qword [rdi + 0x10]
inc r8
add r8, r8
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.1400164d0
jmp 0x140038341
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
mov qword [rdi], rsi
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x38], rax
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rsi
mov word [rdi], si
cmp qword [rbp - 0x48], 8
jb 0x140038372
mov rcx, qword [rbp - 0x60]
call fcn.140015e1c
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
xor edx, edx
call fcn.1400178fc
test eax, eax
jne 0x1400383cd
cmp qword [rsp + 0x38], 8
jb 0x1400383a0
mov rcx, qword [rsp + 0x20]
call fcn.140015e1c
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rsi
mov word [rsp + 0x20], si
cmp qword [rbp - 0x78], 8
jb 0x1400382a0
mov rcx, qword [rsp + 0x70]
call fcn.140015e1c
jmp 0x1400382a0
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
call fcn.140017610
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
mov word [rbx], si
lea rax, [rsp + 0x20]
cmp rbx, rax
je 0x140038473
cmp qword [rbx + 0x18], 8
jb 0x14003840b
mov rcx, qword [rbx]
call fcn.140015e1c
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
mov word [rbx], si
mov rcx, qword [rsp + 0x38]
cmp rcx, 8
jae 0x140038443
mov r8, qword [rsp + 0x30]
lea r8, [r8 + r8 + 2]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400164d0
mov rcx, qword [rsp + 0x38]
jmp 0x140038450
mov rax, qword [rsp + 0x20]
mov qword [rbx], rax
mov qword [rsp + 0x20], rsi
mov rax, qword [rsp + 0x30]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rcx
mov eax, 7
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov word [rsp + 0x20], si
jmp 0x140038478
mov rax, qword [rsp + 0x38]
cmp rax, 8
jb 0x140038488
mov rcx, qword [rsp + 0x20]
call fcn.140015e1c
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rsi
mov word [rsp + 0x20], si
cmp qword [rbp - 0x78], 8
jb 0x1400384ac
mov rcx, qword [rsp + 0x70]
call fcn.140015e1c
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rsi
mov word [rsp + 0x70], si
cmp qword [rsp + 0x60], 8
jb 0x1400384cf
mov rcx, qword [rsp + 0x48]
call fcn.140015e1c
mov rax, rbx
lea r11, [rsp + 0x8d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret