Function at 0x56da70
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 9
push 0
push 0
dec ecx
jne 0x56da79
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00405110
mov eax, dword [ebp - 0xc]
call fcn.00405110
xor eax, eax
push ebp
push 0x56dfdb
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0xc]
call fcn.0040a868
test al, al
jne 0x56dafd
push 0x10
push 0x56dff0
push 0x56e004
push dword [ebp - 0xc]
push 0x56e018
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00404fe8
mov eax, dword [ebp - 0x2c]
call fcn.00405120
push eax
mov eax, dword [0x7534c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x56df86
mov eax, dword [ebp - 8]
call fcn.0040a868
test al, al
je 0x56db17
mov eax, dword [ebp - 8]
call fcn.00405120
push eax
call sub.kernel32.dll_DeleteFileA_1
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
call fcn.00405120
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405120
push eax
call sub.kernel32.dll_CopyFileA
cmp byte [ebp + 8], 0
je 0x56db45
lea eax, [ebp - 0x20]
mov edx, 0x56e02c
call fcn.00404cf8
jmp 0x56db52
lea eax, [ebp - 0x20]
mov edx, 0x56e038
call fcn.00404cf8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x16c]
mov edx, dword [eax]
call dword [edx + 0x38]
test al, al
je 0x56db72
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x16c]
call fcn.004c1e10
push 0x56e044
push dword [ebp - 8]
push 0x56e07c
push dword [ebp - 0x20]
push 0x56e0ac
lea eax, [ebp - 0x34]
mov edx, 5
call fcn.00404fe8
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
call fcn.00405538
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x16c]
call fcn.00509238
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x16c]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov dl, 1
mov eax, dword [0x41d654]
call fcn.00403d60
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x16c]
xor ecx, ecx
mov edx, ebx
call fcn.00508574
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x56dbfb
mov eax, ebx
call fcn.00403d90
mov byte [ebp - 0xd], 1
jmp 0x56df86
mov byte [ebp - 0xd], 0
lea ecx, [ebp - 0x14]
xor edx, edx
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x1b0]
mov eax, ebx
call fcn.004ce250
test al, al
je 0x56dc26
mov eax, ebx
call fcn.004ce110
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x14]
call fcn.00405538
mov edx, dword [ebp - 0x38]
mov eax, ebx
call fcn.00512000
mov eax, ebx
call fcn.004ce104
mov eax, dword [ebp + 0xc]
call fcn.0051cdc8
call fcn.00421260
test eax, eax
jne 0x56dd69
mov eax, dword [ebp + 0xc]
call fcn.0051cdf8
test eax, eax
je 0x56dd69
mov eax, dword [ebp + 0xc]
call fcn.0051cebc
test eax, eax
jne 0x56dc8b
mov eax, dword [ebp + 0xc]
call fcn.0051cdf8
call fcn.004fb9cc
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 0xc]
call fcn.0051cec4
mov eax, dword [ebp + 0xc]
call fcn.0051cdc8
call fcn.004211bc
mov eax, dword [ebp + 0xc]
call fcn.0051cdf8
mov ebx, eax
mov eax, dword [ebx + 0x2e4]
call fcn.00421260
dec eax
test eax, eax
jl 0x56dd69
inc eax
mov dword [ebp - 0x24], eax
xor esi, esi
mov eax, dword [ebx + 0x2e4]
mov edx, esi
call fcn.004f98d4
mov eax, dword [eax + 0x1c]
lea edx, [ebp - 0x3c]
call fcn.004f8448
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1b0]
call fcn.004cf1a0
mov edi, eax
test edi, edi
je 0x56dd5f
mov eax, dword [ebx + 0x2e4]
mov edx, esi
call fcn.004f98d4
call fcn.004f8fac
test al, al
jne 0x56dd16
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1b0]
mov eax, dword [eax + 0x30]
mov edx, edi
call fcn.004c33cc
jmp 0x56dd5f
mov eax, dword [ebp + 0xc]
call fcn.0051cdc8
call fcn.00515bdc
mov edi, eax
mov eax, dword [ebx + 0x2e4]
mov edx, esi
call fcn.004f98d4
mov edx, dword [eax + 0x10]
lea eax, [edi + 0xc]
call fcn.00404cb4
mov eax, dword [ebx + 0x2e4]
mov edx, esi
call fcn.004f98d4
mov eax, dword [eax + 0x1c]
lea edx, [ebp - 0x40]
call fcn.004f8448
mov edx, dword [ebp - 0x40]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x18]
inc esi
dec dword [ebp - 0x24]
jne 0x56dcbc
cmp byte [ebp + 8], 0
je 0x56dde8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1b0]
call fcn.004d04dc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1b0]
call fcn.004d0874
mov eax, dword [ebp + 0xc]
call fcn.0051c30c
lea edx, [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1b0]
mov eax, dword [eax + 0x30]
xor edx, edx
call fcn.004c34a0
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1b0]
mov edx, dword [eax]
call dword [edx + 0x248]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1b0]
call fcn.004d07f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1b0]
call fcn.004d07f4
mov eax, dword [ebp + 0xc]
call fcn.0051cebc
mov dword [ebp - 0x28], eax
xor eax, eax
push ebp
push 0x56df4d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x28]
call fcn.004ce250
test al, al
jne 0x56de15
mov eax, dword [ebp - 0x28]
call fcn.004ce104
mov eax, dword [ebp - 0x28]
call fcn.004cfa58
mov eax, dword [ebp - 0x28]
call fcn.004d04dc
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x14c]
dec eax
test eax, eax
jl 0x56df37
inc eax
mov dword [ebp - 0x24], eax
xor esi, esi
test esi, esi
jle 0x56de53
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1b0]
call fcn.004d09b8
jmp 0x56de61
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1b0]
call fcn.004d0874
mov eax, dword [ebp + 0xc]
call fcn.0051cdc8
call fcn.00421260
mov edi, eax
dec edi
test edi, edi
jl 0x56df14
inc edi
xor ebx, ebx
mov eax, dword [ebp + 0xc]
call fcn.0051cdc8
mov edx, ebx
call fcn.00515bec
mov edx, dword [eax + 0xc]
lea eax, [ebp - 0x18]
call fcn.00404cf8
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
call fcn.004cf118
lea edx, [ebp - 0x1c]
call fcn.004c40f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1b0]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004c34a0
mov edx, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
push 0x56e0dc
lea edx, [ebp - 0x4c]
mov eax, esi
call fcn.0040a390
push dword [ebp - 0x4c]
push 0x56e0f4
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x14c]
lea edx, [ebp - 0x50]
call fcn.0040a390
push dword [ebp - 0x50]
lea eax, [ebp - 0x48]
mov edx, 4
call fcn.00404fe8
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.0056e124
inc ebx
dec edi
jne 0x56de7c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1b0]
mov edx, dword [eax]
call dword [edx + 0x248]
mov eax, dword [ebp - 0x28]
call fcn.004d07f4
inc esi
dec dword [ebp - 0x24]
jne 0x56de3f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56df54
mov eax, dword [ebp - 0x28]
call fcn.004cfa78
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56dfe2
lea eax, [ebp - 0x50]
mov edx, 6
call fcn.00404c84
lea eax, [ebp - 0x38]
call fcn.00405394
lea eax, [ebp - 0x34]
call fcn.00404c60
lea eax, [ebp - 0x30]
call fcn.00405394
lea eax, [ebp - 0x2c]
call fcn.00404c60
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404c84
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404c84
ret