Function at 0x140010700
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x460
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1402669b0]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rbp, rcx
call fcn.140024fb0
mov rdx, rax
xor ebx, ebx
mov ecx, ebx
test rax, rax
setne cl
test ecx, ecx
jne 0x140010755
mov ecx, 0x80004005
call fcn.14001bed0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
lea rax, str.TXT_File_.txt_.txt
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.140030d30
nop
lea rdx, [rsp + 0x340]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rcx, [rsp + 0x80]
call fcn.140031ae8
lea rcx, [rsp + 0x340]
mov qword [rax + 0x50], rcx
lea rcx, [rsp + 0x80]
call fcn.140031ae8
or dword [rax + 0x60], 0x1000
lea rcx, [rsp + 0x80]
call fcn.140031ae8
or dword [rax + 0x60], 0x800
lea rcx, [rsp + 0x80]
call fcn.14003191c
mov r14, rax
cmp rax, 1
jne 0x14001091d
call fcn.140024fb0
mov rcx, rax
test rax, rax
setne bl
test ebx, ebx
jne 0x14001082d
mov ecx, 0x80004005
call fcn.14001bed0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x80]
call fcn.140031af0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x1400108a3
cmp dword [rbx + 0x10], 0
jl 0x140010894
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140010894
call fcn.14001b870
mov rsi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x140010889
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rsi + 0x18]
mov qword [rsp + 0x50], rax
jmp 0x1400108a3
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.14001bef0
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400108bc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsp + 0x50]
cmp dword [rax - 0x10], 0x104
jg 0x140010903
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x80]
call fcn.140031af0
nop
mov rdx, rax
mov rcx, rbp
call fcn.14001b900
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140010903
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001091d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x80]
call fcn.1400310f4
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140010944
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, r14
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.14019a4e0
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret