Function at 0x40eac4
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x40eacc
push ebx
push esi
xor eax, eax
push ebp
push 0x40ef6f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
call fcn.0040e590
lea eax, [ebp - 4]
mov edx, 0x40ef84
call fcn.004042b0
mov eax, dword [ebp - 4]
call fcn.004044a8
push eax
lea edx, [ebp - 8]
xor eax, eax
call fcn.00402814
mov eax, dword [ebp - 8]
call fcn.004044a8
push eax
call sub.KERNEL32.DLL_CopyFileA
mov esi, 1
mov ebx, dword [0x410fb4]
add ebx, 4
lea ecx, [ebp - 0xc]
mov edx, dword [0x410fc4]
mov eax, esi
call fcn.0040e5e8
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00404050
mov ecx, ebx
mov edx, 0x40ef9c
mov eax, 0x40efa8
call fcn.004079dc
inc esi
add ebx, 4
cmp esi, 0x8d
jne 0x40eb29
mov esi, 0x8c
mov ebx, dword [0x410fb4]
add ebx, 4
mov edx, dword [ebx]
lea eax, [ebp - 0x14]
mov ecx, 0x40efb4
call fcn.004042f4
mov eax, dword [ebp - 0x14]
call fcn.004044a8
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.004041f4
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
call fcn.0040e590
push dword [ebp - 0x20]
push 0x40efc4
push dword [ebx]
push 0x40efd4
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404368
mov eax, dword [ebp - 0x1c]
call fcn.004044a8
mov edx, eax
lea eax, [ebp - 0x18]
call fcn.004041f4
mov edx, dword [ebp - 0x18]
mov eax, 0x40efe4
pop ecx
call fcn.0040dc3c
push 0xa
call sub.KERNEL32.DLL_Sleep
add ebx, 4
dec esi
jne 0x40eb6e
mov esi, 0x8c
mov ebx, dword [0x410fb4]
add ebx, 4
mov eax, 0x40eff8
call fcn.0040e548
test al, al
je 0x40ec5d
push 0xa
call sub.KERNEL32.DLL_Sleep
push 0
push 0x40f028
push dword [ebx]
push 0x40efd4
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404368
mov eax, dword [ebp - 0x24]
call fcn.004044a8
push eax
lea eax, [ebp - 0x2c]
call fcn.0040e590
push dword [ebp - 0x2c]
push 0x40efc4
push dword [ebx]
push 0x40efd4
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00404368
mov eax, dword [ebp - 0x28]
call fcn.004044a8
push eax
call sub.KERNEL32.DLL_CopyFileA
mov eax, 0x40f058
call fcn.0040e548
test al, al
je 0x40ecc8
push 0xa
call sub.KERNEL32.DLL_Sleep
push 0
push 0x40f058
push dword [ebx]
push 0x40efd4
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404368
mov eax, dword [ebp - 0x30]
call fcn.004044a8
push eax
lea eax, [ebp - 0x38]
call fcn.0040e590
push dword [ebp - 0x38]
push 0x40efc4
push dword [ebx]
push 0x40efd4
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.00404368
mov eax, dword [ebp - 0x34]
call fcn.004044a8
push eax
call sub.KERNEL32.DLL_CopyFileA
mov eax, 0x40f084
call fcn.0040e548
test al, al
je 0x40ed33
push 0xa
call sub.KERNEL32.DLL_Sleep
push 0
push 0x40f084
push dword [ebx]
push 0x40efd4
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00404368
mov eax, dword [ebp - 0x3c]
call fcn.004044a8
push eax
lea eax, [ebp - 0x44]
call fcn.0040e590
push dword [ebp - 0x44]
push 0x40efc4
push dword [ebx]
push 0x40efd4
lea eax, [ebp - 0x40]
mov edx, 4
call fcn.00404368
mov eax, dword [ebp - 0x40]
call fcn.004044a8
push eax
call sub.KERNEL32.DLL_CopyFileA
mov eax, 0x40f0b8
call fcn.0040e548
test al, al
je 0x40ed9e
push 0xa
call sub.KERNEL32.DLL_Sleep
push 0
push 0x40f0b8
push dword [ebx]
push 0x40efd4
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.00404368
mov eax, dword [ebp - 0x48]
call fcn.004044a8
push eax
lea eax, [ebp - 0x50]
call fcn.0040e590
push dword [ebp - 0x50]
push 0x40efc4
push dword [ebx]
push 0x40efd4
lea eax, [ebp - 0x4c]
mov edx, 4
call fcn.00404368
mov eax, dword [ebp - 0x4c]
call fcn.004044a8
push eax
call sub.KERNEL32.DLL_CopyFileA
mov eax, 0x40f0e4
call fcn.0040e548
test al, al
je 0x40ee09
push 0xa
call sub.KERNEL32.DLL_Sleep
push 0
push 0x40f0e4
push dword [ebx]
push 0x40efd4
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.00404368
mov eax, dword [ebp - 0x54]
call fcn.004044a8
push eax
lea eax, [ebp - 0x5c]
call fcn.0040e590
push dword [ebp - 0x5c]
push 0x40efc4
push dword [ebx]
push 0x40efd4
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404368
mov eax, dword [ebp - 0x58]
call fcn.004044a8
push eax
call sub.KERNEL32.DLL_CopyFileA
mov eax, 0x40f114
call fcn.0040e548
test al, al
je 0x40ee74
push 0x64
call sub.KERNEL32.DLL_Sleep
push 0
push 0x40f114
push dword [ebx]
push 0x40efd4
lea eax, [ebp - 0x60]
mov edx, 3
call fcn.00404368
mov eax, dword [ebp - 0x60]
call fcn.004044a8
push eax
lea eax, [ebp - 0x68]
call fcn.0040e590
push dword [ebp - 0x68]
push 0x40efc4
push dword [ebx]
push 0x40efd4
lea eax, [ebp - 0x64]
mov edx, 4
call fcn.00404368
mov eax, dword [ebp - 0x64]
call fcn.004044a8
push eax
call sub.KERNEL32.DLL_CopyFileA
mov eax, 0x40f14c
call fcn.0040e548
test al, al
je 0x40eedf
push 0xa
call sub.KERNEL32.DLL_Sleep
push 0
push 0x40f14c
push dword [ebx]
push 0x40efd4
lea eax, [ebp - 0x6c]
mov edx, 3
call fcn.00404368
mov eax, dword [ebp - 0x6c]
call fcn.004044a8
push eax
lea eax, [ebp - 0x74]
call fcn.0040e590
push dword [ebp - 0x74]
push 0x40efc4
push dword [ebx]
push 0x40efd4
lea eax, [ebp - 0x70]
mov edx, 4
call fcn.00404368
mov eax, dword [ebp - 0x70]
call fcn.004044a8
push eax
call sub.KERNEL32.DLL_CopyFileA
mov eax, 0x40f180
call fcn.0040e548
test al, al
je 0x40ef4a
push 0xa
call sub.KERNEL32.DLL_Sleep
push 0
push 0x40f180
push dword [ebx]
push 0x40efd4
lea eax, [ebp - 0x78]
mov edx, 3
call fcn.00404368
mov eax, dword [ebp - 0x78]
call fcn.004044a8
push eax
lea eax, [ebp - 0x80]
call fcn.0040e590
push dword [ebp - 0x80]
push 0x40efc4
push dword [ebx]
push 0x40efd4
lea eax, [ebp - 0x7c]
mov edx, 4
call fcn.00404368
mov eax, dword [ebp - 0x7c]
call fcn.004044a8
push eax
call sub.KERNEL32.DLL_CopyFileA
add ebx, 4
dec esi
jne 0x40ebf2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ef76
lea eax, [ebp - 0x80]
mov edx, 0x20
call fcn.00404020
ret