Function at 0x401ac0
Capabilities:
Copy file
Create process on windows
Delete file

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x28
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll__stricmp]
push ebp
push esi
push edi
push 0x4043d8
push eax
call ebx
add esp, 8
test eax, eax
jne 0x401be5
push 1
lea ecx, [esp + 0x1c]
call fcn.00401000
push 6
lea ecx, [esp + 0x2c]
call fcn.00401000
push str.__UNINST.EXE
lea ecx, [esp + 0x2c]
call fcn.00401500
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00401560
mov esi, dword [eax]
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x1c]
call fcn.00401560
mov eax, dword [eax]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x44]
call fcn.00401fc0
lea ecx, [esp + 0x10]
call fcn.00401fc0
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401560
mov edi, dword [eax]
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00401560
mov eax, dword [eax]
push 5
push esi
push edi
push eax
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x44]
call fcn.00401fc0
lea ecx, [esp + 0x10]
call fcn.00401fc0
lea ecx, [esp + 0x34]
call fcn.00401fc0
lea ecx, [esp + 0x30]
call fcn.00401fc0
lea ecx, [esp + 0x2c]
call fcn.00401fc0
lea ecx, [esp + 0x28]
call fcn.00401fc0
lea ecx, [esp + 0x24]
call fcn.00401fc0
lea ecx, [esp + 0x20]
call fcn.00401fc0
lea ecx, [esp + 0x1c]
call fcn.00401fc0
lea ecx, [esp + 0x18]
call fcn.00401fc0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret 0x10
push 6
lea ecx, [esp + 0x1c]
call fcn.00401000
mov esi, dword [sym.imp.MSVCRT.dll_atol]
push 0x4040e9
call esi
push 0x404079
mov edi, eax
call esi
mov ebp, dword [sym.imp.USER32.dll_GetDesktopWindow]
add esp, 8
test edi, edi
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [esp + 0x14], eax
je 0x401cb8
push 0x404345
lea ecx, [esp + 0x1c]
call fcn.00401500
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
call fcn.00401560
mov eax, dword [eax]
push eax
push 1
call fcn.00401630
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
sete bl
call fcn.00401fc0
test bl, bl
je 0x401c6a
push 0
push 0
push str.ERROR_0x0000a:_file_corrupted
jmp 0x401d4d
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401560
mov eax, dword [eax]
push 5
push esi
push 0x4042b5
push eax
push str.open
call ebp
push eax
call edi
cmp eax, 0x20
lea ecx, [esp + 0x10]
setle bl
call fcn.00401fc0
test bl, bl
je 0x401cb2
push 0
push 0
push str.ERROR_0x0000b:_file_corrupted
jmp 0x401d4d
mov ebx, dword [sym.imp.MSVCRT.dll__stricmp]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x401d8b
push 0x404225
lea ecx, [esp + 0x1c]
call fcn.00401500
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401560
mov eax, dword [eax]
push eax
push 2
call fcn.00401630
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
sete bl
call fcn.00401fc0
test bl, bl
je 0x401d0a
push 0
push 0
push str.ERROR_0x0000c:_file_corrupted
jmp 0x401d4d
mov esi, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
call fcn.00401560
mov eax, dword [eax]
push 5
push esi
push 0x404195
push eax
push str.open
call ebp
push eax
call edi
cmp eax, 0x20
lea ecx, [esp + 0x14]
setle bl
call fcn.00401fc0
test bl, bl
je 0x401d85
push 0
push 0
push str.ERROR_0x0000d:_file_corrupted
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0x24]
call fcn.00401fc0
lea ecx, [esp + 0x20]
call fcn.00401fc0
lea ecx, [esp + 0x1c]
call fcn.00401fc0
lea ecx, [esp + 0x18]
call fcn.00401fc0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x28
ret 0x10
mov ebx, dword [sym.imp.MSVCRT.dll__stricmp]
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x28]
push eax
call fcn.00401080
lea ecx, [esp + 0x28]
call fcn.004014a0
test eax, eax
je 0x401f5d
push 0x404168
push 0x404195
call ebx
add esp, 8
test eax, eax
je 0x401f5d
push 0x404164
push 0x404195
call ebx
add esp, 8
test eax, eax
jne 0x401dff
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00401560
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x44]
jmp 0x401f58
push 0x404160
push 0x404195
call ebx
add esp, 8
test eax, eax
jne 0x401eae
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x44]
lea ecx, [esp + 0x28]
push edx
call fcn.00401560
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x44]
call fcn.00401fc0
push 0x404345
lea ecx, [esp + 0x1c]
call fcn.00401500
lea eax, [esp + 0x44]
lea ecx, [esp + 0x18]
push eax
call fcn.004014d0
mov eax, dword [eax]
lea ecx, [esp + 0x28]
push eax
call fcn.00401500
lea ecx, [esp + 0x44]
call fcn.00401fc0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00401560
mov esi, dword [eax]
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x1c]
call fcn.00401560
mov eax, dword [eax]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x44]
call fcn.00401fc0
lea ecx, [esp + 0x14]
jmp 0x401f58
push 0x40415c
push 0x404195
call ebx
add esp, 8
test eax, eax
jne 0x401f5d
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x44]
lea ecx, [esp + 0x28]
push eax
call fcn.00401560
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x44]
call fcn.00401fc0
push 0x404225
lea ecx, [esp + 0x1c]
call fcn.00401500
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004014d0
mov eax, dword [eax]
lea ecx, [esp + 0x28]
push eax
call fcn.00401500
lea ecx, [esp + 0x44]
call fcn.00401fc0
lea edx, [esp + 0x14]
lea ecx, [esp + 0x28]
push edx
call fcn.00401560
mov esi, dword [eax]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401560
mov eax, dword [eax]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x44]
call fcn.00401fc0
lea ecx, [esp + 0x14]
call fcn.00401fc0
lea ecx, [esp + 0x34]
call fcn.00401fc0
lea ecx, [esp + 0x30]
call fcn.00401fc0
lea ecx, [esp + 0x2c]
call fcn.00401fc0
lea ecx, [esp + 0x28]
call fcn.00401fc0
lea ecx, [esp + 0x24]
call fcn.00401fc0
lea ecx, [esp + 0x20]
call fcn.00401fc0
lea ecx, [esp + 0x1c]
call fcn.00401fc0
lea ecx, [esp + 0x18]
call fcn.00401fc0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret 0x10