Function at 0x546e68
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
xor ebx, ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004061d4
xor eax, eax
push ebp
push 0x547243
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 9], 0
je 0x546ebe
call fcn.00547614
test al, al
je 0x547200
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x18]
jl 0x547009
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
push 0x54725c
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x1c]
call fcn.0040cee0
push dword [ebp - 0x68]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004067a4
mov eax, dword [ebp - 0x14]
call fcn.0040d65c
test al, al
je 0x546f14
mov eax, dword [ebp - 0x14]
call fcn.00406278
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x1c]
dec eax
cmp eax, 1
jl 0x546fb4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
push 0x54725c
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x10]
call fcn.0040cee0
push dword [ebp - 0x6c]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004067a4
mov eax, dword [ebp - 0x14]
call fcn.0040d65c
test al, al
je 0x546fa7
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
push 0x54725c
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 0x10]
inc eax
call fcn.0040cee0
push dword [ebp - 0x74]
lea eax, [ebp - 0x70]
mov edx, 3
call fcn.004067a4
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
call fcn.00406278
push eax
mov eax, dword [ebp - 0x14]
call fcn.00406278
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x29], al
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0
jne 0x546f28
push 0
lea eax, [ebp - 0x78]
mov ecx, 0x547274
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc]
call fcn.004066c0
mov eax, dword [ebp - 0x78]
call fcn.00406278
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00406278
push eax
call sub.kernel32.dll_CopyFileW
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00426d60
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00426cfc
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
jne 0x547089
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1f], 0
je 0x54703c
mov edx, 0x568864
mov ecx, 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00426f68
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 4
jmp 0x547089
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1e], 0
je 0x54706a
mov word [ebp - 0x16], 0xfeff
lea edx, [ebp - 0x16]
mov ecx, 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00426f68
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 2
jmp 0x547089
mov edx, 0x568860
mov ecx, 3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00426f68
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 3
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1f], 0
je 0x5470fe
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1d], 0
je 0x5470c7
call fcn.0040fc5c
fstp qword [ebp - 0x38]
wait
push dword [ebp - 0x34]
push dword [ebp - 0x38]
lea eax, [ebp - 0x3c]
mov edx, 0x54728c
call fcn.0041091c
lea edx, [ebp - 8]
mov ecx, 1
mov eax, dword [ebp - 0x3c]
call fcn.00406adc
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.005466f4
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
add dword [edx + 0x14], eax
mov eax, dword [ebp - 0x20]
push eax
call fcn.00408528
pop ecx
jmp 0x547200
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1d], 0
je 0x547133
call fcn.0040fc5c
fstp qword [ebp - 0x48]
wait
push dword [ebp - 0x44]
push dword [ebp - 0x48]
lea eax, [ebp - 0x4c]
mov edx, 0x54728c
call fcn.0041091c
lea edx, [ebp - 8]
mov ecx, 1
mov eax, dword [ebp - 0x4c]
call fcn.00406adc
lea eax, [ebp - 8]
mov edx, 0x5472cc
call fcn.00406600
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1e], 0
je 0x5471a2
lea eax, [ebp - 8]
call fcn.00406c64
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x54716b
mov eax, dword [ebp - 0x50]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
add ecx, ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x547195
mov eax, dword [ebp - 0x58]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
add eax, eax
mov edx, dword [ebp - 4]
add dword [edx + 0x14], eax
jmp 0x547200
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.00408654
lea eax, [ebp - 0x1c]
call fcn.00405ca4
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x5471cf
mov eax, dword [ebp - 0x5c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x5471f7
mov eax, dword [ebp - 0x64]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 4]
add dword [edx + 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54724a
lea eax, [ebp - 0x78]
mov edx, 5
call fcn.004061e4
lea eax, [ebp - 0x4c]
call fcn.004061dc
lea eax, [ebp - 0x3c]
call fcn.004061dc
lea eax, [ebp - 0x1c]
call fcn.0040546c
lea eax, [ebp - 0x14]
call fcn.004061dc
lea eax, [ebp - 8]
call fcn.004061dc
ret