Function at 0x140001340
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1e0
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r12, rdx
mov rdi, rcx
mov qword [rbp + 0x40], rcx
xor r15d, r15d
mov dword [rbp + 8], r15d
lea rdx, [rbp + 0x80]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x140001618
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
lea rax, [rbp + 0x80]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], r15b
jne 0x1400013c0
movabs r13, 0x7fffffffffffffff
cmp rbx, r13
ja 0x1400016f8
movabs rax, 0x8000000000000000
mov ecx, 0x16
mov esi, 0xf
cmp rbx, rsi
ja 0x140001418
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rsi
mov r8, rbx
lea rdx, [rbp + 0x80]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], r15b
jmp 0x14000149b
mov r14, rbx
or r14, rsi
cmp r14, r13
jbe 0x140001449
mov r14, r13
add rax, 0x27
mov rcx, rax
call fcn.140005450
test rax, rax
je 0x1400015cd
lea r15, [rax + 0x27]
and r15, 0xffffffffffffffe0
mov qword [r15 - 8], rax
jmp 0x140001479
cmp r14, rcx
cmovb r14, rcx
lea rcx, [r14 + 1]
test rcx, rcx
je 0x140001479
cmp rcx, 0x1000
jb 0x140001471
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000160c
jmp 0x14000142a
call fcn.140005450
mov r15, rax
mov qword [rdi], r15
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], r14
mov r8, rbx
lea rdx, [rbp + 0x80]
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [r15 + rbx], 0
mov dword [rbp + 8], 1
mov r15, qword [r12 + 0x10]
mov rax, r13
sub rax, r15
cmp rax, 1
jb 0x140001606
cmp qword [r12 + 0x18], 0xf
jbe 0x1400014c3
mov r12, qword [r12]
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
lea r14, [r15 + 1]
lea rbx, [rbp + 0x60]
cmp r14, 0xf
jbe 0x14000155a
mov rsi, r14
or rsi, 0xf
cmp rsi, r13
jbe 0x14000151c
mov rsi, r13
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140005450
test rax, rax
je 0x1400015cd
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140001556
cmp rsi, 0x16
mov eax, 0x16
cmovb rsi, rax
lea rcx, [rsi + 1]
test rcx, rcx
jne 0x140001536
xor ebx, ebx
jmp 0x140001556
cmp rcx, 0x1000
jb 0x14000154e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001612
jmp 0x1400014fd
call fcn.140005450
mov rbx, rax
mov qword [rbp + 0x60], rbx
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x78], rsi
mov byte [rbx], 0x5c
lea rcx, [rbx + 1]
mov r8, r15
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + r14], 0
mov dword [rbp + 8], 3
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0xf
cmova rdx, qword [rbp + 0x60]
mov r8, qword [rbp + 0x70]
mov rcx, rdi
call fcn.140004520
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x1400015d9
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400015d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400015d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000548c
mov rax, rdi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140005430
mov rbx, qword [rsp + 0x230]
add rsp, 0x1e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400011b0
int3
call fcn.140001110
int3
call fcn.140001110
int3
movabs rax, 0xca324a37c3bca55
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
movabs rax, 0x2d7d26725899daf
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
movabs rax, 0x5c9cc17163a37b6c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
movabs rax, 0x7c99d8640282bd3d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
movabs rax, 0x788340c61052ab13
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0x67a5f21340eebdc0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0x31bca51411ca0e1d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rax, 0x7c99d8016ef7d952
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0x20]
vmovdqa ymmword [rbp + 0x20], ymm1
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x60]
vzeroupper
call fcn.1400011d0
lea rdx, [0x1400091c0]
lea rcx, [rbp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.1400011b0
int3