Function at 0x42c8c0
Capabilities:
Copy file
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567f61
mov eax, dword fs:[0]
push eax
sub esp, 0x3ac
mov eax, dword [0x5cdde4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x3ac], ebx
mov esi, dword [ebx]
cmp dword [esi + 0x60c], 8
lea eax, [esi + 0x5f8]
lea edx, [eax + 0x10]
jb 0x42c90c
mov eax, dword [eax]
push 3
push 0x56bb54
push dword [edx]
push eax
call fcn.004249b0
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
add esp, 0x10
test eax, eax
jne 0x42cfea
xor ecx, ecx
mov dword [ebp - 0x8c], 7
push 0xffffffffffffffff
push ecx
lea eax, [esi + 0x5b0]
mov word [ebp - 0xa0], cx
push eax
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x90], 0
call fcn.00425260
mov eax, dword [ebx]
xor ecx, ecx
push 0xffffffffffffffff
push ecx
add eax, 0x5c8
mov word [ebp - 0x88], cx
push eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
call fcn.00425260
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov eax, dword [ebx]
xor ecx, ecx
push 0xffffffffffffffff
push ecx
add eax, 0x5e0
mov word [ebp - 0x28], cx
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call fcn.00425260
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push eax
mov byte [ebp - 4], 3
call fcn.00434c70
add esp, 8
test al, al
jne 0x42ca03
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [ebp - 0x8c], 8
lea eax, [ebp - 0xa0]
push 0
cmovae eax, dword [ebp - 0xa0]
push eax
call fcn.00430940
mov esi, eax
add esp, 8
mov dword [ebp - 0x3a4], esi
test esi, esi
je 0x42cf38
lea eax, [ebp - 0x36c]
push eax
push 0xffffffffffffffff
push esi
call fcn.00430800
mov eax, dword [ebp - 0x36c]
xor ebx, ebx
add esp, 0xc
mov dword [ebp - 0x3a8], eax
mov dword [ebp - 0x388], ebx
test eax, eax
jle 0x42cf27
mov edi, dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_void_]
lea eax, [ebp - 0x36c]
push eax
push ebx
push esi
call fcn.00430800
xor eax, eax
mov dword [ebp - 0xa4], 7
add esp, 0xc
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
cmp word [ebp - 0x368], ax
je 0x42cab5
lea eax, [ebp - 0x368]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42caa6
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x368]
push eax
lea ecx, [ebp - 0xb8]
call fcn.00425380
push 1
xor eax, eax
mov byte [ebp - 4], 4
push 0x56b654
lea ecx, [ebp - 0x384]
mov dword [ebp - 0x370], 7
mov dword [ebp - 0x374], 0
mov word [ebp - 0x384], ax
call fcn.00425380
push 1
xor eax, eax
mov byte [ebp - 4], 5
push 0x56bb5c
lea ecx, [ebp - 0x3a0]
mov dword [ebp - 0x38c], 7
mov dword [ebp - 0x390], 0
mov word [ebp - 0x3a0], ax
call fcn.00425380
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x384]
push eax
lea eax, [ebp - 0x3a0]
push eax
call fcn.00436070
mov eax, dword [ebp - 0x38c]
add esp, 0xc
cmp eax, 8
jb 0x42cb6d
inc eax
lea ecx, [ebp - 0x3a0]
push eax
push dword [ebp - 0x3a0]
call fcn.004256a0
xor eax, eax
mov dword [ebp - 0x38c], 7
mov word [ebp - 0x3a0], ax
mov eax, dword [ebp - 0x370]
mov dword [ebp - 0x390], 0
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x42cbac
inc eax
lea ecx, [ebp - 0x384]
push eax
push dword [ebp - 0x384]
call fcn.004256a0
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00420680
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 7
cmovae eax, dword [ebp - 0x70]
push eax
push ebx
push esi
call fcn.00430a70
mov ebx, eax
add esp, 0x18
test ebx, ebx
je 0x42cddb
push 0
push 0
push ebx
call fcn.0042ffc0
xor ecx, ecx
mov edx, 2
lea esi, [eax + 1]
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00523654
push esi
mov edi, eax
push 0
push edi
call fcn.0053c9e0
push esi
push edi
push ebx
call fcn.0042ffc0
add esp, 0x28
mov dword [ebp - 0x370], 7
xor ecx, ecx
mov dword [ebp - 0x374], 0
mov word [ebp - 0x384], cx
lea ecx, [ebp - 0x384]
push eax
push edi
call fcn.00425380
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x42cc61
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004256a0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x384]
mov dword [ebp - 0x30], 0
push eax
call fcn.00423b30
mov eax, dword [ebp - 0x370]
mov byte [ebp - 4], 7
cmp eax, 8
jb 0x42cca6
inc eax
lea ecx, [ebp - 0x384]
push eax
push dword [ebp - 0x384]
call fcn.004256a0
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x42ccc3
mov eax, dword [ecx]
jmp 0x42ccc5
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x40]
push edx
push eax
call fcn.00425260
lea eax, [ebp - 0x3a0]
push eax
call fcn.00436ac0
add esp, 0x1c
push eax
push 0x56bb60
sub esp, 0x18
mov byte [ebp - 4], 9
lea eax, [ebp - 0x368]
mov ecx, esp
push eax
call fcn.00421e50
lea eax, [ebp - 0x384]
push eax
call fcn.00436ac0
add esp, 0x1c
mov esi, eax
push 0xdf
push str.tip_wnd.cpp
lea ecx, [ebp - 0x3b8]
mov byte [ebp - 4], 0xa
call fcn.00439bf0
push esi
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.0043f1f0
push eax
call fcn.0042a610
add esp, 8
push eax
call fcn.004202e0
add esp, 8
push eax
call fcn.0042a610
add esp, 8
lea ecx, [ebp - 0x3b8]
call fcn.0043a050
mov eax, dword [ebp - 0x370]
cmp eax, 0x10
jb 0x42cd7a
inc eax
lea ecx, [ebp - 0x384]
push eax
push dword [ebp - 0x384]
call fcn.00425650
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x370], 0xf
mov dword [ebp - 0x374], 0
mov byte [ebp - 0x384], 0
cmp eax, 0x10
jb 0x42cdb3
inc eax
lea ecx, [ebp - 0x3a0]
push eax
push dword [ebp - 0x3a0]
call fcn.00425650
lea ecx, [ebp - 0x70]
call fcn.004226e0
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 3
call fcn.004226e0
mov esi, dword [ebp - 0x3a4]
mov edi, dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_void_]
jmp 0x42cf08
push 0x56b654
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x384]
push eax
call fcn.0042a970
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xc
push ecx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0042a930
add esp, 0x18
lea ecx, [ebp - 0x384]
mov byte [ebp - 4], 0xe
call fcn.004226e0
test byte [ebp - 0x160], 0x10
lea eax, [ebp - 0x58]
je 0x42ce39
cmp dword [ebp - 0x44], 8
push 0
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x42cee9
push 1
push eax
call fcn.00434bd0
add esp, 8
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x70]
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x5c], 8
push 0
cmovae eax, dword [ebp - 0x70]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x13c]
test eax, eax
je 0x42ce8d
call edi
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xf
cmovae eax, dword [ebp - 0x58]
push eax
push str._s_copy_fail
jmp 0x42cea4
call edi
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x10
cmovae eax, dword [ebp - 0x58]
push eax
push str._s_copy_ok
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.DuiLib.dll_public:_int___cdecl_DuiLib::CDuiString::Format_wchar_t_const__]
add esp, 0xc
lea ecx, [ebp - 0x13c]
push 1
call dword [sym.imp.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
push eax
call fcn.0043fd50
add esp, 8
lea ecx, [ebp - 0x13c]
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x58]
call fcn.004226e0
lea ecx, [ebp - 0x70]
call fcn.004226e0
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 3
call fcn.004226e0
mov ebx, dword [ebp - 0x388]
inc ebx
mov dword [ebp - 0x388], ebx
cmp ebx, dword [ebp - 0x3a8]
jl 0x42ca66
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
push esi
call fcn.0042fdd0
mov ebx, dword [ebp - 0x3ac]
add esp, 4
jmp 0x42cf48
mov eax, dword [ebx]
push 0
push 0
push 0x4c9
push dword [eax + 4]
call edi
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x42cf5d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004256a0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x42cf86
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004256a0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x42cfb5
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.004256a0
xor eax, eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x78], 0
cmp eax, 8
jb 0x42cfea
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.004256a0
mov eax, dword [ebx]
push 0
push 1
push 0x4c9
push dword [eax + 4]
call edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00523ae4
mov esp, ebp
pop ebp
ret