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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
push 4
pop ebx
xor edi, edi
push 3
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 1], 0
mov byte [ebp - 4], 0
mov byte [ebp - 5], 0
mov byte [ebp - 2], 0
mov byte [ebp - 7], 0
mov byte [ebp - 3], 0
mov byte [ebp - 6], 0
inc edi
pop esi
jmp 0x429685
add eax, 2
cmp word [eax], 0x2d
jne 0x42950a
mov dword [ebp + 8], eax
push edi
lea eax, [ebp + 8]
push eax
push 0x4c0f5c
call fcn.00446a34
add esp, 0xc
test al, al
jne 0x429692
push 0xf
lea eax, [ebp + 8]
push eax
push str._simpleprogress
call fcn.00446a34
add esp, 0xc
test al, al
je 0x429545
mov ebx, 0x100
jmp 0x429685
push 9
lea eax, [ebp + 8]
push eax
push str._progress
call fcn.00446a34
add esp, 0xc
test al, al
je 0x429563
xor ebx, ebx
jmp 0x429685
push 5
lea eax, [ebp + 8]
push eax
push 0x4c4b10
call fcn.00446a34
add esp, 0xc
test al, al
je 0x429583
mov byte [ebp - 1], 1
jmp 0x429685
push 2
lea eax, [ebp + 8]
push eax
push 0x4c4b0c
call fcn.00446a34
add esp, 0xc
test al, al
je 0x4295a3
mov byte [ebp - 4], 1
jmp 0x429685
push 7
lea eax, [ebp + 8]
push eax
push str._forceq
call fcn.00446a34
add esp, 0xc
test al, al
je 0x4295c2
mov dword [ebp + 0xc], esi
jmp 0x429685
push 6
lea eax, [ebp + 8]
push eax
push 0x4c4afc
call fcn.00446a34
add esp, 0xc
test al, al
je 0x4295e1
mov dword [ebp + 0xc], edi
jmp 0x429685
push esi
lea eax, [ebp + 8]
push eax
push 0x4c4af8
call fcn.00446a34
add esp, 0xc
test al, al
je 0x429604
or byte [ebp - 1], 0x10
mov byte [ebp - 3], 0x10
jmp 0x429685
push 2
lea eax, [ebp + 8]
push eax
push 0x4c4af4
call fcn.00446a34
add esp, 0xc
test al, al
je 0x429621
mov byte [ebp - 5], 0x10
jmp 0x429685
push 6
lea eax, [ebp + 8]
push eax
push str._delme
call fcn.00446a34
add esp, 0xc
test al, al
je 0x42963e
mov byte [ebp - 2], 0x10
jmp 0x429685
push esi
lea eax, [ebp + 8]
push eax
push 0x4c4ae8
call fcn.00446a34
add esp, 0xc
test al, al
je 0x42965e
mov byte [ebp - 1], 2
mov byte [ebp - 7], 2
jmp 0x429685
push 6
lea eax, [ebp + 8]
push eax
push str._delay
call fcn.00446a34
add esp, 0xc
test al, al
je 0x42967b
mov byte [ebp - 6], 1
jmp 0x429685
lea eax, [ebp + 8]
push eax
call fcn.00409168
pop ecx
mov eax, dword [ebp + 8]
cmp word [eax], 0x2d
je 0x4294fe
lea ecx, [ebp + 8]
call fcn.0040f813
cmp byte [ebp - 2], 0
je 0x4296cf
push str.23:INDATA
lea ecx, [ebp + 0xc]
call fcn.0044df7a
push dword [ebp + 8]
lea ecx, [ebp + 0xc]
call fcn.00444a7c
push dword [ebp + 0xc]
mov ecx, 0x4db0e0
call fcn.00422182
mov esi, eax
lea ecx, [ebp + 0xc]
jmp 0x429b54
mov eax, dword [ebp + 8]
cmp word [eax], 0
jne 0x4296e2
mov eax, 0x80070057
jmp 0x429b5b
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.00444a2e
push esi
push dword [ebp + 8]
push dword [ebp - 0x18]
call fcn.00405988
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov dword [ebp + 8], eax
and word [eax + esi*2], 0
and dword [ebp - 0x5c], 0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
lea ecx, [ebp + 8]
stosw word es:[edi], ax
call fcn.0040f813
mov esi, dword [ebp + 8]
or bx, 0x610
mov word [ebp - 0x4c], bx
xor edi, edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], 3
mov dword [ebp - 0xc], edi
mov byte [ebp - 2], 0
mov ebx, esi
call fcn.00444a10
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
call fcn.00444a10
lea eax, [ebp - 0x30]
push 0xa
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x14], eax
call fcn.00444a55
push 0xa
lea ecx, [ebp - 0x3c]
call fcn.00444a55
mov ax, word [esi]
cmp ax, di
je 0x429886
cmp byte [ebp - 4], 0
je 0x4297e6
cmp ax, 0x3b
jne 0x4297e6
and word [esi], 0
inc esi
inc esi
cmp word [ebx], 0
mov dword [ebp - 0x10], esi
je 0x4297c7
cmp byte [ebp - 2], 0
jne 0x4297b9
cmp byte [ebp - 1], 0
je 0x4297b9
mov al, 1
jmp 0x4297bb
xor al, al
mov edi, dword [ebp - 0x14]
push eax
push ebx
call fcn.0041739d
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
call fcn.0040f813
cmp byte [ebp - 2], 0
mov esi, dword [ebp - 0x10]
mov ebx, esi
je 0x429878
inc dword [ebp - 0xc]
jmp 0x429878
cmp ax, 0x3e
jne 0x429878
mov ax, word [esi - 2]
cmp ax, 0x3d
jne 0x429803
mov dword [ebp - 0x58], 2
jmp 0x429824
cmp ax, 0x2d
jne 0x429812
mov dword [ebp - 0x58], 1
jmp 0x429824
lea eax, [esi + 2]
cmp word [eax], 0x3e
jne 0x429824
mov esi, eax
mov dword [ebp - 0x58], 4
lea ecx, [esi - 4]
jmp 0x42983b
mov ax, word [ecx]
call fcn.00402d55
test al, al
je 0x42983f
and word [ecx], 0
dec ecx
dec ecx
cmp ecx, ebx
jae 0x429829
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.0040f813
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x50], esi
cmp word [ebx], dx
je 0x42986c
mov edi, dword [ebp - 0x14]
push edx
push ebx
call fcn.0041739d
pop ecx
pop ecx
lea eax, [ebp - 0x3c]
mov ebx, esi
mov byte [ebp - 2], 1
mov dword [ebp - 0x14], eax
inc esi
inc esi
mov ax, word [esi]
test ax, ax
jne 0x42978e
xor esi, esi
cmp word [ebx], si
je 0x4298a2
mov edi, dword [ebp - 0x14]
push esi
push ebx
call fcn.0041739d
cmp byte [ebp - 2], 0
pop ecx
pop ecx
je 0x4298a2
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], esi
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov word [eax + ecx*2], si
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
mov word [ecx + eax*2], si
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x54], eax
jle 0x4298c7
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
push 0x4dbd30
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], esi
call fcn.00403ee2
pop ecx
push esi
mov byte [ebp - 0x20], al
call dword [sym.imp.KERNEL32.DLL_SetLastError]
cmp dword [ebp + 0xc], esi
mov eax, dword [ebp - 0x58]
je 0x429921
cmp eax, 3
jne 0x429921
test byte [ebp + 0xc], 2
je 0x42990e
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.shell32.dll_SHFileOperationW]
test eax, eax
je 0x429b27
movsx eax, byte [ebp - 5]
push eax
push dword [ebp - 0x30]
call fcn.0041744d
pop ecx
jmp 0x429aab
cmp byte [ebp - 6], 0
je 0x429946
mov eax, dword [ebp - 0x50]
cmp eax, esi
je 0x429933
cmp word [eax], si
jne 0x429935
xor eax, eax
push 6
push eax
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
jmp 0x429aa5
cmp byte [ebp - 1], 0
je 0x429aae
cmp byte [ebp - 7], 0
je 0x429964
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
jmp 0x429aa5
cmp eax, 3
jne 0x429a29
cmp byte [ebp - 3], 0
je 0x429a1e
xor eax, eax
push eax
mov ebx, 0x6000080
push ebx
push 3
push eax
push 7
mov edi, 0x80000000
push edi
push dword [ebp - 0x54]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
call fcn.00405a2a
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x14], eax
call esi
cmp dword [ebp - 0x14], 0
jne 0x4299ce
cmp eax, 2
jne 0x429a16
lea ecx, [ebp + 0xc]
call fcn.00402cb5
cmp byte [ebp - 0x20], 0
je 0x4299c6
push dword [ebp - 0x24]
call fcn.00403ef3
pop ecx
push 2
pop esi
jmp 0x429b36
lea ecx, [ebp + 0xc]
call fcn.00402cb5
push 0
push ebx
push 3
push 0
push 7
push edi
push dword [ebp - 0x54]
lea ecx, [ebp + 0xc]
call fcn.00405a2a
mov edi, eax
call esi
test edi, edi
jne 0x429a16
cmp eax, 2
jne 0x429a16
lea ecx, [ebp + 0xc]
call fcn.00402cb5
cmp byte [ebp - 0x20], 0
je 0x429a0f
push dword [ebp - 0x24]
call fcn.00403ef3
pop ecx
xor esi, esi
jmp 0x429b36
lea ecx, [ebp + 0xc]
call fcn.00402cb5
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x429aa5
cmp eax, 2
jne 0x429a94
cmp byte [ebp - 3], 0
je 0x429a85
push str.__dd__bs8M__
lea ecx, [ebp + 0xc]
call fcn.0044df7a
push dword [ebp - 0x50]
lea ecx, [ebp + 0xc]
call fcn.00444a7c
push str.__0__
lea ecx, [ebp + 0xc]
call fcn.00444a7c
push dword [ebp - 0x54]
lea ecx, [ebp + 0xc]
call fcn.00444a7c
push 0x4bfca8
lea ecx, [ebp + 0xc]
call fcn.00444a7c
mov ecx, dword [ebp - 0x1c]
push esi
push dword [ebp + 0xc]
call fcn.00474562
lea ecx, [ebp + 0xc]
jmp 0x429b08
push esi
push dword [ebp - 0x50]
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
jmp 0x429aa5
cmp eax, 1
jne 0x429aae
push dword [ebp - 0x50]
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
push eax
call fcn.00438d90
pop ecx
jmp 0x429b25
cmp eax, 4
jne 0x429b11
push dword [ebp - 0x54]
lea ecx, [ebp - 0x10]
call fcn.0044df7a
push dword [ebp - 0x10]
call fcn.0044260b
cmp eax, esi
pop ecx
jne 0x429ad0
mov eax, dword [ebp - 0x10]
jmp 0x429ad2
inc eax
inc eax
mov word [eax], si
push dword [ebp - 0x50]
call fcn.0044260b
cmp eax, esi
pop ecx
jne 0x429ae7
mov eax, dword [ebp - 0x50]
jmp 0x429ae9
inc eax
inc eax
push eax
lea ecx, [ebp - 0x10]
call fcn.00444a7c
push dword [ebp - 0x10]
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
push eax
call fcn.00438d90
pop ecx
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.0043e48d
jmp 0x429b27
cmp dword [ebp - 0xc], 2
jl 0x429b1b
or byte [ebp - 0x4c], 1
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.shell32.dll_SHFileOperationW]
mov esi, eax
cmp byte [ebp - 0x20], 0
je 0x429b36
push dword [ebp - 0x24]
call fcn.00403ef3
pop ecx
push 0x4dbd30
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
lea ecx, [ebp - 0x3c]
call fcn.0043e48d
lea ecx, [ebp - 0x30]
call fcn.0043e48d
lea ecx, [ebp - 0x18]
call fcn.0043e48d
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8