Function at 0x75de04
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x75de0c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x75e0b9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.0040d0fc
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x75df63
cmp dword [ebx + 0x54], 0
jne 0x75de83
lea eax, [ebp - 0x18]
call fcn.0040d0fc
push dword [ebp - 0x18]
push 0x75e0d4
call fcn.00411970
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x1c]
mov eax, 0x75e0f4
call sub.rtl120.bpl__Sysutils_FormatDateTime_qqrx20System_UnicodeString16System_TDateTime
push dword [ebp - 0x1c]
push 0x75e114
lea eax, [ebx + 0x54]
mov edx, 4
call sub.rtl120.bpl__System__UStrCatN_qqrv
push 0
mov eax, dword [ebx + 0x54]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call fcn.0074a211
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x75df63
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x75df59
inc eax
mov dword [ebp - 0x14], eax
xor esi, esi
lea ecx, [ebp - 0x24]
mov edx, esi
mov eax, dword [ebx + 0x6c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call sub.rtl120.bpl__Sysutils_ExtractFileName_qqrx20System_UnicodeString
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 8]
mov edx, dword [ebp - 0xc]
call sub.rtl120.bpl__System__UStrCat3_qqrr20System_UnicodeStringx20System_UnicodeStringt2
lea ecx, [ebp - 4]
mov edx, esi
mov eax, dword [ebx + 0x70]
mov edi, dword [eax]
call dword [edi + 0xc]
push 0
mov eax, dword [ebp - 8]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
lea ecx, [ebp - 0x28]
mov edx, esi
mov eax, dword [ebx + 0x6c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x28]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
je 0x75df4f
mov eax, dword [ebp - 8]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
mov edi, eax
lea ecx, [ebp - 0x2c]
mov edx, 0x75e12c
mov eax, dword [ebp - 4]
call fcn.0040c024
mov eax, dword [ebp - 0x2c]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push edi
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.0074a299
add esp, 0xc
mov eax, dword [ebp - 8]
call sub.rtl120.bpl__Sysutils_DeleteFile_qqrx20System_UnicodeString
inc esi
dec dword [ebp - 0x14]
jne 0x75deba
mov eax, dword [ebp - 0x10]
push eax
call fcn.0074a383
pop ecx
mov eax, dword [ebx + 0x74]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x75e091
lea eax, [ebp - 0x30]
call fcn.0040d0fc
push dword [ebp - 0x30]
push 0x75e13c
call fcn.00411970
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x34]
mov eax, 0x75e0f4
call sub.rtl120.bpl__Sysutils_FormatDateTime_qqrx20System_UnicodeString16System_TDateTime
push dword [ebp - 0x34]
push 0x75e114
lea eax, [ebx + 0x58]
mov edx, 4
call sub.rtl120.bpl__System__UStrCatN_qqrv
push 0
mov eax, dword [ebx + 0x58]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call fcn.0074a211
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x75e091
mov eax, dword [ebx + 0x68]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x75e087
inc eax
mov dword [ebp - 0x14], eax
xor esi, esi
lea ecx, [ebp - 0x3c]
mov edx, esi
mov eax, dword [ebx + 0x68]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call sub.rtl120.bpl__Sysutils_ExtractFileName_qqrx20System_UnicodeString
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 8]
mov edx, dword [ebp - 0xc]
call sub.rtl120.bpl__System__UStrCat3_qqrr20System_UnicodeStringx20System_UnicodeStringt2
lea ecx, [ebp - 4]
mov edx, esi
mov eax, dword [ebx + 0x74]
mov edi, dword [eax]
call dword [edi + 0xc]
push 0
mov eax, dword [ebp - 8]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
lea ecx, [ebp - 0x40]
mov edx, esi
mov eax, dword [ebx + 0x68]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x40]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
je 0x75e07d
mov eax, dword [ebp - 8]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
mov edi, eax
lea ecx, [ebp - 0x44]
mov edx, 0x75e12c
mov eax, dword [ebp - 4]
call fcn.0040c024
mov eax, dword [ebp - 0x44]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push edi
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.0074a299
add esp, 0xc
mov eax, dword [ebp - 8]
call sub.rtl120.bpl__Sysutils_DeleteFile_qqrx20System_UnicodeString
inc esi
dec dword [ebp - 0x14]
jne 0x75dfe8
mov eax, dword [ebp - 0x10]
push eax
call fcn.0074a383
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x75e0c0
lea eax, [ebp - 0x44]
mov edx, 0xc
call sub.rtl120.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0xc]
mov edx, 3
call sub.rtl120.bpl__System__UStrArrayClr_qqrpvi
ret