Function at 0x14001b550
Capabilities:
Check if file exists
Create process on windows
Delete directory
Delete file
Set file attributes

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x648]
sub rsp, 0x740
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x14027bbd0]
xor rax, rsp
mov qword [rbp + 0x630], rax
xor r8d, r8d
lea rdx, str.Tool_UnInstallMFNPportMonitor
lea rcx, [rsp + 0x50]
call fcn.140017fc0
nop
call fcn.140054cb8
mov rbx, qword [rax + 8]
test rbx, rbx
jne 0x14001b5d7
xor r9d, r9d
lea r8, str.return___08x
lea edx, [rbx + 2]
lea rcx, [rsp + 0x50]
call fcn.140017c80
nop
lea rcx, [rsp + 0x50]
call fcn.140018150
xor eax, eax
jmp 0x14001b96e
xor eax, eax
lea rdi, str.item_not_found__
mov rsi, qword [rbx + 0xaa0]
mov ecx, 0x11
repe cmpsw word [rsi], word [rdi]
je 0x14001b5f6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x14001b945
xor eax, eax
lea rdi, str.item_not_found__
mov rsi, qword [rbx + 0xa98]
mov ecx, 0x11
repe cmpsw word [rsi], word [rdi]
je 0x14001b61d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x14001b945
xor r12d, r12d
mov dword [rbp + 0x210], r12d
xor edx, edx
mov r8d, 0x204
lea rcx, [rbp + 0x214]
call fcn.140192cb0
mov edx, 0x104
lea rcx, [rbp + 0x210]
call fcn.14000e7b0
lea rcx, [rbp + 0x210]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14001b687
mov edi, 1
mov r9d, edi
lea r8, str.return___08x
lea edx, [rax + 2]
lea rcx, [rsp + 0x50]
call fcn.140017c80
nop
jmp 0x14001b962
mov rax, qword [rbx + 0xaa0]
cmp dword [rax - 0x10], r12d
je 0x14001b91e
mov rax, qword [rbx + 0xa98]
cmp dword [rax - 0x10], r12d
je 0x14001b91e
mov dword [rbp + 0x420], r12d
xor edx, edx
mov r8d, 0x204
lea rcx, [rbp + 0x424]
call fcn.140192cb0
mov rdx, qword [rbx + 0xa98]
mov qword [rsp + 0x28], rdx
lea rax, [rbp + 0x210]
mov qword [rsp + 0x20], rax
lea r9, [0x1401c9460]
or r8, 0xffffffffffffffff
mov edx, 0x104
lea rcx, [rbp + 0x420]
call fcn.140196124
mov edi, 1
lea rcx, [rbp + 0x420]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14001b823
xor edx, edx
lea r8d, [rdi + 0x67]
lea rcx, [rbp - 0x70]
call fcn.140192cb0
xor edx, edx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x78], rdx
mov dword [rbp - 0x70], 0x68
mov dword [rbp - 0x34], edi
mov word [rbp - 0x30], r12w
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rcx, [rbp + 0x420]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14001b7a8
xor r9d, r9d
lea r8, str.return___08x
lea edx, [rdi + 1]
lea rcx, [rsp + 0x50]
call fcn.140017c80
nop
lea rcx, [rsp + 0x50]
call fcn.140018150
xor eax, eax
jmp 0x14001b96e
mov rsi, qword [rsp + 0x68]
mov dword [rsp + 0x60], r12d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or edx, 0xffffffff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x14001b7dc
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x20
lea rcx, [rbp + 0x420]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, r12d
nop word [rax + rax]
lea rcx, [rbp + 0x420]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14001b826
lea ecx, [rax + 0xa]
call qword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x64
jl 0x14001b800
jmp 0x14001b826
mov edi, r12d
mov dword [rbp], r12d
xor edx, edx
mov r8d, 0x204
lea rcx, [rbp + 4]
call fcn.140192cb0
mov rdx, qword [rbx + 0xaa0]
mov qword [rsp + 0x28], rdx
lea rax, [rbp + 0x210]
mov qword [rsp + 0x20], rax
lea r9, [0x1401c9460]
or r8, 0xffffffffffffffff
mov edx, 0x104
lea rcx, [rbp]
call fcn.140196124
lea rcx, [rbp]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14001b895
mov edx, 0x20
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14001b898
mov edi, r12d
lea rax, str.MFNP_ALRDY_INST.ini
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x210]
mov qword [rsp + 0x20], rax
lea r9, [0x1401c9460]
or r8, 0xffffffffffffffff
mov edx, 0x104
lea rcx, [rbp]
call fcn.140196124
lea rcx, [rbp]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14001b8f2
mov edx, 0x20
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14001b8f5
mov edi, r12d
lea rcx, [rbp + 0x210]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov r9d, edi
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.140017c80
nop
jmp 0x14001b962
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rsp + 0x50]
call fcn.140017c80
nop
lea rcx, [rsp + 0x50]
call fcn.140018150
xor eax, eax
jmp 0x14001b96e
mov edi, 1
mov r9d, edi
lea r8, str.return___08x
lea edx, [rdi + 1]
lea rcx, [rsp + 0x50]
call fcn.140017c80
nop
lea rcx, [rsp + 0x50]
call fcn.140018150
mov eax, edi
mov rcx, qword [rbp + 0x630]
xor rcx, rsp
call fcn.1401945b0
lea r11, [rsp + 0x740]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r12, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret