Function at 0x140019980
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 [0x1400512d0]
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.14000e180
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x2f]
call fcn.140013f60
nop
cmp dword [rbp - 0x69], esi
je 0x140019bef
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, [0x14004548c]
lea rcx, [rbp + 0xf]
call fcn.14000e180
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.14000dc10
nop
lea r8, [rbp + 0xf]
lea rdx, [rbp - 0x61]
mov rcx, rdi
call fcn.140018340
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.14000e180
xor edx, edx
lea rcx, [rbp - 0x61]
call fcn.14001fc60
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.14000e180
xor edx, edx
lea rcx, [rbp - 0x61]
call fcn.14001fc60
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 [0x140043a80], r8w
setne r8b
lea rdx, [0x140043a80]
lea rcx, [rbp + 0xf]
call fcn.14000e180
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.14000e180
xor r8d, r8d
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x11]
call fcn.140013f60
nop
xor r9d, r9d
lea r8d, [rsi + 1]
lea rdx, [rbp + 0xf]
mov rcx, rax
call fcn.14001d9d0
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.14000e180
xor r8d, r8d
lea rdx, [rbp - 0x61]
lea rcx, [rbp + 0xf]
call fcn.140013f60
cmp qword [rax + 0x18], 8
jb 0x140019b72
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp qword [rbp + 0x27], 8
jb 0x140019b8b
mov rcx, qword [rbp + 0xf]
call fcn.140021650
mov qword [rbp - 0x49], 7
mov qword [rbp - 0x51], rsi
mov word [rbp - 0x61], si
mov r8d, 0xa
lea rdx, [0x1400421f0]
lea rcx, [rbp - 0x61]
call fcn.14000e180
xor r8d, r8d
lea rdx, [rbp - 0x61]
lea rcx, [rbp + 0xf]
call fcn.140013f60
cmp qword [rax + 0x18], 8
jb 0x140019bcb
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp qword [rbp + 0x27], 8
jb 0x140019be4
mov rcx, qword [rbp + 0xf]
call fcn.140021650
mov ecx, 0x18
call fcn.140007790
nop
cmp qword [rbp + 0x47], 8
jb 0x140019bff
mov rcx, qword [rbp + 0x2f]
call fcn.140021650
mov eax, dword [rbp - 0x69]
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140021670
lea r11, [rsp + 0xe0]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret