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

Disassembly:
push 0xac
mov eax, 0x4cad40
call fcn.00496d1f
call fcn.00427fe3
lea eax, [ebp - 0xb8]
push eax
call fcn.004268d5
and dword [ebp - 4], 0
mov esi, 0x4d34ec
push esi
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00401c6d
add esp, 0x10
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 2
call fcn.00404061
lea eax, [ebp - 0x40]
push eax
call fcn.00427afb
push esi
push eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 3
push eax
call fcn.00401c6d
add esp, 0x10
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.00404061
lea eax, [ebp - 0xb8]
push eax
call fcn.00427afb
mov dword [esp], str.SeAppService_old.exe
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 6
push eax
call fcn.00401c6d
add esp, 0xc
push 8
pop ebx
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], bl
call fcn.00404061
lea eax, [ebp - 0x40]
push eax
call fcn.00427afb
mov dword [esp], str.SeAppService_new.exe
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push eax
call fcn.00401c6d
add esp, 0xc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xb
call fcn.00404061
cmp dword [ebp - 0x5c], ebx
lea eax, [ebp - 0x70]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x70]
push eax
call esi
test eax, eax
je 0x428a8e
cmp dword [ebp - 0x5c], ebx
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x14], ebx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x428ab0
cmp dword [ebp - 0x14], ebx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x44], ebx
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call esi
test eax, eax
je 0x428bee
cmp dword [ebp - 0x44], ebx
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.0042ce2c
pop ecx
test eax, eax
je 0x428bee
and dword [ebp - 0x30], 0
xor eax, eax
push 7
pop ecx
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x40], ax
and dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ecx
mov word [ebp - 0x88], ax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004270be
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.004270be
cmp dword [ebp - 0x2c], ebx
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x88]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x74], ebx
push ecx
cmovae eax, dword [ebp - 0x88]
push eax
call fcn.00425920
add esp, 0x18
test eax, eax
jns 0x428bdb
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
je 0x428bc4
cmp dword [ebp - 0x5c], ebx
lea ecx, [ebp - 0x70]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [ebp - 0xa0]
cmovae ecx, dword [ebp - 0x70]
cmp dword [ebp - 0x8c], ebx
cmovae eax, dword [ebp - 0xa0]
xor ebx, ebx
inc ebx
push ebx
push ecx
push eax
call esi
test eax, eax
je 0x428bc4
cmp dword [ebp - 0x8c], 8
lea ecx, [ebp - 0xa0]
push ebx
cmovae ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
jne 0x428bc6
xor bl, bl
lea ecx, [ebp - 0x88]
call fcn.00404061
lea ecx, [ebp - 0x40]
call fcn.00404061
jmp 0x428bf0
lea ecx, [ebp - 0x88]
call fcn.00404061
lea ecx, [ebp - 0x40]
call fcn.00404061
xor bl, bl
lea ecx, [ebp - 0x28]
call fcn.00404061
lea ecx, [ebp - 0x70]
call fcn.00404061
lea ecx, [ebp - 0xa0]
call fcn.00404061
lea ecx, [ebp - 0x58]
call fcn.00404061
mov al, bl
call fcn.00496cc9
ret