Function at 0x4ea358
Capabilities:
Copy file
Create process on windows
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x5d
push 0
push 0
dec ecx
jne 0x4ea360
push ecx
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x4ea749
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x4fbe0c], 0
jne 0x4ea72b
mov eax, edi
call fcn.004e93bc
lea edx, [ebp - 0x2a4]
mov eax, dword [0x4fc398]
mov eax, dword [eax]
call fcn.00478ac4
mov eax, dword [ebp - 0x2a4]
lea edx, [ebp - 0x2a0]
call fcn.004099a4
lea eax, [ebp - 0x2a0]
mov edx, 0x4ea760
call fcn.00404cac
mov eax, dword [ebp - 0x2a0]
call fcn.00404ea4
push eax
mov eax, dword [0x500488]
call fcn.00404ea4
push eax
call sub.kernel32.dll_MoveFileA
lea edx, [ebp - 0x2ac]
mov eax, dword [0x4fc398]
mov eax, dword [eax]
call fcn.00478ac4
mov eax, dword [ebp - 0x2ac]
lea edx, [ebp - 0x2a8]
call fcn.004099a4
lea eax, [ebp - 0x2a8]
mov edx, 0x4ea760
call fcn.00404cac
mov eax, dword [ebp - 0x2a8]
xor edx, edx
call fcn.004097f0
push 0x4ea770
push 0x4ea778
mov ecx, dword [0x4fd668]
mov dl, 1
mov eax, dword [0x418a34]
call fcn.0041def4
mov ebx, eax
lea edx, [ebp - 0x2b4]
mov eax, dword [0x4fc398]
mov eax, dword [eax]
call fcn.00478ac4
mov eax, dword [ebp - 0x2b4]
lea edx, [ebp - 0x2b0]
call fcn.004099a4
lea eax, [ebp - 0x2b0]
mov edx, 0x4ea788
call fcn.00404cac
mov edx, dword [ebp - 0x2b0]
mov eax, ebx
call fcn.0041db6c
mov eax, ebx
call fcn.00403bd0
lea edx, [ebp - 0x2bc]
mov eax, dword [0x4fc398]
mov eax, dword [eax]
call fcn.00478ac4
mov eax, dword [ebp - 0x2bc]
lea edx, [ebp - 0x2b8]
call fcn.004099a4
lea eax, [ebp - 0x2b8]
mov edx, 0x4ea788
call fcn.00404cac
mov edx, dword [ebp - 0x2b8]
lea eax, [ebp - 0x150]
call fcn.00402f90
mov edx, 1
lea eax, [ebp - 0x150]
call fcn.00403404
call fcn.00402934
lea edx, [ebp - 0x2c4]
mov eax, dword [0x4fc398]
mov eax, dword [eax]
call fcn.00478ac4
mov eax, dword [ebp - 0x2c4]
lea edx, [ebp - 0x2c0]
call fcn.004099a4
lea eax, [ebp - 0x2c0]
mov edx, 0x4ea760
call fcn.00404cac
mov edx, dword [ebp - 0x2c0]
lea eax, [ebp - 0x29c]
call fcn.00402f90
mov edx, 1
lea eax, [ebp - 0x29c]
call fcn.00403404
call fcn.00402934
xor esi, esi
mov ebx, esi
mov edx, ebx
lea eax, [ebp - 0x150]
call fcn.00403420
call fcn.00402934
lea edx, [ebp - 1]
lea eax, [ebp - 0x150]
call fcn.004032b0
call fcn.00402934
mov edx, ebx
lea eax, [ebp - 0x29c]
call fcn.00403420
call fcn.00402934
lea edx, [ebp - 2]
lea eax, [ebp - 0x29c]
call fcn.004032b0
call fcn.00402934
mov al, byte [ebp - 2]
cmp al, byte [ebp - 1]
je 0x4ea5b0
mov edx, ebx
lea eax, [ebp - 0x29c]
call fcn.00403420
call fcn.00402934
lea edx, [ebp - 1]
lea eax, [ebp - 0x29c]
call fcn.00403528
call fcn.00402934
inc esi
cmp esi, 0x1f4
jne 0x4ea537
lea eax, [ebp - 0x150]
call fcn.0040310c
call fcn.00402934
lea eax, [ebp - 0x29c]
call fcn.0040310c
call fcn.00402934
lea edx, [ebp - 0x2cc]
mov eax, dword [0x4fc398]
mov eax, dword [eax]
call fcn.00478ac4
mov eax, dword [ebp - 0x2cc]
lea edx, [ebp - 0x2c8]
call fcn.004099a4
lea eax, [ebp - 0x2c8]
mov edx, 0x4ea788
call fcn.00404cac
mov eax, dword [ebp - 0x2c8]
call fcn.0040990c
push 0
lea edx, [ebp - 0x2d4]
mov eax, dword [0x4fc398]
mov eax, dword [eax]
call fcn.00478ac4
mov eax, dword [ebp - 0x2d4]
lea edx, [ebp - 0x2d0]
call fcn.004099a4
lea eax, [ebp - 0x2d0]
mov edx, 0x4ea7a0
call fcn.00404cac
mov eax, dword [ebp - 0x2d0]
call fcn.00404ea4
push eax
lea edx, [ebp - 0x2d8]
mov eax, dword [0x4fc398]
mov eax, dword [eax]
call fcn.00478ac4
mov eax, dword [ebp - 0x2d8]
call fcn.00404ea4
push eax
call sub.kernel32.dll_CopyFileA
push 1
lea edx, [ebp - 0x2e0]
mov eax, dword [0x4fc398]
mov eax, dword [eax]
call fcn.00478ac4
mov eax, dword [ebp - 0x2e0]
lea edx, [ebp - 0x2dc]
call fcn.004099a4
mov eax, dword [ebp - 0x2dc]
call fcn.00404ea4
push eax
lea edx, [ebp - 0x2e4]
mov eax, 1
call fcn.00402bd0
mov eax, dword [ebp - 0x2e4]
call fcn.00404ea4
push eax
lea edx, [ebp - 0x2ec]
mov eax, dword [0x4fc398]
mov eax, dword [eax]
call fcn.00478ac4
mov eax, dword [ebp - 0x2ec]
lea edx, [ebp - 0x2e8]
call fcn.004099a4
lea eax, [ebp - 0x2e8]
mov edx, 0x4ea7a0
call fcn.00404cac
mov eax, dword [ebp - 0x2e8]
call fcn.00404ea4
push eax
push 0x4ea7ac
mov eax, edi
call fcn.0045f114
push eax
call sub.shell32.dll_ShellExecuteA
mov byte [0x4fbe14], 1
mov eax, edi
call fcn.00474d74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ea750
lea eax, [ebp - 0x2ec]
mov edx, 0x14
call fcn.00404a08
ret