Function at 0x14008cfe0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x268]
sub rsp, 0x350
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140131088]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov r14, rcx
lea rcx, [0x1400f8b08]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14008d2ee
mov qword [rbp + 0x20], 7
xor r15d, r15d
mov qword [rbp + 0x18], r15
mov word [rbp + 8], r15w
lea rcx, [rbp + 8]
call fcn.14008d4e0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x30]
call fcn.1400a1560
lea rdx, [rbp + 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov qword [rbp], 7
mov qword [rbp - 8], r15
mov word [rbp - 0x18], r15w
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
cmp word [rbp + 0x30], r15w
jne 0x14008d0a5
mov r8d, r15d
jmp 0x14008d0bb
lea rax, [rbp + 0x30]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14008d0b0
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140008a20
nop
lea r8, str.dump_
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.140031110
nop
lea r8, [rbp + 8]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140031180
nop
lea r8, str..dmp
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140031110
mov rbx, rax
lea rax, [rbp - 0x18]
cmp rax, rbx
je 0x14008d149
mov r8, qword [rbp]
cmp r8, 8
jb 0x14008d12b
inc r8
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x18]
call fcn.140008b70
mov qword [rbp], 7
mov qword [rbp - 8], r15
mov word [rbp - 0x18], r15w
mov rdx, rbx
lea rcx, [rbp - 0x18]
call fcn.140009120
nop
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x14008d166
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.140008b70
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r15
mov word [rsp + 0x60], r15w
mov r8, qword [rbp - 0x68]
cmp r8, 8
jb 0x14008d194
inc r8
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.140008b70
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r15
mov word [rbp - 0x80], r15w
mov r8, qword [rbp - 0x48]
cmp r8, 8
jb 0x14008d1bf
inc r8
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.140008b70
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], r15
mov word [rbp - 0x60], r15w
mov r8, qword [rsp + 0x58]
cmp r8, 8
jb 0x14008d1ed
inc r8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.140008b70
lea rcx, [rbp - 0x18]
cmp qword [rbp], 8
cmovae rcx, qword [rbp - 0x18]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14008d2a9
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rbp - 0x38], eax
mov qword [rbp - 0x34], r14
mov dword [rbp - 0x2c], r15d
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], r15
lea rdx, str.MiniDumpWriteDump
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
je 0x14008d2a9
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r15
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x20], rcx
mov r9d, 2
mov r8, rdi
mov edx, eax
mov rcx, rbx
call r14
test eax, eax
je 0x14008d2a9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
mov r8, qword [rbp]
cmp r8, 8
jb 0x14008d2c3
inc r8
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x18]
call fcn.140008b70
mov qword [rbp], 7
mov qword [rbp - 8], r15
mov word [rbp - 0x18], r15w
mov r8, qword [rbp + 0x20]
cmp r8, 8
jb 0x14008d2ee
inc r8
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 8]
call fcn.140008b70
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.14009d860
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret