Function at 0x14008aa40
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.1400e5730
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.1400c91f0
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.1400dbe60
or rsi, 0xffffffffffffffff
lea rbx, str.SoftwareSynapticsSynTPEnhShortcutConfig
cmp eax, 0xd
jne 0x14008ac3b
lea ecx, [rsi + 0xc]
call fcn.1400dc380
mov qword [rbp - 0x38], 0xf
mov qword [rbp - 0x40], r13
mov byte [rbp - 0x50], r13b
cmp byte [rax], r13b
jne 0x14008ab2d
mov r8d, r13d
jmp 0x14008ab3a
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x14008ab30
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140034710
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x20]
call fcn.1400331b0
mov r8, rax
cmp qword [rax + 0x18], 8
jb 0x14008ab61
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 0x14008ab70
test r8, r8
je 0x14008abe2
cmp word [r8], ax
je 0x14008abe2
cmp word [rbp + 0x490], ax
je 0x14008abb6
lea rcx, [rbp + 0x490]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14008aba4
mov eax, dword [0x140122f68]
mov dword [rcx], eax
lea rcx, [rbp + 0x490]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14008abc1
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 0x14008abd0
cmp qword [rbp + 0x38], 8
jb 0x14008abf2
mov rcx, qword [rbp + 0x20]
call fcn.1400e3e78
mov qword [rbp + 0x38], 7
mov qword [rbp + 0x30], r13
mov word [rbp + 0x20], r13w
cmp qword [rbp - 0x38], 0x10
jb 0x14008ac13
mov rcx, qword [rbp - 0x50]
call fcn.1400e3e78
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.1400c98b0
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.1400c98b0
xor ecx, ecx
call fcn.1400dc380
mov qword [rbp - 0x18], 0xf
mov qword [rbp - 0x20], r13
mov byte [rbp - 0x30], 0
cmp byte [rax], 0
jne 0x14008ac80
mov r8, r13
jmp 0x14008ac8d
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x14008ac83
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140034710
nop
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x40]
call fcn.1400331b0
mov r8, rax
cmp qword [rax + 0x18], 8
jb 0x14008acb4
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 0x14008acc0
test r8, r8
je 0x14008ad32
cmp word [r8], ax
je 0x14008ad32
cmp word [rbp + 0x6a0], ax
je 0x14008ad06
lea rcx, [rbp + 0x6a0]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14008acf4
mov eax, dword [0x140122f68]
mov dword [rcx], eax
lea rcx, [rbp + 0x6a0]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14008ad11
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 0x14008ad20
cmp qword [rbp + 0x58], 8
jb 0x14008ad42
mov rcx, qword [rbp + 0x40]
call fcn.1400e3e78
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], r13
mov word [rbp + 0x40], r13w
cmp qword [rbp - 0x18], 0x10
jb 0x14008ad63
mov rcx, qword [rbp - 0x30]
call fcn.1400e3e78
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.1400c98b0
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.1400c9360
test eax, eax
je 0x14008b0e2
test dil, 0xd
je 0x14008b0b2
lea rcx, [rbp + 0x280]
sub rcx, 2
nop dword [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14008add0
movsd xmm0, qword [str.SYNTP]
movsd qword [rcx], xmm0
mov eax, dword [0x140133730]
mov dword [rcx + 8], eax
movzx eax, word [0x140133734]
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.1400e5bbc
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.1400dfb40
test eax, eax
je 0x14008b09c
lea rcx, [rbp + 0x8b0]
mov rax, rsi
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14008ae70
cmp eax, 4
jbe 0x14008b091
add eax, 0xfffffffc
mov ecx, eax
lea rax, [rbp + 0x8b0]
lea rcx, [rax + rcx*2]
lea rdx, str..lnk
call fcn.1400e995c
test eax, eax
jne 0x14008b091
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r13
mov word [rsp + 0x38], r13w
cmp word [rbp + 0x8b0], ax
jne 0x14008aec9
mov r8, r13
jmp 0x14008aede
lea rax, [rbp + 0x8b0]
mov r8, rsi
inc r8
cmp word [rax + r8*2], 0
jne 0x14008aed3
lea rdx, [rbp + 0x8b0]
lea rcx, [rsp + 0x38]
call fcn.1400079e0
nop
cmp word [rbp + 0x70], 0
jne 0x14008aefc
mov r9, r13
jmp 0x14008af0e
lea rax, [rbp + 0x70]
mov r9, rsi
inc r9
cmp word [rax + r9*2], 0
jne 0x14008af03
xor r8d, r8d
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.140007c60
cmp rax, 0xffffffffffffffff
je 0x14008af76
lea rax, [rbp + 0x70]
mov r8, rsi
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14008af30
cmp word [rbp + 0x280], 0
jne 0x14008af4a
mov rax, r13
jmp 0x14008af5e
lea rcx, [rbp + 0x280]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], 0
jne 0x14008af54
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x280]
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.14000cc00
test dil, 1
je 0x14008afef
lea rcx, [rbp + 0x8b0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14008b07f
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
lea rcx, [rbp + 0x8b0]
call fcn.1400e995c
test eax, eax
jne 0x14008afc1
mov dword [rbp + 0x2900], 1
jmp 0x14008b07f
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 0x14008b07f
mov dword [rbp + 0x2900], 1
jmp 0x14008b07f
test dil, 8
je 0x14008b033
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
lea rcx, [rbp + 0x8b0]
call fcn.1400e995c
test eax, eax
je 0x14008b07f
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
xor r8d, r8d
lea rdx, [rbp + 0x8b0]
jmp 0x14008b078
test dil, 4
je 0x14008b07f
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
lea rcx, [rbp + 0x8b0]
call fcn.1400e995c
test eax, eax
je 0x14008b07f
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 0x14008b091
mov rcx, qword [rsp + 0x38]
call fcn.1400e3e78
inc ebx
cmp ebx, 0x20
jle 0x14008ae10
test dil, 1
je 0x14008b46f
mov r8d, dword [rbp + 0x2900]
jmp 0x14008b45b
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x2900]
lea r8, [rbp + 0x2900]
lea rdx, str.LocalizeShortcutNames
lea rcx, [rbp - 8]
call fcn.1400dfa30
cmp dword [rbp + 0x2900], 0
jne 0x14008b46f
lea rcx, [rsp + 0x60]
call fcn.1400c9b00
test eax, eax
je 0x14008b46f
test dil, 2
je 0x14008b46f
mov rdi, qword [0x14026e3d0]
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.1400c9c80
test eax, eax
je 0x14008b15b
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 0x14008b46f
mov r8, rbx
mov rdx, 0xffffffff80000001
lea rcx, [rbp - 8]
call fcn.1400df530
test eax, eax
je 0x14008b18c
xor r9d, r9d
mov r8d, dword [rbp + 0x2900]
lea rdx, str.LocalizeShortcutNames
lea rcx, [rbp - 8]
call fcn.1400dfe90
mov r14d, r13d
mov ebx, 1
mov r8d, ebx
lea rdx, str.Name_d
lea rcx, [rbp + 0x10b0]
call fcn.1400e5bbc
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0x10b0]
lea rcx, [rsp + 0x60]
call fcn.1400c9b80
test eax, eax
je 0x14008b434
xor r8d, r8d
mov dword [rsp + 0x20], r13d
mov r9, rdi
mov edx, dword [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.1400b0300
nop
mov rcx, r13
lea r13, [0x1401226e8]
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 0x14008b200
xor r13d, r13d
mov r8d, ebx
lea rdx, str.OutputDir_d
lea rcx, [rbp + 0x10b0]
call fcn.1400e5bbc
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.1400c9c80
test eax, eax
je 0x14008b41b
cmp dword [r12 + 0x1790], r13d
jne 0x14008b2ac
lea rax, [rbp + 0x70]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], r13w
jne 0x14008b280
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x18b0]
call fcn.1400ec4d4
test eax, eax
jne 0x14008b2ac
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
jmp 0x14008b3fe
mov r8d, ebx
lea rdx, str.Shortcut_d
lea rcx, [rbp + 0x10b0]
call fcn.1400e5bbc
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.1400c9c80
test eax, eax
je 0x14008b41b
mov rax, qword [rsp + 0x30]
cmp dword [rax - 0x10], r13d
je 0x14008b3fa
lea rdx, [rbp + 0x18b0]
sub rdx, 2
nop word [rax + rax]
lea rdx, [rdx + 2]
cmp word [rdx], r13w
jne 0x14008b320
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 0x14008b330
lea rdx, [rbp + 0x18b0]
sub rdx, 2
nop
lea rdx, [rdx + 2]
cmp word [rdx], r13w
jne 0x14008b350
movsd xmm0, qword [str..lnk]
movsd qword [rdx], xmm0
movzx ecx, word [0x140133758]
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 0x14008b398
add rcx, 2
test edx, edx
jne 0x14008b382
test r8d, r8d
je 0x14008b3fa
xor r8d, r8d
lea rdx, [rbp + 0x18b0]
lea rcx, [rbp + 0x20b0]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14008b3f2
inc r14d
mov r8d, r14d
lea rdx, str.Shortcut_d
lea rcx, [rbp + 0x10b0]
call fcn.1400e5bbc
mov dword [rsp + 0x20], r13d
xor r9d, r9d
lea r8, [rbp + 0x18b0]
lea rdx, [rbp + 0x10b0]
lea rcx, [rbp - 8]
call fcn.1400dff40
jmp 0x14008b3f5
mov r15d, r13d
mov rax, qword [rsp + 0x30]
lea rdx, [rax - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14008b40e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc ebx
cmp ebx, 0x20
jle 0x14008b194
jmp 0x14008b434
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14008b434
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp rdi, qword [0x14026e3d0]
je 0x14008b446
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test r15d, r15d
je 0x14008b46f
mov dword [rbp + 0x2900], 1
mov r8d, 1
xor r9d, r9d
lea rdx, str.LocalizeShortcutNames
lea rcx, [rbp - 8]
call fcn.1400dfe90
nop
lea rax, vtable.CSynList_class_CRegistryKey_.0
mov qword [rsp + 0x60], rax
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x14008b4ee
test rbx, rbx
je 0x14008b4ee
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx + 8]
test rcx, rcx
je 0x14008b49d
mov qword [rcx + 8], rax
jmp 0x14008b4a2
mov qword [rsp + 0x68], rax
mov rcx, qword [rbx + 8]
mov rax, qword [rbx + 0x10]
test rcx, rcx
je 0x14008b4b5
mov qword [rcx + 0x10], rax
jmp 0x14008b4ba
mov qword [rsp + 0x70], rax
mov rdi, qword [rbx + 8]
cmp dword [rsp + 0x7c], 0
je 0x14008b4da
mov rcx, qword [rbx]
test rcx, rcx
je 0x14008b4da
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx], r13
mov rcx, rbx
call fcn.1400e3e78
mov rbx, rdi
dec dword [rsp + 0x78]
test rdi, rdi
jne 0x14008b485
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
nop
lea rcx, [rbp - 0x10]
call fcn.1400c9300
mov rbx, qword [rsp + 0x29f0]
add rsp, 0x29b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret