Function at 0x414c9e
Capabilities:
Copy file
Delete directory
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push 4
xor esi, esi
pop ebx
mov byte [ebp - 2], 0
mov byte [ebp - 3], 0
mov byte [ebp - 4], 0
mov byte [ebp - 1], 0
mov byte [ebp - 5], 0
inc esi
jmp 0x414deb
add eax, 2
cmp word [eax], 0x2d
jne 0x414cd1
mov dword [ebp + 8], eax
push esi
lea eax, [ebp + 8]
push eax
push 0x4a4be0
call fcn.0043f1bd
add esp, 0xc
test al, al
jne 0x414df8
push 0xf
lea eax, [ebp + 8]
push eax
push str._simpleprogress
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x414d0c
mov ebx, 0x100
jmp 0x414deb
push 9
lea eax, [ebp + 8]
push eax
push str._progress
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x414d2a
xor ebx, ebx
jmp 0x414deb
push 5
lea eax, [ebp + 8]
push eax
push str._file
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x414d4a
mov byte [ebp - 2], 1
jmp 0x414deb
push 2
lea eax, [ebp + 8]
push eax
push 0x4a6cb0
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x414d6a
mov byte [ebp - 3], 1
jmp 0x414deb
push 6
lea eax, [ebp + 8]
push eax
push 0x4a6ca8
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x414d86
mov dword [ebp + 0xc], esi
jmp 0x414deb
push 2
lea eax, [ebp + 8]
push eax
push 0x4a6ca4
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x414da3
mov byte [ebp - 4], 0x10
jmp 0x414deb
push 6
lea eax, [ebp + 8]
push eax
push str._delme
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x414dc0
mov byte [ebp - 1], 0x10
jmp 0x414deb
push 3
lea eax, [ebp + 8]
push eax
push 0x4a6c98
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x414de1
mov byte [ebp - 2], 2
mov byte [ebp - 5], 2
jmp 0x414deb
lea eax, [ebp + 8]
push eax
call fcn.0040507c
pop ecx
mov eax, dword [ebp + 8]
cmp word [eax], 0x2d
je 0x414cc5
lea ecx, [ebp + 8]
call fcn.0040de83
cmp byte [ebp - 1], 0
je 0x414e3a
push str.23:INDATA
lea ecx, [ebp - 0x14]
call fcn.004457e4
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0043d4e9
push dword [ebp - 0x14]
mov ecx, 0x4bdfa0
call fcn.0042ee8f
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.00437960
jmp 0x415170
mov eax, dword [ebp + 8]
cmp word [eax], 0
jne 0x414e4d
mov eax, 0x80070057
jmp 0x415172
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov esi, eax
inc esi
lea eax, [esi + esi + 4]
push eax
lea ecx, [ebp - 0x18]
call fcn.0043d49b
push esi
push dword [ebp + 8]
push dword [ebp - 0x18]
call fcn.00405064
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov dword [ebp + 8], eax
and word [eax + esi*2], 0
and dword [ebp - 0x58], 0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
lea ecx, [ebp + 8]
stosw word es:[edi], ax
call fcn.0040de83
mov esi, dword [ebp + 8]
or bx, 0x610
mov word [ebp - 0x48], bx
xor edi, edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], 3
mov dword [ebp - 0xc], edi
mov byte [ebp - 1], 0
mov ebx, esi
call fcn.0043d47d
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
call fcn.0043d47d
lea eax, [ebp - 0x2c]
push 0xa
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x14], eax
call fcn.0043d4c2
push 0xa
lea ecx, [ebp - 0x38]
call fcn.0043d4c2
mov ax, word [esi]
cmp ax, di
je 0x414ff2
cmp byte [ebp - 3], 0
je 0x414f52
cmp ax, 0x3b
jne 0x414f52
and word [esi], 0
inc esi
inc esi
cmp word [ebx], 0
mov dword [ebp - 0x10], esi
je 0x414f33
cmp byte [ebp - 1], 0
jne 0x414f25
cmp byte [ebp - 2], 0
je 0x414f25
mov al, 1
jmp 0x414f27
xor al, al
mov edi, dword [ebp - 0x14]
push eax
push ebx
call fcn.00414a10
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
call fcn.0040de83
cmp byte [ebp - 1], 0
mov esi, dword [ebp - 0x10]
mov ebx, esi
je 0x414fe4
inc dword [ebp - 0xc]
jmp 0x414fe4
cmp ax, 0x3e
jne 0x414fe4
mov ax, word [esi - 2]
cmp ax, 0x3d
jne 0x414f6f
mov dword [ebp - 0x54], 2
jmp 0x414f90
cmp ax, 0x2d
jne 0x414f7e
mov dword [ebp - 0x54], 1
jmp 0x414f90
lea eax, [esi + 2]
cmp word [eax], 0x3e
jne 0x414f90
mov esi, eax
mov dword [ebp - 0x54], 4
lea ecx, [esi - 4]
jmp 0x414fa7
mov ax, word [ecx]
call fcn.00482120
test al, al
je 0x414fab
and word [ecx], 0
dec ecx
dec ecx
cmp ecx, ebx
jae 0x414f95
xor edx, edx
mov word [esi - 2], dx
mov word [esi], dx
inc esi
inc esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], esi
call fcn.0040de83
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x4c], esi
cmp word [ebx], dx
je 0x414fd8
mov edi, dword [ebp - 0x14]
push edx
push ebx
call fcn.00414a10
pop ecx
pop ecx
lea eax, [ebp - 0x38]
mov ebx, esi
mov byte [ebp - 1], 1
mov dword [ebp - 0x14], eax
inc esi
inc esi
mov ax, word [esi]
test ax, ax
jne 0x414efa
xor esi, esi
cmp word [ebx], si
je 0x41500e
mov edi, dword [ebp - 0x14]
push esi
push ebx
call fcn.00414a10
cmp byte [ebp - 1], 0
pop ecx
pop ecx
je 0x41500e
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], esi
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov word [eax + ecx*2], si
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov word [ecx + eax*2], si
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x50], eax
jle 0x415033
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
mov edi, 0x4beb4c
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], esi
call fcn.00403cf6
pop ecx
push esi
mov byte [ebp - 0x1c], al
call dword [sym.imp.KERNEL32.DLL_SetLastError]
cmp dword [ebp + 0xc], esi
mov eax, dword [ebp - 0x54]
je 0x415073
cmp eax, 3
jne 0x415073
movsx eax, byte [ebp - 4]
push eax
push dword [ebp - 0x2c]
call fcn.00414ac0
pop ecx
jmp 0x4150c5
cmp byte [ebp - 2], 0
je 0x4150c8
cmp byte [ebp - 5], 0
je 0x41508a
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
jmp 0x4150bf
cmp eax, 3
jne 0x41509a
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x4150bf
cmp eax, 2
jne 0x4150ae
push esi
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
jmp 0x4150bf
cmp eax, 1
jne 0x4150c8
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
push eax
call fcn.00432a01
pop ecx
jmp 0x41513f
cmp eax, 4
jne 0x41512b
push dword [ebp - 0x50]
lea ecx, [ebp - 0x10]
call fcn.004457e4
push dword [ebp - 0x10]
call fcn.0043b594
cmp eax, esi
pop ecx
jne 0x4150ea
mov eax, dword [ebp - 0x10]
jmp 0x4150ec
inc eax
inc eax
mov word [eax], si
push dword [ebp - 0x4c]
call fcn.0043b594
cmp eax, esi
pop ecx
jne 0x415101
mov eax, dword [ebp - 0x4c]
jmp 0x415103
inc eax
inc eax
push eax
lea ecx, [ebp - 0x10]
call fcn.0043d4e9
push dword [ebp - 0x10]
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
push eax
call fcn.00432a01
pop ecx
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.00437960
jmp 0x415141
cmp dword [ebp - 0xc], 2
jl 0x415135
or byte [ebp - 0x48], 1
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov esi, eax
cmp byte [ebp - 0x1c], 0
je 0x415150
push dword [ebp - 0x20]
call fcn.00403d07
pop ecx
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
lea ecx, [ebp - 0x38]
call fcn.00437960
lea ecx, [ebp - 0x2c]
call fcn.00437960
lea ecx, [ebp - 0x18]
call fcn.00437960
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret