Function at 0x40dd10
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x40dd18
push ebx
push esi
mov ebx, eax
mov esi, 0x4107e0
xor eax, eax
push ebp
push 0x40e07a
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0040dbb0
test al, al
jne 0x40ddf2
push 0
lea eax, [ebp - 4]
call fcn.004058d0
lea eax, [ebp - 4]
mov edx, 0x40e090
call fcn.00403ddc
mov eax, dword [ebp - 4]
call fcn.00403fd4
push eax
lea edx, [ebp - 8]
xor eax, eax
call fcn.00405734
mov eax, dword [ebp - 8]
call fcn.00403fd4
push eax
call sub.kernel32.dll_CopyFileA
push 0
lea eax, [ebp - 0xc]
call fcn.004058d0
lea eax, [ebp - 0xc]
mov edx, 0x40e0a8
call fcn.00403ddc
mov eax, dword [ebp - 0xc]
call fcn.00403fd4
push eax
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00405734
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0040a77c
lea eax, [ebp - 0x10]
mov edx, 0x40e0a8
call fcn.00403ddc
mov eax, dword [ebp - 0x10]
call fcn.00403fd4
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x18]
call fcn.004058d0
lea eax, [ebp - 0x18]
mov edx, 0x40e090
call fcn.00403ddc
mov eax, dword [ebp - 0x18]
xor edx, edx
call fcn.0040d8d0
mov eax, dword [ebx + 0x18]
call fcn.00407320
mov eax, dword [ebx + 0x18]
call fcn.00408d6c
mov edx, eax
mov eax, dword [ebx + 0x24]
call fcn.00408d78
mov eax, dword [ebx + 0x24]
call fcn.00408d6c
mov edx, eax
mov eax, dword [ebx + 0x30]
call fcn.00408d78
mov eax, dword [ebx + 0x24]
call fcn.00408d6c
mov edx, eax
mov eax, dword [ebx + 0x28]
call fcn.00408d78
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.00405734
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.0040a77c
mov edx, dword [ebp - 0x1c]
mov eax, 0x4107e8
call fcn.00403bb4
lea eax, [ebp - 0x24]
mov ecx, 0x40e0c0
mov edx, dword [0x4107e8]
call fcn.00403e20
mov eax, dword [ebp - 0x24]
call fcn.00405bec
mov dword [esi], eax
mov eax, dword [esi]
mov byte [eax + 0x18], 0
mov eax, dword [esi]
add eax, 0x1d
mov edx, 0x40e0d8
call fcn.00403bb4
lea eax, [ebp - 0x28]
push eax
mov eax, dword [esi]
xor ecx, ecx
mov edx, 0x40e0ec
call fcn.00405b48
mov edx, dword [ebp - 0x28]
mov eax, 0x4107ec
call fcn.00403bb4
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esi]
xor ecx, ecx
mov edx, 0x40e0fc
call fcn.00405b48
mov edx, dword [ebp - 0x2c]
mov eax, 0x4107f4
call fcn.00403bb4
lea eax, [ebp - 0x30]
push eax
mov eax, dword [esi]
xor ecx, ecx
mov edx, 0x40e110
call fcn.00405b48
mov edx, dword [ebp - 0x30]
mov eax, 0x4107f8
call fcn.00403bb4
mov eax, dword [ebx + 0x4c]
mov edx, dword [0x4107f4]
call fcn.00408928
mov eax, dword [esi]
add eax, 0x1d
mov edx, 0x40e120
call fcn.00403bb4
lea eax, [ebp - 0x34]
push eax
mov eax, dword [esi]
xor ecx, ecx
mov edx, 0x40e134
call fcn.00405b48
mov edx, dword [ebp - 0x34]
mov eax, dword [ebx + 0x18]
call fcn.00408928
lea eax, [ebp - 0x38]
push eax
mov eax, dword [esi]
xor ecx, ecx
mov edx, 0x40e140
call fcn.00405b48
mov edx, dword [ebp - 0x38]
mov eax, dword [ebx + 0x34]
call fcn.00408928
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [esi]
xor ecx, ecx
mov edx, 0x40e14c
call fcn.00405b48
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebx + 0x38]
call fcn.00408928
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [esi]
xor ecx, ecx
mov edx, 0x40e158
call fcn.00405b48
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [0x4107ec]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
lea edx, [ebp - 0x4c]
xor ecx, ecx
pop eax
call fcn.0040ae0c
mov edx, dword [ebp - 0x40]
mov eax, dword [ebx + 0x3c]
call fcn.00408928
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
push eax
mov eax, dword [esi]
xor ecx, ecx
mov edx, 0x40e164
call fcn.00405b48
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [0x4107ec]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
lea edx, [ebp - 0x4c]
xor ecx, ecx
pop eax
call fcn.0040ae0c
mov edx, dword [ebp - 0x50]
mov eax, dword [ebx + 0x44]
call fcn.00408928
lea eax, [ebp - 0x58]
push eax
mov eax, dword [esi]
xor ecx, ecx
mov edx, 0x40e170
call fcn.00405b48
mov edx, dword [ebp - 0x58]
mov eax, 0x4107f0
call fcn.00403bb4
mov eax, dword [esi]
add eax, 0x1d
mov edx, 0x40e17c
call fcn.00403bb4
mov eax, dword [esi]
xor ecx, ecx
mov edx, 0x40e18c
call fcn.00405a9c
mov dword [0x410800], eax
mov eax, dword [esi]
add eax, 0x1d
mov edx, 0x40e19c
call fcn.00403bb4
mov eax, dword [esi]
xor ecx, ecx
mov edx, 0x40e18c
call fcn.00405a9c
mov dword [0x4107fc], eax
mov eax, dword [esi]
add eax, 0x1d
mov edx, 0x40e1ac
call fcn.00403bb4
mov eax, dword [esi]
xor ecx, ecx
mov edx, 0x40e18c
call fcn.00405a9c
mov dword [0x410808], eax
mov eax, dword [ebx + 0x18]
call fcn.00409298
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e081
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.00403b84
lea eax, [ebp - 0x44]
mov edx, 0x11
call fcn.00403b84
ret