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

Disassembly:
push 0x94
mov eax, 0x4ca775
call fcn.00496d1f
mov esi, ecx
call fcn.00427fe3
lea eax, [esi + 0x48]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call fcn.0040458e
lea eax, [ebp - 0x70]
mov dword [ebp - 4], ebx
push eax
call fcn.004268d5
mov dword [esp], str.seapp.dll
push eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 1
push eax
call fcn.00401c6d
add esp, 0xc
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.00404061
lea eax, [ebp - 0x88]
push eax
call fcn.004268d5
mov dword [esp], str.seapp_old.dll
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 - 0x70]
push eax
call fcn.004268d5
mov dword [esp], str.seapp_new.dll
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
call fcn.00401c6d
add esp, 0xc
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.00404061
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x40]
push 8
pop ebx
cmp dword [ebp - 0x2c], ebx
cmovae eax, dword [ebp - 0x40]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x425dfa
cmp dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call edi
cmp dword [ebp - 0x14], ebx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x425e18
cmp dword [ebp - 0x14], ebx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call edi
cmp dword [ebp - 0x44], ebx
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call esi
test eax, eax
je 0x425f74
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 0x425f74
and dword [ebp - 0x60], 0
xor eax, eax
push 7
pop ecx
mov dword [ebp - 0x5c], ecx
mov word [ebp - 0x70], ax
and dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ecx
mov word [ebp - 0x88], ax
lea eax, [ebp - 0x70]
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 - 0xa0]
push eax
call fcn.004270be
cmp dword [ebp - 0x5c], ebx
lea ecx, [ebp - 0x70]
lea eax, [ebp - 0x88]
cmovae ecx, dword [ebp - 0x70]
cmp dword [ebp - 0x74], ebx
push ecx
cmovae eax, dword [ebp - 0x88]
push eax
call fcn.00425920
add esp, 0x18
test eax, eax
jns 0x425f61
cmp dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call esi
test eax, eax
je 0x425ed1
cmp dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call edi
cmp dword [ebp - 0x14], ebx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x425eef
cmp dword [ebp - 0x14], ebx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call edi
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 0x425f61
cmp dword [ebp - 0x2c], ebx
lea ecx, [ebp - 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [ebp - 0xa0]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x8c], ebx
push 1
cmovae eax, dword [ebp - 0xa0]
push ecx
push eax
call esi
test eax, eax
je 0x425f61
cmp dword [ebp - 0x8c], ebx
lea ecx, [ebp - 0xa0]
push 1
cmovae ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], ebx
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call esi
lea ecx, [ebp - 0x88]
call fcn.00404061
lea ecx, [ebp - 0x70]
call fcn.00404061
lea ecx, [ebp - 0x28]
call fcn.00404061
lea ecx, [ebp - 0x40]
call fcn.00404061
lea ecx, [ebp - 0xa0]
call fcn.00404061
lea ecx, [ebp - 0x58]
call fcn.00404061
call fcn.00496cc9
ret