Function at 0x140001456
Capabilities:
Get common file path

Disassembly:
jmp 0x14008b5d0
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x400]
sub rsp, 0x500
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x550], rbx
mov rax, qword [0x140118988]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x28], rcx
lea rdx, [rbp + 0x1e0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14008ba2a
movdqa xmm0, xmmword [0x1400d1ef0]
movdqu xmmword [rbp - 0x60], xmm0
xor ecx, ecx
mov word [rbp - 0x70], cx
mov r8d, eax
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp - 0x70]
call fcn.140001faf
nop
lea r15, [rbp - 0x70]
mov rdi, qword [rbp - 0x70]
mov r12, qword [rbp - 0x58]
cmp r12, 8
cmovae r15, rdi
movabs rax, 0x7ffffffffffffffe
mov r14, qword [rbp - 0x60]
cmp r14, 8
jae 0x14008b699
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x38], 7
mov r13d, 7
jmp 0x14008b6cf
mov r13, r14
or r13, 7
cmp r13, rax
cmova r13, rax
lea rdx, [r13 + 1]
lea rcx, [rbp - 0x50]
call fcn.1400018a7
mov qword [rbp - 0x50], rax
lea r8, [r14*2 + 2]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x40], r14
cmp r12, 8
jb 0x14008b712
lea rdx, [r12*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14008b709
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b709
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400017ad
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
lea r15, [rbp - 0x50]
cmp r13, 8
cmovae r15, qword [rbp - 0x50]
movabs r13, 0x7ffffffffffffffe
cmp r14, 8
jae 0x14008b748
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x50], xmm0
mov edi, 7
jmp 0x14008b77c
mov rdi, r14
or rdi, 7
cmp rdi, r13
cmova rdi, r13
lea rdx, [rdi + 1]
lea rcx, [rsp + 0x50]
call fcn.1400018a7
mov qword [rsp + 0x50], rax
lea r8, [r14*2 + 2]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x60], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov r15, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x14008b79c
mov rbx, qword [rbx]
cmp r15, 8
jae 0x14008b7ba
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x78], 7
mov r14d, 7
jmp 0x14008b7f7
mov r14, r15
or r14, 7
cmp r14, r13
cmova r14, r13
lea rdx, [r14 + 1]
lea rcx, [rsp + 0x70]
call fcn.1400018a7
mov qword [rsp + 0x70], rax
lea r8, [r15*2 + 2]
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x78], r14
mov rdi, qword [rsp + 0x68]
mov qword [rbp - 0x80], r15
lea rdx, [rsp + 0x70]
cmp r14, 8
cmovae rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x50]
cmp rdi, 8
cmovae rcx, qword [rsp + 0x50]
lea r9, [rbp - 0x30]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x14008b9fd
movdqa xmm0, xmmword [0x1400d1ef0]
movdqu xmmword [rbp - 0x60], xmm0
xor ebx, ebx
mov word [rbp - 0x70], bx
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x14008b850
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x70]
call fcn.140001faf
nop
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], rbx
lea r12, [rbp - 0x70]
mov rdi, qword [rbp - 0x70]
mov r14, qword [rbp - 0x58]
cmp r14, 8
cmovae r12, rdi
mov r15, qword [rbp - 0x60]
cmp r15, 8
jae 0x14008b8a0
movups xmm0, xmmword [r12]
movups xmmword [rsi], xmm0
mov qword [rsi + 0x18], 7
jmp 0x14008b8d6
mov rbx, r15
or rbx, 7
cmp rbx, r13
cmova rbx, r13
lea rdx, [rbx + 1]
mov rcx, rsi
call fcn.1400018a7
mov qword [rsi], rax
lea r8, [r15*2 + 2]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsi + 0x18], rbx
xor ebx, ebx
mov qword [rsi + 0x10], r15
cmp r14, 8
jb 0x14008b919
lea rdx, [r14*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14008b910
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b910
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400017ad
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14008b95d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b958
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b958
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400017ad
movdqa xmm0, xmmword [0x1400d1ef0]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], bx
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14008b9b4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b9af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b9af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400017ad
movdqa xmm0, xmmword [0x1400d1ef0]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], bx
lea rcx, [rbp - 0x50]
call fcn.140001339
mov rax, rsi
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.140001c58
mov rbx, qword [rsp + 0x550]
add rsp, 0x500
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov r8d, eax
lea rdx, str.GetTempFileNameW
lea rcx, [rsp + 0x30]
call fcn.140002d33
lea rdx, [0x140116a50]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.GetTempPathW
lea rcx, [rsp + 0x30]
call fcn.140002d33
lea rdx, [0x140116a50]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3