Function at 0x140111610
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get file attributes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x4b8]
sub rsp, 0x5b8
mov qword [rbp - 0x28], 0xfffffffffffffffe
xor edx, edx
lea rcx, [rbp + 0x80]
call fcn.1400f7980
nop
xor r14d, r14d
mov word [rbp + 0xb0], r14w
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0xb2]
call fcn.14011fa60
mov dword [rbp + 0x4f0], 0x200
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8, qword [0x1402d7160]
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x80]
call fcn.1400f7af0
lea rdi, [0x140165848]
test eax, eax
je 0x1401116e8
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x4f0]
lea r8, [rbp + 0xb0]
lea rdx, str.DuplicitySharedStorageExe
lea rcx, [rbp + 0x88]
call fcn.14011b2a0
test eax, eax
jne 0x1401116e8
test byte [0x1402d741c], 1
je 0x1401116e8
lea r8, str.Unable_to_open_registry_n
lea edx, [rax + 1]
lea rcx, str.GetDestinationFilePath
call fcn.14011a490
mov dword [rbp + 0x4f0], 0x200
lea rcx, [rbp + 0xb0]
or rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140111700
test rax, rax
je 0x140111f19
lea rcx, [rbp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140111dbc
test byte [0x1402d741c], 4
je 0x140111751
lea r9, [rbp + 0xb0]
lea r8, str.We_get_the_exe_file:__s_n
mov edx, 3
lea rcx, str.GetDestinationFilePath
call fcn.14011a490
xor edx, edx
lea r8d, [rdx + 0x70]
lea rcx, [rbp - 0x20]
call fcn.14011fa60
mov dword [rbp - 0x20], 0x70
mov dword [rbp - 0x1c], 0x240
mov qword [rbp - 0x18], r14
lea rax, str.open
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0xb0]
mov qword [rbp - 8], rax
lea rax, str._status
mov qword [rbp], rax
mov qword [rbp + 8], r14
mov dword [rbp + 0x10], r14d
lea rcx, [rbp - 0x20]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x140111dbc
mov edx, 0x7d0
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x140111dbc
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
lea rcx, [rbp + 0x50]
call fcn.1400f7980
nop
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8, qword [str.SoftwareLenovoDuplicitySharedStoragedevice]
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x50]
call fcn.1400f7af0
test eax, eax
je 0x140111db3
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x4f0]
lea r8, [rbp + 0x2b0]
lea rdx, str.status
lea rcx, [rbp + 0x58]
call fcn.14011b2a0
call fcn.140004fc0
mov rdx, rax
mov ecx, r14d
test rax, rax
setne cl
test ecx, ecx
jne 0x14011184f
mov ecx, 0x80004005
call fcn.140004f70
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x500], rax
lea rcx, [rbp + 0x2b0]
lea rax, [rbp + 0x2b0]
test rax, 0xffffffffffff0000
jne 0x14011189e
movzx edi, cx
xor edx, edx
mov ecx, edi
call fcn.140011240
test rax, rax
je 0x1401118d1
mov r8d, edi
mov rdx, rax
lea rcx, [rbp + 0x500]
call fcn.140011590
jmp 0x1401118d1
lea rcx, [rbp + 0x2b0]
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1401118b0
mov r8d, eax
lea rdx, [rbp + 0x2b0]
lea rcx, [rbp + 0x500]
call fcn.140011790
nop
lea r15, [fcn.140005a30]
mov qword [rsp + 0x20], r15
lea r9, [0x14000ecd0]
mov edx, 8
lea r8d, [rdx - 5]
lea rcx, [rsp + 0x60]
call fcn.140120c64
nop
mov qword [rsp + 0x20], r15
lea r9, [0x14000ecd0]
mov edx, 8
lea r8d, [rdx - 6]
lea rcx, [rsp + 0x50]
call fcn.140120c64
nop
mov qword [rsp + 0x20], r15
lea r9, [0x14000ecd0]
mov edx, 8
lea r8d, [rdx - 6]
lea rcx, [rsp + 0x40]
call fcn.140120c64
nop
mov qword [rsp + 0x20], r15
lea r9, [0x14000ecd0]
mov edx, 8
lea r8d, [rdx - 6]
lea rcx, [rsp + 0x30]
call fcn.140120c64
nop
lea rax, [rbp + 0x508]
mov qword [rbp + 0x4f8], rax
lea rdx, [0x1401a2670]
lea rcx, [rbp + 0x508]
call fcn.140010c50
mov rdi, rax
mov rsi, qword [rbp + 0x500]
add rsi, 0xffffffffffffffe8
mov rcx, rsi
call fcn.1400112f0
add rax, 0x18
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x20], 3
lea r9, [rsp + 0x60]
mov r8, rdi
lea rdx, [rsp + 0x78]
lea rcx, [0x1402dc840]
call fcn.140040710
lea rax, [rbp - 0x68]
mov qword [rbp + 0x4f8], rax
lea rdx, [0x14018736c]
lea rcx, [rbp - 0x68]
call fcn.140010c50
mov rdi, rax
mov rcx, qword [rsp + 0x60]
add rcx, 0xffffffffffffffe8
call fcn.1400112f0
add rax, 0x18
mov qword [rbp - 0x60], rax
mov dword [rsp + 0x20], 2
lea r9, [rsp + 0x50]
mov r8, rdi
lea rdx, [rbp - 0x60]
lea rcx, [0x1402dc840]
call fcn.140040710
lea rax, [rbp - 0x80]
mov qword [rbp + 0x4f8], rax
lea rdx, [0x14018736c]
lea rcx, [rbp - 0x80]
call fcn.140010c50
mov rdi, rax
mov rcx, qword [rsp + 0x68]
add rcx, 0xffffffffffffffe8
call fcn.1400112f0
add rax, 0x18
mov qword [rbp - 0x78], rax
mov dword [rsp + 0x20], 2
lea r9, [rsp + 0x40]
mov r8, rdi
lea rdx, [rbp - 0x78]
lea rcx, [0x1402dc840]
call fcn.140040710
lea rax, [rbp - 0x50]
mov qword [rbp + 0x4f8], rax
lea rdx, [0x14018736c]
lea rcx, [rbp - 0x50]
call fcn.140010c50
mov rdi, rax
mov rcx, qword [rsp + 0x70]
add rcx, 0xffffffffffffffe8
call fcn.1400112f0
add rax, 0x18
mov qword [rbp - 0x70], rax
mov dword [rsp + 0x20], 2
lea r9, [rsp + 0x30]
mov r8, rdi
lea rdx, [rbp - 0x70]
lea rcx, [0x1402dc840]
call fcn.140040710
mov rdx, qword [rsp + 0x58]
lea r8, str.attached
mov rcx, rbx
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r8 + rcx*2 + 2]
jne 0x140111af9
add rcx, 2
cmp rcx, 9
je 0x140111af4
movzx eax, word [rdx + rcx*2]
cmp ax, word [r8 + rcx*2]
jne 0x140111af9
jmp 0x140111ad0
mov eax, r14d
jmp 0x140111afe
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140111d43
mov rcx, r14
mov rdx, qword [rsp + 0x48]
lea r8, str.mounted
nop word [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x140111b3a
cmp rcx, 8
jne 0x140111b20
mov eax, r14d
jmp 0x140111b3f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140111d43
lea rdx, [0x140167e60]
lea rcx, [rbp + 0x4f8]
call fcn.140010c50
nop
lea r8, [rbp + 0x4f8]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x58]
call fcn.1400794b0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rbp + 0x4f8]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x140111bd0
cmp dword [rdi + 0x10], 0
jl 0x140111bbf
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140111bbf
call fcn.1400112f0
mov r14, rax
lock add dword [rdi + 0x10], 0xffffffff
jg 0x140111bb2
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [r14 + 0x18]
mov qword [rbp + 0x4f8], rax
jmp 0x140111bd0
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x4f8]
call fcn.140011790
nop
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140111be8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [0x1402dfb50]
test rcx, rcx
je 0x140111bf9
call fcn.140120c5c
mov rax, qword [rbp + 0x4f8]
movsxd rdx, dword [rax - 0x10]
mov rax, qword [str.HKCU_All]
mov rcx, rbx
nop
inc rcx
cmp word [rax + rcx*2], 0
jne 0x140111c10
lea rax, [rdx + 2]
add rcx, rax
mov eax, 2
mul rcx
cmovo rax, rbx
mov rcx, rax
call fcn.14011e9a4
mov qword [0x1402dfb50], rax
mov rdx, qword [rbp + 0x4f8]
cmp dword [rdx - 8], 1
jle 0x140111c66
mov edx, dword [rdx - 0x10]
lea rcx, [rbp + 0x4f8]
call fcn.14000edc0
mov rax, qword [0x1402dfb50]
mov rdx, qword [rbp + 0x4f8]
mov rcx, rax
call fcn.14012161c
mov rcx, qword [0x1402dfb50]
mov rax, rbx
nop dword [rax + rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140111c80
lea rcx, [rcx + rax*2]
mov r8, qword [str.HKCU_All]
lea rdx, [0x1401a26a0]
call fcn.14012161c
mov rdi, qword [0x1402dfb50]
mov rdx, qword [rbp + 0x4f8]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140111cc5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov r9, r15
mov edx, 8
lea r8d, [rdx - 6]
lea rcx, [rsp + 0x30]
call fcn.140120ccc
nop
mov r9, r15
mov edx, 8
lea r8d, [rdx - 6]
lea rcx, [rsp + 0x40]
call fcn.140120ccc
nop
mov r9, r15
mov edx, 8
lea r8d, [rdx - 6]
lea rcx, [rsp + 0x50]
call fcn.140120ccc
nop
mov r9, r15
mov edx, 8
lea r8d, [rdx - 5]
lea rcx, [rsp + 0x60]
call fcn.140120ccc
nop
lock add dword [rsi + 0x10], 0xffffffff
jg 0x140111d35
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp + 0x50]
call fcn.1400f7a90
jmp 0x140111f20
mov r9, r15
mov edx, 8
lea r8d, [rdx - 6]
lea rcx, [rsp + 0x30]
call fcn.140120ccc
nop
mov r9, r15
mov edx, 8
lea r8d, [rdx - 6]
lea rcx, [rsp + 0x40]
call fcn.140120ccc
nop
mov r9, r15
mov edx, 8
lea r8d, [rdx - 6]
lea rcx, [rsp + 0x50]
call fcn.140120ccc
nop
mov r9, r15
mov edx, 8
lea r8d, [rdx - 5]
lea rcx, [rsp + 0x60]
call fcn.140120ccc
nop
lock add dword [rsi + 0x10], 0xffffffff
jg 0x140111db3
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp + 0x50]
call fcn.1400f7a90
mov rcx, qword [0x1402dfb50]
test rcx, rcx
je 0x140111dcd
call fcn.140120c5c
mov ecx, 0x208
call fcn.14011e9a4
mov qword [0x1402dfb50], rax
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140111ee5
mov rcx, qword [0x1402dfb50]
mov rax, rbx
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140111e10
lea rcx, [rcx + rax*2]
mov r8, qword [str.Synaptics]
lea rdx, [0x1401a26a0]
call fcn.14012161c
mov rdx, qword [0x1402dfb50]
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r14
mov word [rbp - 0x48], r14w
cmp word [rdx], 0
jne 0x140111e55
mov r8, r14
jmp 0x140111e6b
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140111e60
lea rcx, [rbp - 0x48]
call fcn.14000d340
nop
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x48]
call fcn.140114290
mov edi, eax
cmp qword [rbp - 0x30], 8
jb 0x140111e95
mov rcx, qword [rbp - 0x48]
call fcn.14011f898
test edi, edi
je 0x140111f06
mov rax, qword [0x1402dfb50]
lea rbx, [rbx + 1]
cmp word [rax + rbx*2], 0
jne 0x140111ea0
lea rcx, [rax + rbx*2]
mov r8, qword [str.HKCU_All]
lea rdx, [0x1401a26a0]
call fcn.14012161c
test byte [0x1402d741c], 2
je 0x140111f19
mov r8, qword [0x1402dfb50]
mov edx, 2
lea rcx, str.GetDestinationFilePath
call fcn.14011a590
jmp 0x140111f19
test byte [0x1402d741c], 2
je 0x140111f06
lea r8, str.cant_get_the_user_profile_path_n
mov edx, 2
lea rcx, str.GetDestinationFilePath
call fcn.14011a490
mov rcx, qword [0x1402dfb50]
call fcn.140120c5c
mov qword [0x1402dfb50], r14
mov rdi, qword [0x1402dfb50]
lea rcx, [rbp + 0x80]
call fcn.1400f7a90
mov rax, rdi
add rsp, 0x5b8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret