Function at 0x140002d10
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x150
mov rax, qword [0x14004f678]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r15, rdx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea rcx, vtable.std::_Func_impl_no_alloc_class_std::_Binder_struct_std::_Unforced__int____cdecl___void____ptr64__unsigned_long_int__void____ptr64___void____ptr64__int__struct_std::_Ph_1__const____ptr64___int__wchar_t____ptr64_.0
mov qword [rbp - 0x10], rcx
mov rcx, qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbp - 8], rcx
movzx ecx, byte [rbp - 0x80]
mov byte [rbp], cl
xor r14d, r14d
mov dword [rbp + 4], r14d
mov qword [rbp + 8], rax
lea rax, [rbp - 0x10]
mov qword [rbp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
lea edx, [r14 + 8]
mov r8d, 0x208
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
mov qword [rbp - 0x28], r14
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x140002dde
lea rax, [rbp - 0x10]
cmp rcx, rax
jne 0x140002dd3
mov r8, qword [rcx]
lea rdx, [rbp - 0x60]
call qword [r8 + 8]
mov qword [rbp - 0x28], rax
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x140002dde
mov rax, qword [rcx]
lea rdx, [rbp - 0x10]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
jmp 0x140002dd7
mov qword [rbp - 0x28], rcx
mov rcx, r14
mov qword [rbp + 0x28], rcx
mov qword [rbp - 0x20], rbx
test rcx, rcx
je 0x140002dfb
mov rax, qword [rcx]
lea rdx, [rbp - 0x10]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rbx, qword [rbp - 0x20]
test rbx, rbx
jne 0x140002e0e
lea ecx, [rbx + 0xe]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140002ee8
lea rcx, [rbp - 0x70]
call qword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
js 0x140002ec6
movzx eax, byte [rbp - 0x61]
movzx ecx, byte [rbp - 0x62]
movzx edx, byte [rbp - 0x63]
movzx r8d, byte [rbp - 0x64]
movzx r9d, byte [rbp - 0x65]
movzx r10d, byte [rbp - 0x66]
movzx r11d, byte [rbp - 0x67]
movzx ebx, byte [rbp - 0x68]
movzx edi, word [rbp - 0x6a]
movzx esi, word [rbp - 0x6c]
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x80], ecx
mov dword [rsp + 0x78], edx
mov dword [rsp + 0x70], r8d
mov dword [rsp + 0x68], r9d
mov dword [rsp + 0x60], r10d
mov dword [rsp + 0x58], r11d
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], esi
mov eax, dword [rbp - 0x70]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], r15
lea rax, str._s_08X__04X__04X__02X_02X__02X_02X_02X_02X_02X_02X
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
xor r9d, r9d
xor r8d, r8d
mov edx, 0x104
mov rcx, qword [rbp - 0x20]
call fcn.140007bc0
test eax, eax
js 0x140002ec6
mov rax, qword [rbp - 0x20]
mov rcx, r14
mov qword [rbp - 0x20], rcx
mov r14, rax
jmp 0x140002eec
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9, qword [rbp - 0x20]
lea r8d, [r9 + rax]
mov rdx, r15
lea rcx, [0x14002c4ec]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x140002eb6
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140002f08
mov qword [rbp - 0x78], rcx
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140002f4f
mov rax, qword [rcx]
lea rdx, [rbp - 0x78]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140002f23
mov r8, qword [rcx]
lea rax, [rbp - 0x60]
cmp rcx, rax
setne dl
call qword [r8 + 0x20]
nop
mov rax, r14
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400153e0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140014ea8
nop
int3