Function at 0x425a19
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push 0xb0
mov eax, 0x4ca6fc
call fcn.00496d1f
mov esi, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0xbc], edi
call fcn.00427fe3
xor ebx, ebx
lea ecx, [ebp - 0x58]
push esi
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call fcn.0040458e
lea eax, [ebp - 0xa0]
mov dword [ebp - 4], ebx
push eax
call fcn.004268d5
mov dword [esp], 0x4d34ec
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push eax
call fcn.00401c6d
add esp, 0xc
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 3
call fcn.00404061
lea eax, [ebp - 0x88]
push eax
call fcn.004268d5
mov dword [esp], str.SeAppService_old.exe
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
call fcn.00401c6d
add esp, 0xc
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 6
call fcn.00404061
lea eax, [ebp - 0xb8]
push eax
call fcn.004268d5
mov dword [esp], str.SeAppService_new.exe
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
call fcn.00401c6d
add esp, 0xc
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 9
call fcn.00404061
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x40]
push eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x425b11
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call ebx
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x425b31
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call esi
test eax, eax
je 0x425cda
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.0042ce2c
pop ecx
test eax, eax
je 0x425cda
and dword [ebp - 0x90], 0
xor eax, eax
push 7
pop ecx
mov dword [ebp - 0x8c], ecx
mov word [ebp - 0xa0], ax
and dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ecx
mov word [ebp - 0x88], ax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004270be
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004270be
cmp dword [ebp - 0x8c], 8
lea ecx, [ebp - 0xa0]
lea eax, [ebp - 0x88]
cmovae ecx, dword [ebp - 0xa0]
cmp dword [ebp - 0x74], 8
push ecx
cmovae eax, dword [ebp - 0x88]
push eax
call fcn.00425920
add esp, 0x18
test eax, eax
jns 0x425cc0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call esi
test eax, eax
je 0x425c02
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call ebx
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x425c22
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
push 8
pop ebx
cmp dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], ebx
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x425c7e
xor eax, eax
mov ecx, edi
mov dword [edi + 0x10], eax
mov byte [ebp - 0xbc], al
push dword [ebp - 0xbc]
mov dword [edi + 0x14], eax
lea eax, [ebp - 0x70]
push eax
call fcn.00403e90
lea ecx, [ebp - 0x88]
call fcn.00404061
lea ecx, [ebp - 0xa0]
call fcn.00404061
jmp 0x425ce6
cmp dword [ebp - 0x2c], ebx
lea ecx, [ebp - 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [ebp - 0x70]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x5c], ebx
push 1
cmovae eax, dword [ebp - 0x70]
push ecx
push eax
call esi
test eax, eax
je 0x425c47
cmp dword [ebp - 0x5c], ebx
lea ecx, [ebp - 0x70]
push 1
cmovae ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], ebx
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x425c47
lea ecx, [ebp - 0x88]
call fcn.00404061
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 9
call fcn.00404061
push 0x4d18d0
mov ecx, edi
call fcn.004022ea
lea ecx, [ebp - 0x28]
call fcn.00404061
lea ecx, [ebp - 0x40]
call fcn.00404061
lea ecx, [ebp - 0x70]
call fcn.00404061
lea ecx, [ebp - 0x58]
call fcn.00404061
mov eax, edi
call fcn.00496cc9
ret 4