Function at 0x14008d5c0
Capabilities:
Get common file path

Disassembly:
push rbp
lea rbp, [rsp - 0x13d0]
mov eax, 0x14d0
call fcn.14009e640
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x14e8], rbx
mov qword [rsp + 0x14f0], rsi
mov qword [rsp + 0x14f8], rdi
mov rax, qword [0x140131088]
xor rax, rsp
mov qword [rbp + 0x13c0], rax
mov rdi, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x11b0]
call fcn.1400a1560
lea rdx, [rbp + 0x11b0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov qword [rbp + 0x148], 7
xor esi, esi
mov qword [rbp + 0x140], rsi
mov word [rbp + 0x130], si
cmp word [rbp + 0x11b0], si
jne 0x14008d65b
mov r8d, esi
jmp 0x14008d670
lea rax, [rbp + 0x11b0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x14008d666
lea rdx, [rbp + 0x11b0]
lea rcx, [rbp + 0x130]
call fcn.140008a20
nop
mov qword [rbp + 0x108], 7
mov qword [rbp + 0x100], rsi
mov word [rbp + 0xf0], si
lea rcx, [rbp + 0xf0]
call fcn.14008d4e0
lea r8, str.crash_
lea rdx, [rbp + 0x130]
lea rcx, [rsp + 0x30]
call fcn.140031030
nop
lea r8, [rbp + 0xf0]
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.140031180
nop
lea r8, str..log
mov rdx, rax
lea rcx, [rbp + 0x110]
call fcn.140031110
nop
mov r8, qword [rbp + 0xe8]
cmp r8, 8
jb 0x14008d713
inc r8
mov rdx, qword [rbp + 0xd0]
lea rcx, [rbp + 0xd0]
call fcn.140008b70
mov qword [rbp + 0xe8], 7
mov qword [rbp + 0xe0], rsi
mov word [rbp + 0xd0], si
mov r8, qword [rsp + 0x48]
cmp r8, 8
jb 0x14008d749
inc r8
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.140008b70
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rsi
mov word [rsp + 0x30], si
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x40]
call fcn.1400a1560
lea rdx, [rbp + 0x110]
cmp qword [rbp + 0x128], 8
cmovae rdx, qword [rbp + 0x110]
lea rcx, [rbp - 0x40]
call fcn.14008e2e0
nop
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
test byte [rbp + rcx - 0x30], 6
jne 0x14008da90
mov rbx, qword [rdi]
lea r8, [0x1400f8b74]
mov edx, 0x20
lea rcx, [rsp + 0x78]
call fcn.1400b454c
lea r8, [0x1400f8b74]
mov edx, 0x20
lea rcx, [rsp + 0x58]
call fcn.1400b454c
lea r8, [0x1400f8b74]
mov edx, 0x20
lea rcx, [rbp - 0x68]
call fcn.1400b454c
mov r8d, dword [rbx + 0x10]
lea rdx, str._08X
lea rcx, [rsp + 0x78]
call fcn.14008f760
mov r8d, dword [rbx]
lea rdx, str._08X
lea rcx, [rsp + 0x58]
call fcn.14008f760
mov r8d, dword [rbx + 4]
lea rdx, str._08X
lea rcx, [rbp - 0x68]
call fcn.14008f760
movups xmm0, xmmword [rsp + 0x58]
movaps xmmword [rbp + 0x150], xmm0
movups xmm1, xmmword [rsp + 0x68]
movaps xmmword [rbp + 0x160], xmm1
movups xmm0, xmmword [rsp + 0x78]
movaps xmmword [rbp + 0x170], xmm0
movups xmm1, xmmword [rbp - 0x78]
movaps xmmword [rbp + 0x180], xmm1
movups xmm0, xmmword [rbp - 0x68]
movaps xmmword [rbp + 0x190], xmm0
movups xmm1, xmmword [rbp - 0x58]
movaps xmmword [rbp + 0x1a0], xmm1
lea rdx, str.ErrorCode:
lea rcx, [rbp - 0x40]
call fcn.14001b590
mov rcx, rax
lea rdx, [rbp + 0x150]
call fcn.14001b590
mov rcx, rax
call fcn.140022750
lea rdx, str.Address:
lea rcx, [rbp - 0x40]
call fcn.14001b590
mov rcx, rax
lea rdx, [rbp + 0x170]
call fcn.14001b590
mov rcx, rax
call fcn.140022750
lea rdx, str.Flags:
lea rcx, [rbp - 0x40]
call fcn.14001b590
mov rcx, rax
lea rdx, [rbp + 0x190]
call fcn.14001b590
mov rcx, rax
call fcn.140022750
xor eax, eax
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe0], rax
mov rdx, qword [rdi + 8]
lea rcx, [rbp + 0xd0]
call fcn.14008dbc0
nop
lea rdx, str.CallStack:
lea rcx, [0x140137920]
call fcn.14001b590
mov rcx, rax
call fcn.140022750
mov rbx, qword [rbp + 0xd0]
cmp rbx, qword [rbp + 0xd8]
je 0x14008da37
nop dword [rax]
nop word [rax + rax]
lea rcx, [rbp + 0x1b0]
mov rax, rbx
mov edx, 0x20
nop
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x14008d950
lea rdx, [rbp + 0x5b0]
lea rcx, [rbp - 0x40]
call fcn.14001b590
mov rcx, rax
lea rdx, str.___:__
call fcn.14001b590
mov rcx, rax
lea rdx, [rbp + 0x1b0]
call fcn.14001b590
mov rcx, rax
lea rdx, str.___File:
call fcn.14001b590
mov rcx, rax
lea rdx, [rbp + 0x9b0]
call fcn.14001b590
mov rcx, rax
lea rdx, str.__Line
call fcn.14001b590
mov rcx, rax
lea rdx, [rbp + 0xdb0]
call fcn.14001b590
mov rcx, rax
lea rdx, [0x1400eb6c8]
call fcn.14001b590
mov rcx, rax
call fcn.140022750
add rbx, 0x1000
cmp rbx, qword [rbp + 0xd8]
jne 0x14008d940
lea rcx, [rbp - 0x38]
call fcn.14008f470
test rax, rax
jne 0x14008da70
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea r9, [rbp - 0x40]
add rcx, r9
mov eax, dword [rcx + 0x10]
or eax, 2
mov edx, eax
or edx, 4
cmp qword [rcx + 0x48], 0
cmovne edx, eax
xor r8d, r8d
call fcn.14000a950
nop
mov rdx, qword [rbp + 0xd0]
test rdx, rdx
je 0x14008da90
mov r8, qword [rbp + 0xe0]
sub r8, rdx
sar r8, 0xc
call fcn.14008f580
nop
lea rcx, [rbp + 0x68]
call fcn.14008e260
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x68], rax
lea rcx, [rbp + 0x68]
call fcn.14009bad0
nop
mov r8, qword [rbp + 0x128]
cmp r8, 8
jb 0x14008dad2
inc r8
mov rdx, qword [rbp + 0x110]
lea rcx, [rbp + 0x110]
call fcn.140008b70
mov qword [rbp + 0x128], 7
mov qword [rbp + 0x120], rsi
mov word [rbp + 0x110], si
mov r8, qword [rbp + 0x108]
cmp r8, 8
jb 0x14008db0e
inc r8
mov rdx, qword [rbp + 0xf0]
lea rcx, [rbp + 0xf0]
call fcn.140008b70
mov qword [rbp + 0x108], 7
mov qword [rbp + 0x100], rsi
mov word [rbp + 0xf0], si
mov r8, qword [rbp + 0x148]
cmp r8, 8
jb 0x14008db4a
inc r8
mov rdx, qword [rbp + 0x130]
lea rcx, [rbp + 0x130]
call fcn.140008b70
mov rcx, qword [rbp + 0x13c0]
xor rcx, rsp
call fcn.14009d860
lea r11, [rsp + 0x14d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret