Function at 0x6fe100
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
push edi
lea edi, [ebp - 0x218]
mov ecx, 0x86
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x818f7c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov word [ebp - 0xc], ax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x4c], 0
push 0x10e
push 1
call fcn.0053360d
add esp, 8
mov dword [ebp - 0x34], eax
push 0x10e
push 1
call fcn.0053360d
add esp, 8
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x34], 0
je 0x6fe18c
cmp dword [ebp - 0x40], 0
jne 0x6fe193
xor eax, eax
jmp 0x6fe468
push str.SA12_Archive
mov eax, dword [ebp - 0x40]
push eax
call fcn.005358a4
add esp, 8
mov eax, dword [ebp - 0x40]
push eax
call fcn.00532a4b
add esp, 4
test eax, eax
jne 0x6fe1c2
push 0
mov eax, dword [ebp - 0x40]
push eax
call fcn.0053535e
add esp, 8
push 0
push 0
call fcn.005341e3
add esp, 8
push eax
push str._sSA12_Archive2004_
push 0x104
mov eax, dword [ebp - 0x34]
push eax
call fcn.00535be2
add esp, 0x10
cmp dword [ebp + 8], 0
je 0x6fe2ca
push str.Would_you_like_to_restore_ALL_archives___Y_N__n_nYES___NO
push str.__Restore_SA12_Invoice_Archive__
push 0
push 0
call fcn.00532316
add esp, 0x10
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x6fe2ca
mov byte [ebp - 0x154], 0
push 0xff
push 0
lea eax, [ebp - 0x153]
push eax
call fcn.00533469
add esp, 0xc
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x2513]
push ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x2512]
push eax
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x2510]
push edx
push str._04d__02d__02d_
lea eax, [ebp - 0x154]
push eax
call fcn.00533cfc
add esp, 0x14
push 0
lea eax, [ebp - 0x154]
push eax
push str.2004_
push 0x104
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00532d5c
add esp, 0x14
push 0
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.005338bf
add esp, 0xc
test eax, eax
jne 0x6fe2b1
push 0
push str.TillEntryRestoreArchiveFail.wav
call fcn.005349bd
add esp, 8
xor eax, eax
jmp 0x6fe468
push 0
push str.TillEntryRestoreArchiveSuccess.wav
call fcn.005349bd
add esp, 8
mov eax, 1
jmp 0x6fe468
mov eax, dword [ebp - 0x34]
push eax
call fcn.00533603
add esp, 4
mov ecx, dword [ebp - 0x34]
mov byte [ecx + eax + 1], 0
mov eax, dword [ebp - 0x40]
push eax
call fcn.00533603
add esp, 4
mov ecx, dword [ebp - 0x40]
mov byte [ecx + eax + 1], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 2
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1c], eax
mov eax, 0x710
mov word [ebp - 0x18], ax
mov dword [ebp - 0x12], 0
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0xe], str.Restoring_the_invoice_archive_for_2004...
mov esi, esp
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
cmp esi, esp
call fcn.00535fca
test eax, eax
je 0x6fe348
mov dword [ebp - 0x4c], 0
push 0
push str.Click2.wav
call fcn.005349bd
add esp, 8
push 0
push str.2005_
push str.2004_
push 0x104
mov eax, dword [ebp - 0x34]
push eax
call fcn.00532d5c
add esp, 0x14
mov eax, dword [ebp - 0x34]
push eax
call fcn.00533603
add esp, 4
mov ecx, dword [ebp - 0x34]
mov byte [ecx + eax + 1], 0
mov dword [ebp - 0xe], str.Restoring_the_invoice_archive_for_2005...
mov esi, esp
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
cmp esi, esp
call fcn.00535fca
test eax, eax
je 0x6fe3ad
mov dword [ebp - 0x4c], 0
push 0
push str.Click2.wav
call fcn.005349bd
add esp, 8
push 0
push str.2006_
push str.2005_
push 0x104
mov eax, dword [ebp - 0x34]
push eax
call fcn.00532d5c
add esp, 0x14
mov eax, dword [ebp - 0x34]
push eax
call fcn.00533603
add esp, 4
mov ecx, dword [ebp - 0x34]
mov byte [ecx + eax + 1], 0
mov dword [ebp - 0xe], str.Restoring_the_invoice_archive_for_2006...
mov esi, esp
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
cmp esi, esp
call fcn.00535fca
test eax, eax
je 0x6fe412
mov dword [ebp - 0x4c], 0
push 1
push str.Click2.wav
call fcn.005349bd
add esp, 8
mov eax, dword [ebp - 0x34]
push eax
call fcn.005341bb
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
call fcn.005341bb
add esp, 4
cmp dword [ebp - 0x4c], 0
jne 0x6fe454
push 0
push str.TillEntryRestoreArchiveFail.wav
call fcn.005349bd
add esp, 8
xor eax, eax
jmp 0x6fe468
push 0
push str.TillEntryRestoreArchiveSuccess.wav
call fcn.005349bd
add esp, 8
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x6fe498]
call fcn.0053491d
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00535561
add esp, 0x218
cmp ebp, esp
call fcn.00535fca
mov esp, ebp
pop ebp
ret