Function at 0x579d10
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x579d18
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x57a033
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, dword [0x591088]
mov eax, dword [eax]
cmp dword [eax + 0x160], 0
je 0x57a00b
xor eax, eax
push ebp
push 0x579fde
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [0x591088]
mov eax, dword [eax]
call fcn.0047b8a0
lea edx, [ebp - 0xc]
mov eax, dword [0x591088]
mov eax, dword [eax]
call fcn.0047b820
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0041e244
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.0041cea4
mov eax, dword [ebp - 0x20]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [0x591088]
mov eax, dword [eax]
mov eax, dword [eax + 0x160]
call fcn.0041e244
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.0041cea4
mov edx, dword [ebp - 0x28]
pop eax
call fcn.00407650
jne 0x579dd9
mov eax, dword [0x590ea0]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x57a050
call fcn.004357f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57a00b
cmp dword [ebp - 0x10], 0
je 0x579e81
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
call fcn.004243ac
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x10]
call fcn.00406a04
lea eax, [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
mov edx, 0x57a094
call fcn.004074b8
mov edx, dword [ebp - 0x34]
mov eax, dword [0x590ea0]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004357f0
lea eax, [ebp - 0x18]
mov ecx, 0x57a0cc
mov edx, dword [ebp - 0x10]
call fcn.004074b8
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.0041dd04
test al, al
jne 0x579e70
lea edx, [ebp - 0x14]
mov eax, dword [0x591088]
mov eax, dword [eax]
mov eax, dword [eax + 0x160]
call fcn.0041e14c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x18]
call fcn.004243ac
mov ecx, dword [ebp - 0x38]
mov eax, dword [0x591088]
mov eax, dword [eax]
mov eax, dword [eax + 0x160]
mov edx, dword [ebp - 0x14]
call fcn.00579bd0
mov edx, dword [ebp - 0x18]
mov eax, dword [0x590d08]
call fcn.0051e480
mov byte [ebp - 1], 1
cmp dword [ebp - 0xc], 0
je 0x579fd4
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov edx, 0x57a0e4
call fcn.004074b8
mov edx, dword [ebp - 0x3c]
mov eax, dword [0x590ea0]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004357f0
mov eax, dword [0x591088]
mov eax, dword [eax]
mov ecx, dword [eax + 0x160]
lea eax, [ebp - 0x40]
mov edx, 0x57a128
call fcn.004074b8
mov edx, dword [ebp - 0x40]
mov eax, dword [0x590ea0]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004357f0
mov eax, dword [0x591088]
mov eax, dword [eax]
mov eax, dword [eax + 0x160]
mov dl, 1
call fcn.0041dc6c
test al, al
jne 0x579f27
mov eax, dword [0x591088]
mov eax, dword [eax]
mov ecx, dword [eax + 0x160]
lea eax, [ebp - 0x44]
mov edx, 0x57a160
call fcn.004074b8
mov edx, dword [ebp - 0x44]
mov eax, dword [0x590ea0]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004357f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57a00b
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.0041dc6c
test al, al
je 0x579fd4
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0xc]
call fcn.00428470
test al, al
jne 0x579f7e
lea eax, [ebp - 0x48]
mov ecx, 0x57a1b0
mov edx, dword [ebp - 0xc]
call fcn.004074b8
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0xc]
call fcn.0041e044
test al, al
jne 0x579f7e
push 0x96
call sub.kernel32.dll_Sleep_2
inc dword [ebp - 8]
cmp dword [ebp - 8], 0xb
jne 0x579f40
mov dword [ebp - 8], 1
push 0
mov eax, dword [ebp - 0xc]
call fcn.004072c8
push eax
mov eax, dword [0x591088]
mov eax, dword [eax]
mov eax, dword [eax + 0x160]
call fcn.004072c8
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
je 0x579fc1
mov eax, dword [0x590ea0]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x57a1c8
call fcn.004357f0
jmp 0x579fd4
push 0x96
call sub.kernel32.dll_Sleep_2
inc dword [ebp - 8]
cmp dword [ebp - 8], 0xb
jne 0x579f85
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57a00b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57a03a
lea eax, [ebp - 0x48]
mov edx, 0xb
call fcn.00406658
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00406658
ret