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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe0c
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 0x1f0], eax
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
lea esi, [ebp - 0x1e0]
xor eax, eax
push ebp
push 0x404d4b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
call fcn.00404ea4
push 0
mov eax, dword [ebp - 0x14]
call fcn.00403c38
push eax
lea edx, [ebp - 0x1e4]
xor eax, eax
call fcn.004026dc
mov eax, dword [ebp - 0x1e4]
call fcn.00403c38
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x404d20
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.00404d90
mov eax, dword [ebp - 4]
call fcn.00403a38
mov ebx, eax
lea eax, [ebp - 8]
call fcn.00403910
jmp 0x404b6f
lea eax, [ebp - 0x1e8]
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
call fcn.00403a04
mov edx, dword [ebp - 0x1e8]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
call fcn.00403a84
dec ebx
test ebx, ebx
jle 0x404b7d
mov eax, dword [ebp - 4]
cmp byte [eax + ebx - 1], 0
jne 0x404b4b
cmp dword [ebp - 8], 0
jne 0x404b96
mov eax, dword [ebp - 0x14]
call fcn.00403c38
push eax
call sub.kernel32.dll_DeleteFileA
jmp 0x404d20
mov eax, dword [ebp - 8]
call fcn.00403a38
mov ecx, eax
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00403cd8
jmp 0x404cfd
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x404d64
call fcn.00403d20
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00403c98
mov edx, dword [ebp - 8]
mov eax, 0x404d64
call fcn.00403d20
mov ecx, eax
lea eax, [ebp - 8]
mov edx, 1
call fcn.00403cd8
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x404d70
call fcn.00403d20
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00403c98
mov edx, dword [ebp - 0x10]
mov eax, 0x404d70
call fcn.00403d20
mov ecx, eax
lea eax, [ebp - 0x10]
mov edx, 1
call fcn.00403cd8
mov eax, dword [ebp - 0x10]
call fcn.00404920
mov ebx, eax
xor eax, eax
push ebp
push 0x404ca8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1ec]
mov ecx, dword [ebp - 0xc]
mov edx, 0x404d7c
call fcn.00403a84
mov edx, dword [ebp - 0x1ec]
mov eax, esi
call fcn.00402a2c
mov eax, esi
call fcn.004027bc
lea eax, [ebp - 0x1f0]
push eax
mov eax, dword [ebp - 4]
call fcn.00403a38
mov edx, eax
sub edx, ebx
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.00403c98
mov edx, dword [ebp - 0x1f0]
mov eax, esi
call fcn.00403dcc
call fcn.00402adc
mov eax, esi
call fcn.00402b9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x404cb9
mov eax, dword [ebp - 4]
call fcn.00403a38
mov edx, eax
sub edx, ebx
lea eax, [ebp - 4]
mov ecx, ebx
call fcn.00403cd8
push 1
push 0
push 0
lea eax, [ebp - 0x1f4]
mov ecx, dword [ebp - 0xc]
mov edx, 0x404d7c
call fcn.00403a84
mov eax, dword [ebp - 0x1f4]
call fcn.00403c38
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
mov edx, dword [ebp - 8]
mov eax, 0x404d64
call fcn.00403d20
test eax, eax
jg 0x404baf
mov eax, dword [ebp - 0x14]
call fcn.00403c38
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404d52
lea eax, [ebp - 0x1f4]
mov edx, 5
call fcn.00403934
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00403934
ret