Function at 0x14000143d
Capabilities:
Get common file path

Disassembly:
jmp 0x14008aec0
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 [0x1401199f8]
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 0x14008b31a
movdqa xmm0, xmmword [0x1400d1c80]
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.140001f5f
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 0x14008af89
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x38], 7
mov r13d, 7
jmp 0x14008afbf
mov r13, r14
or r13, 7
cmp r13, rax
cmova r13, rax
lea rdx, [r13 + 1]
lea rcx, [rbp - 0x50]
call fcn.14000187f
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 0x14008b002
lea rdx, [r12*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14008aff9
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008aff9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140001785
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 0x14008b038
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x50], xmm0
mov edi, 7
jmp 0x14008b06c
mov rdi, r14
or rdi, 7
cmp rdi, r13
cmova rdi, r13
lea rdx, [rdi + 1]
lea rcx, [rsp + 0x50]
call fcn.14000187f
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 0x14008b08c
mov rbx, qword [rbx]
cmp r15, 8
jae 0x14008b0aa
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x78], 7
mov r14d, 7
jmp 0x14008b0e7
mov r14, r15
or r14, 7
cmp r14, r13
cmova r14, r13
lea rdx, [r14 + 1]
lea rcx, [rsp + 0x70]
call fcn.14000187f
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 0x14008b2ed
movdqa xmm0, xmmword [0x1400d1c80]
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 0x14008b140
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x70]
call fcn.140001f5f
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 0x14008b190
movups xmm0, xmmword [r12]
movups xmmword [rsi], xmm0
mov qword [rsi + 0x18], 7
jmp 0x14008b1c6
mov rbx, r15
or rbx, 7
cmp rbx, r13
cmova rbx, r13
lea rdx, [rbx + 1]
mov rcx, rsi
call fcn.14000187f
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 0x14008b209
lea rdx, [r14*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14008b200
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b200
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140001785
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14008b24d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b248
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b248
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001785
movdqa xmm0, xmmword [0x1400d1c80]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], bx
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14008b2a4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b29f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b29f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001785
movdqa xmm0, xmmword [0x1400d1c80]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], bx
lea rcx, [rbp - 0x50]
call fcn.140001325
mov rax, rsi
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.140001c17
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.140002cc5
lea rdx, [0x1401186e8]
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.140002cc5
lea rdx, [0x1401186e8]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3