Function at 0x14008b140
Capabilities:
Copy file
Create directory
Delete file
Get common file path
Move file

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x28b0]
mov eax, 0x29b0
call fcn.1400e75d0
sub rsp, rax
mov qword [rbp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x29f0], rbx
mov edi, edx
mov r12, rcx
mov r15d, 1
xor r13d, r13d
mov dword [rbp + 0x2900], r13d
xor edx, edx
lea rcx, [rbp - 0x10]
call fcn.1400ca710
nop
lea rax, vtable.CSynList_class_CRegistryKey_.0
mov qword [rsp + 0x60], rax
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [rsp + 0x7c], r15d
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], r13d
lea rax, vtable.CMultiLevelRegistryKey.0
mov qword [rsp + 0x60], rax
mov r9d, r15d
xor r8d, r8d
lea rdx, [rbp + 0x70]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov r9d, r15d
lea r8d, [r15 + 0x1b]
lea rdx, [rbp + 0x280]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor ecx, ecx
call fcn.1400dd550
or rsi, 0xffffffffffffffff
lea rbx, str.SoftwareSynapticsSynTPEnhShortcutConfig
cmp eax, 0xd
jne 0x14008b33b
lea ecx, [rsi + 0xc]
call fcn.1400dda70
mov qword [rbp - 0x38], 0xf
mov qword [rbp - 0x40], r13
mov byte [rbp - 0x50], r13b
cmp byte [rax], r13b
jne 0x14008b22d
mov r8d, r13d
jmp 0x14008b23a
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x14008b230
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.1400346e0
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x20]
call fcn.1400334a0
mov r8, rax
cmp qword [rax + 0x18], 8
jb 0x14008b261
mov r8, qword [rax]
mov rcx, r13
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rcx + rbx]
mov word [rbp + rcx + 0x490], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14008b270
test r8, r8
je 0x14008b2e2
cmp word [r8], ax
je 0x14008b2e2
cmp word [rbp + 0x490], ax
je 0x14008b2b6
lea rcx, [rbp + 0x490]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14008b2a4
mov eax, dword [0x140124f70]
mov dword [rcx], eax
lea rcx, [rbp + 0x490]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14008b2c1
xor edx, edx
nop dword [rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x14008b2d0
cmp qword [rbp + 0x38], 8
jb 0x14008b2f2
mov rcx, qword [rbp + 0x20]
call fcn.1400e5d14
mov qword [rbp + 0x38], 7
mov qword [rbp + 0x30], r13
mov word [rbp + 0x20], r13w
cmp qword [rbp - 0x38], 0x10
jb 0x14008b313
mov rcx, qword [rbp - 0x50]
call fcn.1400e5d14
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 1
xor r9d, r9d
lea r8, [rbp + 0x490]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x60]
call fcn.1400cadd0
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x60]
call fcn.1400cadd0
xor ecx, ecx
call fcn.1400dda70
mov qword [rbp - 0x18], 0xf
mov qword [rbp - 0x20], r13
mov byte [rbp - 0x30], 0
cmp byte [rax], 0
jne 0x14008b380
mov r8, r13
jmp 0x14008b38d
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x14008b383
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.1400346e0
nop
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x40]
call fcn.1400334a0
mov r8, rax
cmp qword [rax + 0x18], 8
jb 0x14008b3b4
mov r8, qword [rax]
mov rcx, r13
nop word [rax + rax]
movzx eax, word [rcx + rbx]
mov word [rbp + rcx + 0x6a0], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14008b3c0
test r8, r8
je 0x14008b432
cmp word [r8], ax
je 0x14008b432
cmp word [rbp + 0x6a0], ax
je 0x14008b406
lea rcx, [rbp + 0x6a0]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14008b3f4
mov eax, dword [0x140124f70]
mov dword [rcx], eax
lea rcx, [rbp + 0x6a0]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14008b411
xor edx, edx
nop dword [rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x14008b420
cmp qword [rbp + 0x58], 8
jb 0x14008b442
mov rcx, qword [rbp + 0x40]
call fcn.1400e5d14
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], r13
mov word [rbp + 0x40], r13w
cmp qword [rbp - 0x18], 0x10
jb 0x14008b463
mov rcx, qword [rbp - 0x30]
call fcn.1400e5d14
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 1
xor r9d, r9d
lea r8, [rbp + 0x6a0]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x60]
call fcn.1400cadd0
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 0x2001f
xor r9d, r9d
mov r8, rbx
mov rdx, 0xffffffff80000001
lea rcx, [rbp - 0x10]
call fcn.1400ca880
test eax, eax
je 0x14008b7e2
test dil, 0xd
je 0x14008b7b2
lea rcx, [rbp + 0x280]
sub rcx, 2
nop dword [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14008b4d0
movsd xmm0, qword [str.SYNTP]
movsd qword [rcx], xmm0
mov eax, dword [0x140135c10]
mov dword [rcx + 8], eax
movzx eax, word [0x140135c14]
mov word [rcx + 0xc], ax
xor edx, edx
lea rcx, [rbp + 0x280]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, 1
nop
mov r8d, ebx
lea rdx, str.Shortcut_d
lea rcx, [rbp + 0x10b0]
call fcn.1400e7a5c
mov dword [rbp + 0x2908], 0x800
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x2908]
lea r8, [rbp + 0x8b0]
lea rdx, [rbp + 0x10b0]
lea rcx, [rbp - 8]
call fcn.1400e17a0
test eax, eax
je 0x14008b79c
lea rcx, [rbp + 0x8b0]
mov rax, rsi
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14008b570
cmp eax, 4
jbe 0x14008b791
add eax, 0xfffffffc
mov ecx, eax
lea rax, [rbp + 0x8b0]
lea rcx, [rax + rcx*2]
lea rdx, str..lnk
call fcn.1400eb7fc
test eax, eax
jne 0x14008b791
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r13
mov word [rsp + 0x38], r13w
cmp word [rbp + 0x8b0], ax
jne 0x14008b5c9
mov r8, r13
jmp 0x14008b5de
lea rax, [rbp + 0x8b0]
mov r8, rsi
inc r8
cmp word [rax + r8*2], 0
jne 0x14008b5d3
lea rdx, [rbp + 0x8b0]
lea rcx, [rsp + 0x38]
call fcn.140007750
nop
cmp word [rbp + 0x70], 0
jne 0x14008b5fc
mov r9, r13
jmp 0x14008b60e
lea rax, [rbp + 0x70]
mov r9, rsi
inc r9
cmp word [rax + r9*2], 0
jne 0x14008b603
xor r8d, r8d
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.1400079d0
cmp rax, 0xffffffffffffffff
je 0x14008b676
lea rax, [rbp + 0x70]
mov r8, rsi
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14008b630
cmp word [rbp + 0x280], 0
jne 0x14008b64a
mov rax, r13
jmp 0x14008b65e
lea rcx, [rbp + 0x280]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], 0
jne 0x14008b654
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x280]
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.14000c9f0
test dil, 1
je 0x14008b6ef
lea rcx, [rbp + 0x8b0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14008b77f
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
lea rcx, [rbp + 0x8b0]
call fcn.1400eb7fc
test eax, eax
jne 0x14008b6c1
mov dword [rbp + 0x2900], 1
jmp 0x14008b77f
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14008b77f
mov dword [rbp + 0x2900], 1
jmp 0x14008b77f
test dil, 8
je 0x14008b733
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
lea rcx, [rbp + 0x8b0]
call fcn.1400eb7fc
test eax, eax
je 0x14008b77f
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
xor r8d, r8d
lea rdx, [rbp + 0x8b0]
jmp 0x14008b778
test dil, 4
je 0x14008b77f
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
lea rcx, [rbp + 0x8b0]
call fcn.1400eb7fc
test eax, eax
je 0x14008b77f
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
mov r8d, 1
lea rcx, [rbp + 0x8b0]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
nop
cmp qword [rsp + 0x50], 8
jb 0x14008b791
mov rcx, qword [rsp + 0x38]
call fcn.1400e5d14
inc ebx
cmp ebx, 0x20
jle 0x14008b510
test dil, 1
je 0x14008bb6f
mov r8d, dword [rbp + 0x2900]
jmp 0x14008bb5b
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x2900]
lea r8, [rbp + 0x2900]
lea rdx, str.LocalizeShortcutNames
lea rcx, [rbp - 8]
call fcn.1400e1690
cmp dword [rbp + 0x2900], 0
jne 0x14008bb6f
lea rcx, [rsp + 0x60]
call fcn.1400cb020
test eax, eax
je 0x14008bb6f
test dil, 2
je 0x14008bb6f
mov rdi, qword [0x140271400]
mov dword [rbp + 0x2908], 0x800
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x2908]
lea r8, [rbp + 0x8b0]
lea rdx, str.Resource
lea rcx, [rsp + 0x60]
call fcn.1400cb1a0
test eax, eax
je 0x14008b85b
xor edx, edx
lea r8d, [rdx + 2]
lea rcx, [rbp + 0x8b0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14008bb6f
mov r8, rbx
mov rdx, 0xffffffff80000001
lea rcx, [rbp - 8]
call fcn.1400e1190
test eax, eax
je 0x14008b88c
xor r9d, r9d
mov r8d, dword [rbp + 0x2900]
lea rdx, str.LocalizeShortcutNames
lea rcx, [rbp - 8]
call fcn.1400e1af0
mov r14d, r13d
mov ebx, 1
mov r8d, ebx
lea rdx, str.Name_d
lea rcx, [rbp + 0x10b0]
call fcn.1400e7a5c
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0x10b0]
lea rcx, [rsp + 0x60]
call fcn.1400cb0a0
test eax, eax
je 0x14008bb34
xor r8d, r8d
mov dword [rsp + 0x20], r13d
mov r9, rdi
mov edx, dword [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.1400b1560
nop
mov rcx, r13
lea r13, [0x1401246c4]
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rcx + r13]
mov word [rbp + rcx + 0x18b0], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14008b900
xor r13d, r13d
mov r8d, ebx
lea rdx, str.OutputDir_d
lea rcx, [rbp + 0x10b0]
call fcn.1400e7a5c
mov dword [rbp + 0x2908], 0x800
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x2908]
lea r8, [rbp + 0x18b0]
lea rdx, [rbp + 0x10b0]
lea rcx, [rsp + 0x60]
call fcn.1400cb1a0
test eax, eax
je 0x14008bb1b
cmp dword [r12 + 0x17b8], r13d
jne 0x14008b9ac
lea rax, [rbp + 0x70]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], r13w
jne 0x14008b980
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x18b0]
call fcn.1400ee374
test eax, eax
jne 0x14008b9ac
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
jmp 0x14008bafe
mov r8d, ebx
lea rdx, str.Shortcut_d
lea rcx, [rbp + 0x10b0]
call fcn.1400e7a5c
mov dword [rbp + 0x2908], 0x800
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x2908]
lea r8, [rbp + 0x20b0]
lea rdx, [rbp + 0x10b0]
lea rcx, [rsp + 0x60]
call fcn.1400cb1a0
test eax, eax
je 0x14008bb1b
mov rax, qword [rsp + 0x30]
cmp dword [rax - 0x10], r13d
je 0x14008bafa
lea rdx, [rbp + 0x18b0]
sub rdx, 2
nop word [rax + rax]
lea rdx, [rdx + 2]
cmp word [rdx], r13w
jne 0x14008ba20
xor r8d, r8d
nop dword [rax]
movzx ecx, word [rax + r8*2]
mov word [rdx + r8*2], cx
lea r8, [r8 + 1]
test cx, cx
jne 0x14008ba30
lea rdx, [rbp + 0x18b0]
sub rdx, 2
nop
lea rdx, [rdx + 2]
cmp word [rdx], r13w
jne 0x14008ba50
movsd xmm0, qword [str..lnk]
movsd qword [rdx], xmm0
movzx ecx, word [0x140135c38]
mov word [rdx + 8], cx
lea rcx, [rbp + 0x20b0]
lea r9, [rbp + 0x18b0]
sub r9, rcx
movzx r8d, word [rcx]
movzx edx, word [rcx + r9]
sub r8d, edx
jne 0x14008ba98
add rcx, 2
test edx, edx
jne 0x14008ba82
test r8d, r8d
je 0x14008bafa
xor r8d, r8d
lea rdx, [rbp + 0x18b0]
lea rcx, [rbp + 0x20b0]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14008baf2
inc r14d
mov r8d, r14d
lea rdx, str.Shortcut_d
lea rcx, [rbp + 0x10b0]
call fcn.1400e7a5c
mov dword [rsp + 0x20], r13d
xor r9d, r9d
lea r8, [rbp + 0x18b0]
lea rdx, [rbp + 0x10b0]
lea rcx, [rbp - 8]
call fcn.1400e1ba0
jmp 0x14008baf5
mov r15d, r13d
mov rax, qword [rsp + 0x30]
lea rdx, [rax - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14008bb0e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc ebx
cmp ebx, 0x20
jle 0x14008b894
jmp 0x14008bb34
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14008bb34
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp rdi, qword [0x140271400]
je 0x14008bb46
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test r15d, r15d
je 0x14008bb6f
mov dword [rbp + 0x2900], 1
mov r8d, 1
xor r9d, r9d
lea rdx, str.LocalizeShortcutNames
lea rcx, [rbp - 8]
call fcn.1400e1af0
nop
lea rax, vtable.CSynList_class_CRegistryKey_.0
mov qword [rsp + 0x60], rax
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x14008bbee
test rbx, rbx
je 0x14008bbee
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx + 8]
test rcx, rcx
je 0x14008bb9d
mov qword [rcx + 8], rax
jmp 0x14008bba2
mov qword [rsp + 0x68], rax
mov rcx, qword [rbx + 8]
mov rax, qword [rbx + 0x10]
test rcx, rcx
je 0x14008bbb5
mov qword [rcx + 0x10], rax
jmp 0x14008bbba
mov qword [rsp + 0x70], rax
mov rdi, qword [rbx + 8]
cmp dword [rsp + 0x7c], 0
je 0x14008bbda
mov rcx, qword [rbx]
test rcx, rcx
je 0x14008bbda
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx], r13
mov rcx, rbx
call fcn.1400e5d14
mov rbx, rdi
dec dword [rsp + 0x78]
test rdi, rdi
jne 0x14008bb85
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
nop
lea rcx, [rbp - 0x10]
call fcn.1400ca820
mov rbx, qword [rsp + 0x29f0]
add rsp, 0x29b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret