Function at 0x414c22
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 0x414d6f
add eax, 2
cmp word [eax], 0x2d
jne 0x414c55
mov dword [ebp + 8], eax
push esi
lea eax, [ebp + 8]
push eax
push 0x4a4b90
call fcn.0043f0e5
add esp, 0xc
test al, al
jne 0x414d7c
push 0xf
lea eax, [ebp + 8]
push eax
push str._simpleprogress
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x414c90
mov ebx, pe_nt_image_headers32
jmp 0x414d6f
push 9
lea eax, [ebp + 8]
push eax
push str._progress
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x414cae
xor ebx, ebx
jmp 0x414d6f
push 5
lea eax, [ebp + 8]
push eax
push str._file
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x414cce
mov byte [ebp - 2], 1
jmp 0x414d6f
push 2
lea eax, [ebp + 8]
push eax
push 0x4a6c60
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x414cee
mov byte [ebp - 3], 1
jmp 0x414d6f
push 6
lea eax, [ebp + 8]
push eax
push 0x4a6c58
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x414d0a
mov dword [ebp + 0xc], esi
jmp 0x414d6f
push 2
lea eax, [ebp + 8]
push eax
push 0x4a6c54
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x414d27
mov byte [ebp - 4], 0x10
jmp 0x414d6f
push 6
lea eax, [ebp + 8]
push eax
push str._delme
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x414d44
mov byte [ebp - 1], 0x10
jmp 0x414d6f
push 3
lea eax, [ebp + 8]
push eax
push 0x4a6c48
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x414d65
mov byte [ebp - 2], 2
mov byte [ebp - 5], 2
jmp 0x414d6f
lea eax, [ebp + 8]
push eax
call fcn.00407fcf
pop ecx
mov eax, dword [ebp + 8]
cmp word [eax], 0x2d
je 0x414c49
lea ecx, [ebp + 8]
call fcn.0040ddcf
cmp byte [ebp - 1], 0
je 0x414dbe
push str.23:INDATA
lea ecx, [ebp - 0x14]
call fcn.00445746
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0043d411
push dword [ebp - 0x14]
mov ecx, 0x4bdfa0
call fcn.0042edd5
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.00437884
jmp 0x4150f4
mov eax, dword [ebp + 8]
cmp word [eax], 0
jne 0x414dd1
mov eax, 0x80070057
jmp 0x4150f6
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.0043d3c3
push esi
push dword [ebp + 8]
push dword [ebp - 0x18]
call fcn.00405049
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.0040ddcf
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.0043d3a5
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
call fcn.0043d3a5
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.0043d3ea
push 0xa
lea ecx, [ebp - 0x38]
call fcn.0043d3ea
mov ax, word [esi]
cmp ax, di
je 0x414f76
cmp byte [ebp - 3], 0
je 0x414ed6
cmp ax, 0x3b
jne 0x414ed6
and word [esi], 0
inc esi
inc esi
cmp word [ebx], 0
mov dword [ebp - 0x10], esi
je 0x414eb7
cmp byte [ebp - 1], 0
jne 0x414ea9
cmp byte [ebp - 2], 0
je 0x414ea9
mov al, 1
jmp 0x414eab
xor al, al
mov edi, dword [ebp - 0x14]
push eax
push ebx
call fcn.00414994
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
call fcn.0040ddcf
cmp byte [ebp - 1], 0
mov esi, dword [ebp - 0x10]
mov ebx, esi
je 0x414f68
inc dword [ebp - 0xc]
jmp 0x414f68
cmp ax, 0x3e
jne 0x414f68
mov ax, word [esi - 2]
cmp ax, 0x3d
jne 0x414ef3
mov dword [ebp - 0x54], 2
jmp 0x414f14
cmp ax, 0x2d
jne 0x414f02
mov dword [ebp - 0x54], 1
jmp 0x414f14
lea eax, [esi + 2]
cmp word [eax], 0x3e
jne 0x414f14
mov esi, eax
mov dword [ebp - 0x54], 4
lea ecx, [esi - 4]
jmp 0x414f2b
mov ax, word [ecx]
call fcn.004820ac
test al, al
je 0x414f2f
and word [ecx], 0
dec ecx
dec ecx
cmp ecx, ebx
jae 0x414f19
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.0040ddcf
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x4c], esi
cmp word [ebx], dx
je 0x414f5c
mov edi, dword [ebp - 0x14]
push edx
push ebx
call fcn.00414994
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 0x414e7e
xor esi, esi
cmp word [ebx], si
je 0x414f92
mov edi, dword [ebp - 0x14]
push esi
push ebx
call fcn.00414994
cmp byte [ebp - 1], 0
pop ecx
pop ecx
je 0x414f92
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 0x414fb7
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.00403d1f
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 0x414ff7
cmp eax, 3
jne 0x414ff7
movsx eax, byte [ebp - 4]
push eax
push dword [ebp - 0x2c]
call fcn.00414a44
pop ecx
jmp 0x415049
cmp byte [ebp - 2], 0
je 0x41504c
cmp byte [ebp - 5], 0
je 0x41500e
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
jmp 0x415043
cmp eax, 3
jne 0x41501e
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x415043
cmp eax, 2
jne 0x415032
push esi
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
jmp 0x415043
cmp eax, 1
jne 0x41504c
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
push eax
call fcn.00432951
pop ecx
jmp 0x4150c3
cmp eax, 4
jne 0x4150af
push dword [ebp - 0x50]
lea ecx, [ebp - 0x10]
call fcn.00445746
push dword [ebp - 0x10]
call fcn.0043b49c
cmp eax, esi
pop ecx
jne 0x41506e
mov eax, dword [ebp - 0x10]
jmp 0x415070
inc eax
inc eax
mov word [eax], si
push dword [ebp - 0x4c]
call fcn.0043b49c
cmp eax, esi
pop ecx
jne 0x415085
mov eax, dword [ebp - 0x4c]
jmp 0x415087
inc eax
inc eax
push eax
lea ecx, [ebp - 0x10]
call fcn.0043d411
push dword [ebp - 0x10]
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
push eax
call fcn.00432951
pop ecx
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.00437884
jmp 0x4150c5
cmp dword [ebp - 0xc], 2
jl 0x4150b9
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 0x4150d4
push dword [ebp - 0x20]
call fcn.00403d30
pop ecx
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
lea ecx, [ebp - 0x38]
call fcn.00437884
lea ecx, [ebp - 0x2c]
call fcn.00437884
lea ecx, [ebp - 0x18]
call fcn.00437884
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret