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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x563b6b
mov eax, dword fs:[0]
push eax
sub esp, 0x690
mov eax, dword [0x5c0490]
xor eax, esp
mov dword [esp + 0x688], eax
push ebx
push esi
push edi
mov eax, dword [0x5c0490]
xor eax, esp
push eax
lea eax, [esp + 0x6a0]
mov dword fs:[0], eax
xor esi, esi
push esi
lea eax, [esp + 0x14]
push str.Tool_UnInstallMFNPportMonitor
push eax
call fcn.00401190
add esp, 0xc
mov dword [esp + 0x6a8], esi
call fcn.0044b52d
mov edi, dword [eax + 4]
mov dword [esp + 0x1c], edi
cmp edi, esi
jne 0x428edc
push esi
push str.return___08x
push 2
lea ecx, [esp + 0x1c]
push ecx
call fcn.00401410
add esp, 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 0x6a8], 0xffffffff
call fcn.00401370
xor eax, eax
jmp 0x429253
mov eax, dword [edi + 0x878]
mov ecx, str.item_not_found__
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x428f0d
cmp dx, si
je 0x428f09
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x428f0d
add eax, 4
add ecx, 4
cmp dx, si
jne 0x428ee7
xor eax, eax
jmp 0x428f12
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x429224
mov eax, dword [edi + 0x874]
mov ecx, str.item_not_found__
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x428f4b
cmp dx, si
je 0x428f47
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x428f4b
add eax, 4
add ecx, 4
cmp dx, si
jne 0x428f25
xor eax, eax
jmp 0x428f50
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x429224
push 0x204
lea edx, [esp + 0x28c]
push esi
push edx
mov dword [esp + 0x290], esi
call fcn.00541d20
add esp, 0xc
lea ecx, [esp + 0x284]
call fcn.0041be60
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [esp + 0x284]
push eax
call ebx
test eax, eax
je 0x429224
mov edx, dword [edi + 0x878]
cmp dword [edx - 0xc], esi
je 0x429212
mov eax, dword [edi + 0x874]
cmp dword [eax - 0xc], esi
je 0x429212
push 0x204
lea ecx, [esp + 0x494]
push esi
push ecx
mov dword [esp + 0x498], esi
call fcn.00541d20
mov edx, dword [edi + 0x874]
add esp, 0xc
push edx
lea eax, [esp + 0x288]
push eax
push 0x594b70
push 0xffffffffffffffff
lea ecx, [esp + 0x49c]
push 0x104
push ecx
call fcn.0053caa0
add esp, 0x18
lea edx, [esp + 0x48c]
mov esi, 1
push edx
mov dword [esp + 0x1c], esi
call ebx
test eax, eax
je 0x429172
push 0x44
lea eax, [esp + 0x38]
push 0
push eax
call fcn.00541d20
add esp, 0xc
xor eax, eax
xor ecx, ecx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x38]
push eax
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov word [esp + 0x88], cx
lea ecx, [esp + 0x4b0]
push ecx
mov dword [esp + 0x5c], 0x44
mov dword [esp + 0x88], esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x42908b
push eax
push str.return___08x
push 2
lea edx, [esp + 0x1c]
push edx
jmp 0x428eb9
mov eax, dword [esp + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x24]
push eax
mov dword [esp + 0x24], 0
call edi
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x4290be
lea ecx, [esp + 0x20]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push esi
call edi
push 0x20
lea edx, [esp + 0x490]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
lea esp, [esp]
lea eax, [esp + 0x48c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4290fc
push 0xa
call edi
inc esi
cmp esi, 0x64
jl 0x4290e0
mov edi, dword [esp + 0x1c]
xor esi, esi
push 0x204
lea ecx, [esp + 0x84]
push esi
push ecx
mov dword [esp + 0x88], esi
call fcn.00541d20
mov edx, dword [edi + 0x878]
add esp, 0xc
push edx
lea eax, [esp + 0x288]
push eax
push 0x594b70
push 0xffffffffffffffff
lea ecx, [esp + 0x8c]
push 0x104
push ecx
call fcn.0053caa0
add esp, 0x18
lea edx, [esp + 0x7c]
push edx
call ebx
test eax, eax
je 0x42917a
push 0x20
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0x7c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x42917e
xor esi, esi
mov dword [esp + 0x18], esi
jmp 0x429102
mov dword [esp + 0x18], esi
push str.MFNP_ALRDY_INST.ini
lea edx, [esp + 0x288]
push edx
push 0x594b70
push 0xffffffffffffffff
lea eax, [esp + 0x8c]
push 0x104
push eax
call fcn.0053caa0
add esp, 0x18
lea ecx, [esp + 0x7c]
push ecx
call ebx
test eax, eax
je 0x4291cf
push 0x20
lea edx, [esp + 0x80]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4291d3
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x284]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, dword [esp + 0x18]
push esi
push str.return___08x
lea edx, [esp + 0x18]
push 2
push edx
call fcn.00401410
add esp, 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 0x6a8], 0xffffffff
call fcn.00401370
mov eax, esi
jmp 0x429253
push esi
push str.return___08x
push 2
lea eax, [esp + 0x1c]
push eax
jmp 0x428eb9
push 1
push str.return___08x
lea ecx, [esp + 0x18]
push 2
push ecx
call fcn.00401410
add esp, 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 0x6a8], 0xffffffff
call fcn.00401370
mov eax, 1
mov ecx, dword [esp + 0x6a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x688]
xor ecx, esp
call fcn.0053ca73
mov esp, ebp
pop ebp
ret