Function at 0x5793c0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x5793c8
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x5796dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, dword [0x58e6cc]
mov eax, dword [eax]
cmp dword [eax + 0x160], 0
je 0x5796b5
xor eax, eax
push ebp
push 0x579688
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [0x58e6cc]
mov eax, dword [eax]
call fcn.0056f1c0
lea edx, [ebp - 0xc]
mov eax, dword [0x58e6cc]
mov eax, dword [eax]
call fcn.0056f140
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0042b800
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00428190
mov eax, dword [ebp - 0x20]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [0x58e6cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x160]
call fcn.0042b800
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00428190
mov edx, dword [ebp - 0x28]
pop eax
call fcn.004075a0
jne 0x579489
mov eax, dword [0x58e4dc]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x5796fc
call fcn.004367f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5796b5
cmp dword [ebp - 0x10], 0
je 0x57952f
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
call fcn.0042b6c0
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x10]
call fcn.004069d0
lea eax, [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
mov edx, 0x579740
call fcn.00407408
mov edx, dword [ebp - 0x34]
mov eax, dword [0x58e4dc]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004367f0
lea eax, [ebp - 0x18]
mov ecx, 0x579778
mov edx, dword [ebp - 0x10]
call fcn.00407408
mov eax, dword [ebp - 0x18]
call fcn.00428340
test al, al
jne 0x57951e
lea edx, [ebp - 0x14]
mov eax, dword [0x58e6cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x160]
call fcn.0042b7c0
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x18]
call fcn.0042b6c0
mov ecx, dword [ebp - 0x38]
mov eax, dword [0x58e6cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x160]
mov edx, dword [ebp - 0x14]
call fcn.00579280
mov edx, dword [ebp - 0x18]
mov eax, dword [0x58e30c]
call fcn.00539f50
mov byte [ebp - 1], 1
cmp dword [ebp - 0xc], 0
je 0x57967e
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov edx, 0x579790
call fcn.00407408
mov edx, dword [ebp - 0x3c]
mov eax, dword [0x58e4dc]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004367f0
mov eax, dword [0x58e6cc]
mov eax, dword [eax]
mov ecx, dword [eax + 0x160]
lea eax, [ebp - 0x40]
mov edx, 0x5797d4
call fcn.00407408
mov edx, dword [ebp - 0x40]
mov eax, dword [0x58e4dc]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004367f0
mov eax, dword [0x58e6cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x160]
call fcn.004282d0
test al, al
jne 0x5795d3
mov eax, dword [0x58e6cc]
mov eax, dword [eax]
mov ecx, dword [eax + 0x160]
lea eax, [ebp - 0x44]
mov edx, 0x57980c
call fcn.00407408
mov edx, dword [ebp - 0x44]
mov eax, dword [0x58e4dc]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004367f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5796b5
mov eax, dword [ebp - 0xc]
call fcn.004282d0
test al, al
je 0x57967e
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0xc]
call fcn.00428320
test al, al
jne 0x579628
lea eax, [ebp - 0x48]
mov ecx, 0x57985c
mov edx, dword [ebp - 0xc]
call fcn.00407408
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0xc]
call fcn.004282f0
test al, al
jne 0x579628
push 0x96
call sub.kernel32.dll_Sleep_2
inc dword [ebp - 8]
cmp dword [ebp - 8], 0xb
jne 0x5795ea
mov dword [ebp - 8], 1
push 0
mov eax, dword [ebp - 0xc]
call fcn.00407218
push eax
mov eax, dword [0x58e6cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x160]
call fcn.00407218
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
je 0x57966b
mov eax, dword [0x58e4dc]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x579874
call fcn.004367f0
jmp 0x57967e
push 0x96
call sub.kernel32.dll_Sleep_2
inc dword [ebp - 8]
cmp dword [ebp - 8], 0xb
jne 0x57962f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5796b5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5796e4
lea eax, [ebp - 0x48]
mov edx, 0xb
call fcn.00406624
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00406624
ret