Function at 0x4025e0
Capabilities:
Copy file
Delete file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x40ac80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5b4
mov eax, dword [0x40d0f4]
push ebx
push ebp
mov dword [esp + 0x5b8], eax
push edi
lea eax, [esp + 0x5ec]
push eax
lea ecx, [esp + 0x5d4]
push ecx
lea edx, [esp + 0x100]
push edx
mov dword [esp + 0x5d4], 1
call fcn.00401900
lea eax, [esp + 0x5f8]
push eax
lea ecx, [esp + 0x5e0]
push ecx
lea edx, [esp + 0x198]
push edx
mov byte [esp + 0x5e0], 2
call fcn.00401900
push str..WCRevAssist.backup
push eax
lea eax, [esp + 0x16c]
push eax
mov byte [esp + 0x5ec], 3
call fcn.00401eb0
add esp, 0x24
mov eax, dword [esp + 0x19c]
mov ebp, 0x10
cmp eax, ebp
mov byte [esp + 0x5c8], 5
jb 0x40269d
mov ecx, dword [esp + 0x188]
push ecx
call fcn.0040418d
add esp, 4
push str.WCRevAssistMake.rc_
lea edx, [esp + 0x5d4]
push edx
lea eax, [esp + 0x11c]
xor ebx, ebx
mov edi, 0xf
push eax
mov dword [esp + 0x1a8], edi
mov dword [esp + 0x1a4], ebx
mov byte [esp + 0x194], bl
call fcn.00401eb0
add esp, 0xc
cmp dword [esp + 0x164], ebp
mov ecx, dword [esp + 0x150]
mov byte [esp + 0x5c8], 6
jae 0x4026f5
lea ecx, [esp + 0x150]
cmp dword [esp + 0x110], ebp
mov eax, dword [esp + 0xfc]
jae 0x40270c
lea eax, [esp + 0xfc]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp eax, ebx
jne 0x402859
push str.WCRevAssist:
call fcn.00403d60
push str._file_backup_failed__n
lea ecx, [esp + 0x100]
push ecx
lea edx, [esp + 0xe8]
push edx
call fcn.00401eb0
mov eax, dword [esp + 0x104]
add esp, 0x10
cmp eax, ebp
mov eax, dword [esp + 0xe0]
jae 0x40275d
lea eax, [esp + 0xe0]
push eax
call fcn.00403d60
mov eax, dword [esp + 0xf8]
add esp, 4
cmp eax, ebp
jb 0x402781
mov eax, dword [esp + 0xe0]
push eax
call fcn.0040418d
add esp, 4
cmp dword [esp + 0x12c], ebp
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf0], ebx
mov byte [esp + 0xe0], bl
jb 0x4027af
mov ecx, dword [esp + 0x118]
push ecx
call fcn.0040418d
add esp, 4
cmp dword [esp + 0x164], ebp
mov dword [esp + 0x12c], edi
mov dword [esp + 0x128], ebx
mov byte [esp + 0x118], bl
jb 0x4027dd
mov edx, dword [esp + 0x150]
push edx
call fcn.0040418d
add esp, 4
cmp dword [esp + 0x110], ebp
mov dword [esp + 0x164], edi
mov dword [esp + 0x160], ebx
mov byte [esp + 0x150], bl
jb 0x40280b
mov eax, dword [esp + 0xfc]
push eax
call fcn.0040418d
add esp, 4
cmp dword [esp + 0x5e8], ebp
mov dword [esp + 0x110], edi
mov dword [esp + 0x10c], ebx
mov byte [esp + 0xfc], bl
jb 0x402839
mov ecx, dword [esp + 0x5d4]
push ecx
call fcn.0040418d
add esp, 4
cmp dword [esp + 0x604], ebp
jb 0x402852
mov edx, dword [esp + 0x5f0]
push edx
call fcn.0040418d
add esp, 4
xor eax, eax
jmp 0x402fe9
cmp dword [esp + 0x110], ebp
mov eax, dword [esp + 0xfc]
jae 0x402870
lea eax, [esp + 0xfc]
push esi
push 0x40b15c
push eax
call fcn.00404822
mov esi, eax
add esp, 8
cmp esi, ebx
mov dword [esp + 0x10], esi
jne 0x4029bf
push str._file_open_for_read_failed__n
lea eax, [esp + 0x100]
push eax
lea ecx, [esp + 0xe8]
push ecx
call fcn.00401eb0
mov eax, dword [esp + 0x104]
add esp, 0xc
cmp eax, ebp
mov eax, dword [esp + 0xe4]
jae 0x4028c3
lea eax, [esp + 0xe4]
push eax
call fcn.00403d60
mov eax, dword [esp + 0xfc]
add esp, 4
cmp eax, ebp
jb 0x4028e7
mov edx, dword [esp + 0xe4]
push edx
call fcn.0040418d
add esp, 4
cmp dword [esp + 0x130], ebp
mov dword [esp + 0xf8], edi
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
jb 0x402915
mov eax, dword [esp + 0x11c]
push eax
call fcn.0040418d
add esp, 4
cmp dword [esp + 0x168], ebp
mov dword [esp + 0x130], edi
mov dword [esp + 0x12c], ebx
mov byte [esp + 0x11c], bl
jb 0x402943
mov ecx, dword [esp + 0x154]
push ecx
call fcn.0040418d
add esp, 4
cmp dword [esp + 0x114], ebp
mov dword [esp + 0x168], edi
mov dword [esp + 0x164], ebx
mov byte [esp + 0x154], bl
jb 0x402971
mov edx, dword [esp + 0x100]
push edx
call fcn.0040418d
add esp, 4
cmp dword [esp + 0x5ec], ebp
mov dword [esp + 0x114], edi
mov dword [esp + 0x110], ebx
mov byte [esp + 0x100], bl
jb 0x40299f
mov eax, dword [esp + 0x5d8]
push eax
call fcn.0040418d
add esp, 4
cmp dword [esp + 0x608], ebp
jb 0x4029b8
mov ecx, dword [esp + 0x5f4]
push ecx
call fcn.0040418d
add esp, 4
xor eax, eax
jmp 0x402fe8
cmp dword [esp + 0x130], ebp
mov eax, dword [esp + 0x11c]
jae 0x4029d6
lea eax, [esp + 0x11c]
push 0x40b168
push eax
call fcn.00404822
add esp, 8
push str._WCREV_
lea ecx, [esp + 0x1a8]
mov dword [esp + 0x18], eax
call fcn.00401880
push str.r_WCREV_
lea ecx, [esp + 0x18c]
mov byte [esp + 0x5d0], 7
call fcn.00401880
mov byte [esp + 0x5cc], 8
lea ebx, [ebx]
mov word [esp + 0x1c0], 0xa
xor eax, eax
mov ecx, 0xff
lea edi, [esp + 0x1c2]
rep stosd dword es:[edi], eax
push esi
lea edx, [esp + 0x1c4]
push 0x400
push edx
stosw word es:[edi], ax
call fcn.00404708
add esp, 0xc
cmp eax, ebx
je 0x402ed6
lea eax, [esp + 0x1c0]
mov dword [esp + 0x14c], 0xf
mov dword [esp + 0x148], ebx
mov byte [esp + 0x138], bl
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402a80
sub eax, esi
push eax
lea eax, [esp + 0x1c4]
push eax
lea ecx, [esp + 0x13c]
call fcn.00401760
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x13c]
push ecx
lea ecx, [esp + 0x178]
mov byte [esp + 0x5d8], 9
mov dword [esp + 0x190], 0xf
mov dword [esp + 0x18c], ebx
mov byte [esp + 0x17c], bl
call fcn.00401670
push 0xb
push ebx
push 0x40b150
lea ecx, [esp + 0x140]
mov byte [esp + 0x5d8], 0xa
call section..text
xor edx, edx
cmp eax, 0xffffffff
setne dl
push 0xe
push ebx
push str.PRODUCTVERSION
lea ecx, [esp + 0x140]
mov esi, edx
call section..text
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
push 0xb
push ebx
push str.FileVersion
mov edi, ecx
lea ecx, [esp + 0x140]
call section..text
xor edx, edx
cmp eax, 0xffffffff
setne dl
push 0xe
push ebx
push str.ProductVersion
lea ecx, [esp + 0x140]
mov ebp, edx
call section..text
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
cmp esi, ebx
mov dword [esp + 0x18], ecx
jne 0x402b64
cmp edi, ebx
je 0x402c70
push 1
push 0xffffffffffffffff
push 0x40b14c
lea ecx, [esp + 0x140]
call fcn.004010d0
cmp eax, 0xffffffff
je 0x402c70
inc eax
push eax
push ebx
lea edx, [esp + 0xcc]
push edx
lea ecx, [esp + 0x140]
call fcn.004018c0
lea ecx, [esp + 0x1a4]
push ecx
push eax
lea edx, [esp + 0x78]
push edx
mov byte [esp + 0x5d8], 0xb
call fcn.00401900
push 0x40b194
push eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x5e4], 0xc
call fcn.00401eb0
add esp, 0x18
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x178]
mov byte [esp + 0x5d8], 0xd
call fcn.00401670
mov eax, dword [esp + 0x50]
mov esi, 0x10
cmp eax, esi
jb 0x402c01
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0040418d
add esp, 4
cmp dword [esp + 0x88], esi
mov edi, 0xf
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
jb 0x402c28
mov edx, dword [esp + 0x74]
push edx
call fcn.0040418d
add esp, 4
cmp dword [esp + 0xdc], esi
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
mov byte [esp + 0x5cc], 0xa
jb 0x402c5b
mov eax, dword [esp + 0xc8]
push eax
call fcn.0040418d
add esp, 4
mov dword [esp + 0xdc], edi
mov dword [esp + 0xd8], ebx
mov byte [esp + 0xc8], bl
cmp ebp, ebx
jne 0x402c7e
cmp dword [esp + 0x18], ebx
je 0x402e27
push 1
push 0xffffffffffffffff
push 0x40b190
lea ecx, [esp + 0x140]
call fcn.004010d0
mov esi, eax
cmp esi, 0xffffffff
je 0x402e27
push 1
mov ebp, 0xf
push 0x40b148
lea ecx, [esp + 0xe8]
mov dword [esp + 0x100], ebp
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
call fcn.00401760
inc esi
push esi
push ebx
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x140]
mov byte [esp + 0x5d8], 0xe
call fcn.004018c0
lea edx, [esp + 0x188]
push edx
push eax
lea eax, [esp + 0x94]
push eax
mov byte [esp + 0x5d8], 0xf
call fcn.00401900
lea ecx, [esp + 0xec]
push ecx
push eax
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0x5e4], 0x10
call fcn.00401900
push 0x40b194
push eax
lea eax, [esp + 0xc8]
push eax
mov byte [esp + 0x5f0], 0x11
call fcn.00401eb0
add esp, 0x24
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x178]
mov byte [esp + 0x5d8], 0x12
call fcn.00401670
mov eax, dword [esp + 0xc0]
mov edi, 0x10
cmp eax, edi
jb 0x402d76
mov ecx, dword [esp + 0xac]
push ecx
call fcn.0040418d
add esp, 4
cmp dword [esp + 0x6c], edi
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], bl
jb 0x402d9e
mov edx, dword [esp + 0x58]
push edx
call fcn.0040418d
add esp, 4
cmp dword [esp + 0xa4], edi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
jb 0x402dc3
mov eax, dword [esp + 0x90]
push eax
call fcn.0040418d
add esp, 4
cmp dword [esp + 0x34], edi
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
jb 0x402deb
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0040418d
add esp, 4
cmp dword [esp + 0xf8], edi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jb 0x402e10
mov edx, dword [esp + 0xe4]
push edx
call fcn.0040418d
add esp, 4
mov dword [esp + 0xf8], ebp
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
jmp 0x402e31
mov ebp, 0xf
mov edi, 0x10
cmp dword [esp + 0x184], edi
mov eax, dword [esp + 0x170]
jae 0x402e48
lea eax, [esp + 0x170]
mov ecx, dword [esp + 0x14]
push ecx
push eax
call fcn.004047b5
mov edx, dword [esp + 0x18]
mov esi, dword [edx + 0xc]
mov eax, dword [esp + 0x18c]
add esp, 8
and esi, edi
cmp eax, edi
jb 0x402e7a
mov eax, dword [esp + 0x170]
push eax
call fcn.0040418d
add esp, 4
cmp dword [esp + 0x14c], edi
mov dword [esp + 0x184], ebp
mov dword [esp + 0x180], ebx
mov byte [esp + 0x170], bl
mov byte [esp + 0x5cc], 8
jb 0x402eb0
mov ecx, dword [esp + 0x138]
push ecx
call fcn.0040418d
add esp, 4
mov dword [esp + 0x14c], ebp
cmp esi, ebx
mov esi, dword [esp + 0x10]
mov dword [esp + 0x148], ebx
mov byte [esp + 0x138], bl
mov ebp, 0x10
je 0x402a20
push esi
call fcn.0040475f
mov edx, dword [esp + 0x18]
push edx
call fcn.0040475f
mov eax, dword [esp + 0x1a8]
add esp, 8
cmp eax, ebp
jb 0x402f04
mov eax, dword [esp + 0x18c]
push eax
call fcn.0040418d
add esp, 4
cmp dword [esp + 0x1bc], ebp
mov dword [esp + 0x1a0], 0xf
mov dword [esp + 0x19c], ebx
mov byte [esp + 0x18c], bl
jb 0x402f36
mov ecx, dword [esp + 0x1a8]
push ecx
call fcn.0040418d
add esp, 4
cmp dword [esp + 0x114], ebp
mov ecx, dword [esp + 0x100]
jae 0x402f4d
lea ecx, [esp + 0x100]
cmp dword [esp + 0x130], ebp
mov eax, dword [esp + 0x11c]
jae 0x402f64
lea eax, [esp + 0x11c]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp dword [esp + 0x130], ebp
mov eax, dword [esp + 0x11c]
jae 0x402f84
lea eax, [esp + 0x11c]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call esi
cmp dword [esp + 0x168], ebp
mov eax, dword [esp + 0x154]
jae 0x402fa4
lea eax, [esp + 0x154]
push eax
call esi
lea ecx, [esp + 0x118]
call fcn.00401410
lea ecx, [esp + 0x150]
call fcn.00401410
lea ecx, [esp + 0xfc]
call fcn.00401410
lea ecx, [esp + 0x5d4]
call fcn.00401410
lea ecx, [esp + 0x5f0]
call fcn.00401410
mov eax, 1
pop esi
mov ecx, dword [esp + 0x5c0]
pop edi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x5b4]
pop ebx
call fcn.0040469d
add esp, 0x5c0
ret