Function at 0x140136a70
Capabilities:
Get common file path

Disassembly:
push rbp
push rdi
push r13
push r15
lea rbp, [rsp - 0x1a8]
sub rsp, 0x2a8
mov r13, rcx
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x20a
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x80]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x104
ja 0x140136b01
mov r8, 0xffffffffffffffff
lea rcx, [rbp - 0x80]
mov rax, r8
cmp word [rcx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140136ac0
xor edi, edi
cmp word [rsp + rax*2 + 0x7e], 0x5c
jne 0x140136adb
mov word [rsp + rax*2 + 0x7e], di
xorps xmm0, xmm0
mov qword [rsp + 0x30], rdi
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x38], rdi
lea rax, [rbp - 0x80]
inc r8
cmp word [rax + r8*2], di
jne 0x140136af1
lea rdx, [rbp - 0x80]
jmp 0x140136b1f
xor edi, edi
lea rdx, [0x1404923f4]
xorps xmm0, xmm0
mov qword [rsp + 0x30], rdi
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x38], rdi
xor r8d, r8d
lea rcx, [rsp + 0x20]
call fcn.14013c500
mov r15, qword [rsp + 0x30]
mov qword [rsp + 0x2d0], rbx
mov qword [rsp + 0x2a0], rsi
mov qword [rsp + 0x298], r12
mov qword [rsp + 0x290], r14
test r15, r15
jne 0x140136bc1
xorps xmm0, xmm0
lea rdx, [0x1404923f4]
movups xmmword [r13], xmm0
xor r8d, r8d
mov qword [r13 + 0x10], rdi
mov rcx, r13
mov qword [r13 + 0x18], rdi
call fcn.14013c500
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140136ddd
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140136dd8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140136dd8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rcx, [rsp + 0x60]
call fcn.140136980
mov qword [rbp + 0x1e0], rax
movabs rax, 0x7ffffffffffffffe
mov rcx, rax
sub rcx, r15
cmp rcx, 1
jb 0x140136e14
mov r12, qword [rsp + 0x38]
lea r9, [rsp + 0x20]
mov r14, qword [rsp + 0x20]
lea rdx, [r15 + 1]
cmp r12, 7
lea rsi, [rsp + 0x40]
mov ebx, 7
xorps xmm0, xmm0
cmova r9, r14
mov qword [rbp + 0x1d8], r9
movups xmmword [rsp + 0x40], xmm0
cmp rdx, rbx
jbe 0x140136cd0
mov rbx, rdx
or rbx, 7
cmp rbx, rax
jbe 0x140136c48
mov rbx, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x140136c77
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rbx + 1]
cmp rcx, rax
ja 0x140136e0e
add rcx, rcx
cmp rcx, 0x1000
jb 0x140136cae
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140136e0e
mov rcx, rax
call fcn.1401c7ed4
test rax, rax
je 0x140136dce
mov r9, qword [rbp + 0x1d8]
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
lea rdx, [r15 + 1]
mov qword [rsi - 8], rax
jmp 0x140136ccb
test rcx, rcx
je 0x140136cc8
call fcn.1401c7ed4
mov r9, qword [rbp + 0x1d8]
lea rdx, [r15 + 1]
mov rsi, rax
jmp 0x140136ccb
mov rsi, rdi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x58], rbx
mov rcx, rsi
mov qword [rsp + 0x50], rdx
lea rbx, [r15 + r15]
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memcpy
mov r9, qword [rbp + 0x1e0]
lea r8, [rsp + 0x40]
mov word [rsi + rbx], 0x5c
mov rcx, r13
mov word [rsi + r15*2 + 2], di
call fcn.14013c8b0
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140136d4e
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140136d49
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140136dce
call fcn.1401c7f18
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140136d8c
mov rcx, qword [rsp + 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140136d87
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140136dce
call fcn.1401c7f18
movdqa xmm0, xmmword [0x140495310]
mov word [rsp + 0x60], di
movdqu xmmword [rsp + 0x70], xmm0
cmp r12, 7
jbe 0x140136ddd
lea rdx, [r12*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x140136dd5
mov r14, qword [r14 - 8]
add rdx, 0x27
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140136dd5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.1401c7f18
mov r14, qword [rsp + 0x290]
mov rax, r13
mov r12, qword [rsp + 0x298]
mov rsi, qword [rsp + 0x2a0]
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x2a8
pop r15
pop r13
pop rdi
pop rbp
ret
call fcn.140133c10
int3
call fcn.140133cb0
int3