Function at 0x415d70
Capabilities:
Copy file

Disassembly:
mov eax, 0x1508
call fcn.0041f870
mov eax, dword [0x447e38]
push esi
push edi
add eax, 0x5db8
push 0x100
lea ecx, [esp + 0x214]
push eax
push ecx
call fcn.004166c0
push 0x100
lea edx, [esp + 0x220]
push str.Accept
push edx
call fcn.00416770
mov eax, dword [0x447e38]
push 0x100
add eax, 0x5bb8
lea ecx, [esp + 0x22c]
push eax
push ecx
call fcn.00416770
mov edx, dword [0x447e38]
push 0x100
add edx, 0x5db8
lea eax, [esp + 0x38]
push edx
push eax
call fcn.004166c0
push 0x100
lea ecx, [esp + 0x44]
push 0x442438
push ecx
call fcn.00416770
mov edx, dword [0x447e38]
push 0x100
add edx, 0x5bb8
lea eax, [esp + 0x50]
push edx
push eax
call fcn.00416770
mov ecx, dword [0x447e38]
add esp, 0x48
add ecx, 0x5db8
lea edx, [esp + 0x110]
push 0x100
push ecx
push edx
call fcn.004166c0
push 0x100
lea eax, [esp + 0x120]
push str.Current
push eax
call fcn.00416770
mov ecx, dword [0x447e38]
push 0x100
add ecx, 0x5bb8
lea edx, [esp + 0x12c]
push ecx
push edx
call fcn.00416770
mov eax, dword [0x447e38]
add esp, 0x24
test eax, eax
je 0x416002
mov ecx, dword [eax + 0x5ebc]
test ecx, ecx
je 0x416002
push 0x4463c5
mov byte [0x4463c4], 0x4e
call fcn.004147d0
mov edi, 0x4463c4
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, 0x200
push str.filename_error
push str.Error
sub eax, ecx
push 0x440ae4
push eax
mov edi, 0x4463c4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, 0x4463c4
push ecx
call fcn.0041f19c
lea ecx, [esp + 0x24]
push 0x4463c4
push ecx
mov edi, 0x4463c4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, 0x4463c4
push ecx
call fcn.00414880
mov eax, dword [0x447e38]
add esp, 0x20
mov cl, byte [eax + 0x5ec0]
lea edi, [eax + 0x5ec0]
test cl, cl
je 0x415fee
mov ax, word [0x440ae0]
mov edx, dword [str.hh.mm]
mov word [esp + 0xc], ax
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 8], edx
mov word [esp + 0xe], 0
lea edx, [esp + 0x310]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov dx, word [0x4463c8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 8]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov cx, word [0x4463c5]
push str.time
mov word [esp + 0x10], cx
lea ecx, [esp + 0x318]
push ecx
mov word [esp + 0x17], dx
call fcn.00417780
lea edx, [esp + 0x31c]
push 0x4409c4
push edx
call fcn.0041f85a
mov esi, eax
add esp, 0x14
test esi, esi
je 0x416002
push esi
push 0x4463c4
call fcn.0041f6fc
mov edi, 0x4463c4
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + 0x4463c3], 0xa
je 0x415fe3
push esi
push 0x440ad0
call fcn.0041f6fc
add esp, 8
push esi
call fcn.0041f74a
add esp, 4
jmp 0x416002
mov eax, dword [eax + 0x72b4]
push 0x4463c4
push eax
call fcn.00408560
add esp, 8
push 0
push 0
push 1
lea ecx, [esp + 0x11c]
push 0x440e4c
push ecx
call fcn.004072e0
add esp, 0x14
test eax, eax
jne 0x41604a
push eax
push str.Script_not_yet_tested
lea edx, [esp + 0x118]
mov eax, dword [0x447e38]
push edx
mov ecx, dword [eax + 0x72a8]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
add esp, 0x1508
ret
push eax
call fcn.0041f74a
lea edx, [esp + 0x214]
push edx
call fcn.00420374
add esp, 8
lea eax, [esp + 0x10]
lea ecx, [esp + 0x110]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x416085
push eax
push str.File_handling_error__file_locked__
lea edx, [esp + 0x18]
jmp 0x41602e
mov ecx, dword [0x447e38]
mov eax, dword [0x44856c]
lea edx, [esp + 0x510]
push edx
mov edx, dword [ecx + 0x72bc]
push eax
push edx
call fcn.004085a0
movsx eax, byte [esp + 0x51f]
push eax
call fcn.0042085a
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x10
test eax, eax
je 0x416107
mov edx, dword [0x447e38]
mov ecx, dword [0x44856c]
mov byte [esp + 0x510], 0x2d
push 0
mov eax, dword [edx + 0x72bc]
push ecx
push 0x182
push eax
call esi
mov eax, dword [0x447e38]
mov edx, dword [0x44856c]
lea ecx, [esp + 0x510]
push ecx
mov ecx, dword [eax + 0x72bc]
push edx
push 0x181
push ecx
call esi
mov edx, dword [0x44856c]
mov eax, dword [0x447e38]
inc edx
push 0
mov ecx, dword [eax + 0x72bc]
push edx
push 0x186
push ecx
call esi
cmp eax, 0xffffffff
je 0x41613e
mov eax, dword [0x44856c]
inc eax
mov dword [0x44856c], eax
inc eax
push eax
call fcn.00415210
add esp, 4
pop edi
pop esi
add esp, 0x1508
ret