Function at 0x140028e30
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 [0x140260d50]
xor rax, rsp
mov qword [rbp + 0x630], rax
xor r8d, r8d
lea rdx, str.Tool_UnInstallMFNPportMonitor
lea rcx, [rsp + 0x50]
call fcn.14000b870
nop
call fcn.140050920
mov rbx, qword [rax + 8]
test rbx, rbx
jne 0x140028eb7
xor r9d, r9d
lea r8, str.return___08x
lea edx, [rbx + 2]
lea rcx, [rsp + 0x50]
call fcn.14000ba50
nop
lea rcx, [rsp + 0x50]
call fcn.14000ba00
xor eax, eax
jmp 0x14002924e
xor eax, eax
lea rdi, str.item_not_found__
mov rsi, qword [rbx + 0xaa0]
mov ecx, 0x11
repe cmpsw word [rsi], word [rdi]
je 0x140028ed6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x140029225
xor eax, eax
lea rdi, str.item_not_found__
mov rsi, qword [rbx + 0xa98]
mov ecx, 0x11
repe cmpsw word [rsi], word [rdi]
je 0x140028efd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x140029225
xor r12d, r12d
mov dword [rbp + 0x210], r12d
xor edx, edx
mov r8d, 0x204
lea rcx, [rbp + 0x214]
call fcn.140193010
lea rcx, [rbp + 0x210]
call fcn.140015e20
lea rcx, [rbp + 0x210]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140028f62
mov edi, 1
mov r9d, edi
lea r8, str.return___08x
lea edx, [rax + 2]
lea rcx, [rsp + 0x50]
call fcn.14000ba50
nop
jmp 0x140029242
mov rax, qword [rbx + 0xaa0]
cmp dword [rax - 0x10], r12d
je 0x1400291fe
mov rax, qword [rbx + 0xa98]
cmp dword [rax - 0x10], r12d
je 0x1400291fe
mov dword [rbp + 0x420], r12d
xor edx, edx
mov r8d, 0x204
lea rcx, [rbp + 0x424]
call fcn.140193010
mov rdx, qword [rbx + 0xa98]
mov qword [rsp + 0x28], rdx
lea rax, [rbp + 0x210]
mov qword [rsp + 0x20], rax
lea r9, [0x140212328]
or r8, 0xffffffffffffffff
mov edx, 0x104
lea rcx, [rbp + 0x420]
call fcn.14019119c
mov edi, 1
lea rcx, [rbp + 0x420]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140029103
xor edx, edx
lea r8d, [rdi + 0x67]
lea rcx, [rbp - 0x70]
call fcn.140193010
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 0x140029083
xor r9d, r9d
lea r8, str.return___08x
lea edx, [rdi + 1]
lea rcx, [rsp + 0x50]
call fcn.14000ba50
nop
lea rcx, [rsp + 0x50]
call fcn.14000ba00
xor eax, eax
jmp 0x14002924e
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 0x1400290b7
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 0x140029106
lea ecx, [rax + 0xa]
call qword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x64
jl 0x1400290e0
jmp 0x140029106
mov edi, r12d
mov dword [rbp], r12d
xor edx, edx
mov r8d, 0x204
lea rcx, [rbp + 4]
call fcn.140193010
mov rdx, qword [rbx + 0xaa0]
mov qword [rsp + 0x28], rdx
lea rax, [rbp + 0x210]
mov qword [rsp + 0x20], rax
lea r9, [0x140212328]
or r8, 0xffffffffffffffff
mov edx, 0x104
lea rcx, [rbp]
call fcn.14019119c
lea rcx, [rbp]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140029175
mov edx, 0x20
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x140029178
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, [0x140212328]
or r8, 0xffffffffffffffff
mov edx, 0x104
lea rcx, [rbp]
call fcn.14019119c
lea rcx, [rbp]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400291d2
mov edx, 0x20
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1400291d5
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.14000ba50
nop
jmp 0x140029242
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rsp + 0x50]
call fcn.14000ba50
nop
lea rcx, [rsp + 0x50]
call fcn.14000ba00
xor eax, eax
jmp 0x14002924e
mov edi, 1
mov r9d, edi
lea r8, str.return___08x
lea edx, [rdi + 1]
lea rcx, [rsp + 0x50]
call fcn.14000ba50
nop
lea rcx, [rsp + 0x50]
call fcn.14000ba00
mov eax, edi
mov rcx, qword [rbp + 0x630]
xor rcx, rsp
call fcn.14018e5d0
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