Function at 0x140012e30
Capabilities:
Delete directory

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400442d0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rdi, rcx
xor esi, esi
mov dword [rbp - 0x69], esi
mov qword [rbp - 0x21], 7
mov qword [rbp - 0x29], rsi
mov word [rbp - 0x39], si
lea r8d, [rsi + 0x1d]
lea rdx, str.SynapticsSynTPSynTPEnh.exe
lea rcx, [rbp - 0x39]
call fcn.14000c8f0
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x2f]
call fcn.14000ea50
nop
cmp dword [rbp - 0x69], esi
je 0x14001309f
lea rax, [rbp + 0xf]
mov qword [rbp - 0x41], rax
mov qword [rbp + 0x27], 7
mov qword [rbp + 0x1f], rsi
mov word [rbp + 0xf], si
lea r8d, [rsi + 2]
lea rdx, [0x140039e2c]
lea rcx, [rbp + 0xf]
call fcn.14000c8f0
nop
mov qword [rbp - 0x49], 7
mov qword [rbp - 0x51], rsi
mov word [rbp - 0x61], si
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x2f]
lea rcx, [rbp - 0x61]
call fcn.14000c350
nop
lea r8, [rbp + 0xf]
lea rdx, [rbp - 0x61]
mov rcx, rdi
call fcn.140011db0
mov qword [rbp - 0x49], 7
mov qword [rbp - 0x51], rsi
mov word [rbp - 0x61], si
lea r8d, [rsi + 0x13]
lea rdx, str._IM_SynTPEnh.exe__F
lea rcx, [rbp - 0x61]
call fcn.14000c8f0
xor edx, edx
lea rcx, [rbp - 0x61]
call fcn.140017780
mov qword [rbp - 0x49], 7
mov qword [rbp - 0x51], rsi
mov word [rbp - 0x61], si
lea r8d, [rsi + 0x16]
lea rdx, str._IM_SynTPHelper.exe__F
lea rcx, [rbp - 0x61]
call fcn.14000c8f0
xor edx, edx
lea rcx, [rbp - 0x61]
call fcn.140017780
lea rax, [rbp + 0xf]
mov qword [rbp - 0x41], rax
mov qword [rbp + 0x27], 7
mov qword [rbp + 0x1f], rsi
mov word [rbp + 0xf], si
mov r8d, esi
cmp word [0x14003a2c0], r8w
setne r8b
lea rdx, [0x14003a2c0]
lea rcx, [rbp + 0xf]
call fcn.14000c8f0
nop
mov qword [rbp - 0x49], 7
mov qword [rbp - 0x51], rsi
mov word [rbp - 0x61], si
lea r8d, [rsi + 0x10]
lea rdx, str.SynapticsSynTP
lea rcx, [rbp - 0x61]
call fcn.14000c8f0
xor r8d, r8d
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x11]
call fcn.14000ea50
nop
xor r9d, r9d
lea r8d, [rsi + 1]
lea rdx, [rbp + 0xf]
mov rcx, rax
call fcn.140015880
mov qword [rbp - 0x49], 7
mov qword [rbp - 0x51], rsi
mov word [rbp - 0x61], si
lea r8d, [rsi + 0x10]
lea rdx, str.SynapticsSynTP
lea rcx, [rbp - 0x61]
call fcn.14000c8f0
xor r8d, r8d
lea rdx, [rbp - 0x61]
lea rcx, [rbp + 0xf]
call fcn.14000ea50
cmp qword [rax + 0x18], 8
jb 0x140013022
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp qword [rbp + 0x27], 8
jb 0x14001303b
mov rcx, qword [rbp + 0xf]
call fcn.140018e6c
mov qword [rbp - 0x49], 7
mov qword [rbp - 0x51], rsi
mov word [rbp - 0x61], si
mov r8d, 0xa
lea rdx, [0x140038988]
lea rcx, [rbp - 0x61]
call fcn.14000c8f0
xor r8d, r8d
lea rdx, [rbp - 0x61]
lea rcx, [rbp + 0xf]
call fcn.14000ea50
cmp qword [rax + 0x18], 8
jb 0x14001307b
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp qword [rbp + 0x27], 8
jb 0x140013094
mov rcx, qword [rbp + 0xf]
call fcn.140018e6c
mov ecx, 0x18
call fcn.140006c60
nop
cmp qword [rbp + 0x47], 8
jb 0x1400130af
mov rcx, qword [rbp + 0x2f]
call fcn.140018e6c
mov eax, dword [rbp - 0x69]
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140018e90
lea r11, [rsp + 0xe0]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret