Function at 0x425310
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 0x5864eb
mov eax, dword fs:[0]
push eax
sub esp, 0x690
mov eax, dword [0x5eb770]
xor eax, esp
mov dword [esp + 0x688], eax
push ebx
push esi
push edi
mov eax, dword [0x5eb770]
xor eax, esp
push eax
lea eax, [esp + 0x6a0]
mov dword fs:[0], eax
xor esi, esi
push esi
push str.Tool_UnInstallMFNPportMonitor
push esi
lea ecx, [esp + 0x1c]
call fcn.0044ca70
add esp, 0xc
mov dword [esp + 0x6a8], esi
call fcn.0046d2d8
mov edi, dword [eax + 4]
mov dword [esp + 0x1c], edi
cmp edi, esi
jne 0x4253ac
push esi
push str.return___08x
push 2
lea eax, [esp + 0x1c]
push eax
call fcn.0044cd10
add esp, 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 0x6a8], 0xffffffff
call fcn.0044cc70
xor eax, eax
jmp 0x425723
mov eax, dword [edi + 0x8c8]
mov ecx, str.item_not_found__
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4253dd
cmp dx, si
je 0x4253d9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4253dd
add eax, 4
add ecx, 4
cmp dx, si
jne 0x4253b7
xor eax, eax
jmp 0x4253e2
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x4256f4
mov eax, dword [edi + 0x8c4]
mov ecx, str.item_not_found__
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42541b
cmp dx, si
je 0x425417
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42541b
add eax, 4
add ecx, 4
cmp dx, si
jne 0x4253f5
xor eax, eax
jmp 0x425420
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x4256f4
push 0x204
lea ecx, [esp + 0x28c]
push esi
push ecx
mov dword [esp + 0x290], esi
call fcn.0055ca80
add esp, 0xc
lea ecx, [esp + 0x284]
call fcn.004180d0
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea edx, [esp + 0x284]
push edx
call ebx
test eax, eax
je 0x4256f4
mov ecx, dword [edi + 0x8c8]
cmp dword [ecx - 0xc], esi
je 0x4256e2
mov edx, dword [edi + 0x8c4]
cmp dword [edx - 0xc], esi
je 0x4256e2
push 0x204
lea eax, [esp + 0x494]
push esi
push eax
mov dword [esp + 0x498], esi
call fcn.0055ca80
mov ecx, dword [edi + 0x8c4]
add esp, 0xc
push ecx
lea edx, [esp + 0x288]
push edx
push 0x5b7940
push 0xffffffffffffffff
lea eax, [esp + 0x49c]
push 0x104
push eax
call fcn.005578de
add esp, 0x18
lea ecx, [esp + 0x48c]
mov esi, 1
push ecx
mov dword [esp + 0x1c], esi
call ebx
test eax, eax
je 0x425642
push 0x44
lea edx, [esp + 0x38]
push 0
push edx
call fcn.0055ca80
add esp, 0xc
xor eax, eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x38]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov word [esp + 0x88], ax
lea eax, [esp + 0x4b0]
push eax
mov dword [esp + 0x5c], 0x44
mov dword [esp + 0x88], esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x425559
push eax
push str.return___08x
push 2
lea ecx, [esp + 0x1c]
push ecx
jmp 0x425389
mov edx, dword [esp + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x24]
push edx
mov dword [esp + 0x24], 0
call edi
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x42558c
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push esi
call edi
push 0x20
lea ecx, [esp + 0x490]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
jmp 0x4255b0
lea edx, [esp + 0x48c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4255cc
push 0xa
call edi
inc esi
cmp esi, 0x64
jl 0x4255b0
mov edi, dword [esp + 0x1c]
xor esi, esi
push 0x204
lea eax, [esp + 0x84]
push esi
push eax
mov dword [esp + 0x88], esi
call fcn.0055ca80
mov ecx, dword [edi + 0x8c8]
add esp, 0xc
push ecx
lea edx, [esp + 0x288]
push edx
push 0x5b7940
push 0xffffffffffffffff
lea eax, [esp + 0x8c]
push 0x104
push eax
call fcn.005578de
add esp, 0x18
lea ecx, [esp + 0x7c]
push ecx
call ebx
test eax, eax
je 0x42564a
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 0x42564e
xor esi, esi
mov dword [esp + 0x18], esi
jmp 0x4255d2
mov dword [esp + 0x18], esi
push str.MFNP_ALRDY_INST.ini
lea ecx, [esp + 0x288]
push ecx
push 0x5b7940
push 0xffffffffffffffff
lea edx, [esp + 0x8c]
push 0x104
push edx
call fcn.005578de
add esp, 0x18
lea eax, [esp + 0x7c]
push eax
call ebx
test eax, eax
je 0x42569f
push 0x20
lea ecx, [esp + 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edx, [esp + 0x7c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4256a3
mov dword [esp + 0x18], esi
lea eax, [esp + 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, dword [esp + 0x18]
push esi
push str.return___08x
lea ecx, [esp + 0x18]
push 2
push ecx
call fcn.0044cd10
add esp, 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 0x6a8], 0xffffffff
call fcn.0044cc70
mov eax, esi
jmp 0x425723
push esi
push str.return___08x
push 2
lea edx, [esp + 0x1c]
push edx
jmp 0x425389
push 1
push str.return___08x
lea eax, [esp + 0x18]
push 2
push eax
call fcn.0044cd10
add esp, 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 0x6a8], 0xffffffff
call fcn.0044cc70
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.0055649d
mov esp, ebp
pop ebp
ret