Function at 0x547a58
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x547a60
push ebx
push esi
push edi
mov ebx, edx
xor eax, eax
push ebp
push 0x547f5d
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebx]
mov dl, 1
mov eax, dword [0x547738]
call fcn.00548bf0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
call fcn.00548c88
xor esi, esi
jmp 0x547ba4
lea eax, [ebp - 0x38]
lea edi, [esi + esi*4]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + edi*8 + 0x18]
call fcn.004079ac
mov eax, dword [ebp - 0x38]
call fcn.00414c80
test al, al
je 0x547ba3
lea eax, [ebp - 0x40]
mov edx, dword [0x561b80]
mov edx, dword [edx]
add edx, 0x699
call fcn.00407af4
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.00415290
lea eax, [ebp - 0x3c]
mov edx, 0x547f78
call fcn.00407ba4
mov eax, dword [ebp - 0x3c]
call fcn.00414cec
lea eax, [ebp - 0x4c]
mov edx, dword [0x561b80]
mov edx, dword [edx]
add edx, 0x699
call fcn.00407af4
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.00415290
push dword [ebp - 0x48]
push 0x547f78
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + edi*8 + 0x18]
call fcn.004079ac
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call fcn.00415564
push dword [ebp - 0x50]
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.00407d48
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.004079d4
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi*8 + 0x18]
push eax
call sub.kernel32.dll_CopyFileW
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + edi*8 + 0x18]
call fcn.004079ac
mov eax, dword [ebp - 0x58]
call fcn.00407834
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
lea eax, [eax + edi*8 + 0x18]
mov edx, dword [ebp - 4]
call fcn.00406938
inc esi
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
call fcn.00408fac
cmp esi, eax
jle 0x547a9a
mov eax, dword [ebx]
call fcn.0043ce60
push 0
push 0
mov eax, dword [ebx]
call fcn.0043c1c0
xor esi, esi
jmp 0x547f22
lea eax, [esi + esi*4]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov eax, dword [edx + eax*8]
lea ecx, [ebp - 8]
mov dx, 0xa2ca
call fcn.004c9480
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x547bff
mov eax, dword [ebp - 0x10]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
call fcn.00406f78
mov edx, eax
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0x10]
mov edx, 0x547f84
mov eax, dword [ebx]
mov ecx, 2
mov edi, dword [eax]
call dword [edi + 0x10]
lea eax, [esi + esi*4]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov eax, dword [edx + eax*8 + 4]
lea ecx, [ebp - 8]
mov dx, 0xa2ca
call fcn.004c9480
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x547c54
mov eax, dword [ebp - 0x14]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
call fcn.00406f78
mov edx, eax
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0x10]
mov edx, 0x547f84
mov eax, dword [ebx]
mov ecx, 2
mov edi, dword [eax]
call dword [edi + 0x10]
lea eax, [esi + esi*4]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov eax, dword [edx + eax*8 + 8]
lea ecx, [ebp - 8]
mov dx, 0xa2ca
call fcn.004c9480
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x547ca9
mov eax, dword [ebp - 0x18]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
call fcn.00406f78
mov edx, eax
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0x10]
mov edx, 0x547f84
mov eax, dword [ebx]
mov ecx, 2
mov edi, dword [eax]
call dword [edi + 0x10]
lea eax, [esi + esi*4]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov eax, dword [edx + eax*8 + 0xc]
lea ecx, [ebp - 8]
mov dx, 0xa2ca
call fcn.004c9480
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x547cfe
mov eax, dword [ebp - 0x1c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
call fcn.00406f78
mov edx, eax
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x1c]
mov edi, dword [eax]
call dword [edi + 0x10]
mov edx, 0x547f84
mov eax, dword [ebx]
mov ecx, 2
mov edi, dword [eax]
call dword [edi + 0x10]
lea eax, [esi + esi*4]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov eax, dword [edx + eax*8 + 0x10]
lea ecx, [ebp - 8]
mov dx, 0xa2ca
call fcn.004c9480
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x547d53
mov eax, dword [ebp - 0x20]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
call fcn.00406f78
mov edx, eax
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0x10]
mov edx, 0x547f84
mov eax, dword [ebx]
mov ecx, 2
mov edi, dword [eax]
call dword [edi + 0x10]
lea eax, [esi + esi*4]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov eax, dword [edx + eax*8 + 0x14]
lea ecx, [ebp - 8]
mov dx, 0xa2ca
call fcn.004c9480
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x547da8
mov eax, dword [ebp - 0x24]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
call fcn.00406f78
mov edx, eax
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x24]
mov edi, dword [eax]
call dword [edi + 0x10]
mov edx, 0x547f84
mov eax, dword [ebx]
mov ecx, 2
mov edi, dword [eax]
call dword [edi + 0x10]
lea eax, [esi + esi*4]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov eax, dword [edx + eax*8 + 0x24]
lea ecx, [ebp - 8]
mov dx, 0xa2ca
call fcn.004c9480
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x547dfd
mov eax, dword [ebp - 0x28]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
call fcn.00406f78
mov edx, eax
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x28]
mov edi, dword [eax]
call dword [edi + 0x10]
mov edx, 0x547f84
mov eax, dword [ebx]
mov ecx, 2
mov edi, dword [eax]
call dword [edi + 0x10]
lea eax, [esi + esi*4]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov eax, dword [edx + eax*8 + 0x18]
lea ecx, [ebp - 8]
mov dx, 0xa2ca
call fcn.004c9480
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x547e52
mov eax, dword [ebp - 0x2c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
call fcn.00406f78
mov edx, eax
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x2c]
mov edi, dword [eax]
call dword [edi + 0x10]
mov edx, 0x547f84
mov eax, dword [ebx]
mov ecx, 2
mov edi, dword [eax]
call dword [edi + 0x10]
lea eax, [esi + esi*4]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov eax, dword [edx + eax*8 + 0x1c]
lea ecx, [ebp - 8]
mov dx, 0xa2ca
call fcn.004c9480
mov eax, dword [ebp - 8]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x547ea7
mov eax, dword [ebp - 0x30]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
call fcn.00406f78
mov edx, eax
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x30]
mov edi, dword [eax]
call dword [edi + 0x10]
mov edx, 0x547f84
mov eax, dword [ebx]
mov ecx, 2
mov edi, dword [eax]
call dword [edi + 0x10]
lea eax, [esi + esi*4]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov eax, dword [edx + eax*8 + 0x20]
lea ecx, [ebp - 8]
mov dx, 0xa2ca
call fcn.004c9480
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x547efc
mov eax, dword [ebp - 0x34]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
call fcn.00406f78
mov edx, eax
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x34]
mov edi, dword [eax]
call dword [edi + 0x10]
mov edx, 0x547f84
mov eax, dword [ebx]
mov ecx, 2
mov edi, dword [eax]
call dword [edi + 0x10]
inc esi
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
call fcn.00408fac
cmp esi, eax
jle 0x547bd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x547f64
lea eax, [ebp - 0x58]
mov edx, 9
call fcn.004077a0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406908
ret