Function at 0x59c0c0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x59c0c8
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x59c45f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, dword [0x5ebca4]
mov eax, dword [eax]
cmp dword [eax + 0x194], 0
je 0x59c429
xor eax, eax
push ebp
push 0x59c3fa
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [0x5ebca4]
mov eax, dword [eax]
call fcn.005ccf60
lea edx, [ebp - 0x1c]
mov eax, dword [0x5ebca4]
mov eax, dword [eax]
call fcn.005cce50
mov eax, dword [ebp - 0x1c]
call fcn.00408334
test eax, eax
jl 0x59c1ae
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4]
lea edx, [ebp - 0x2c]
call fcn.0042be90
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00427ed0
mov eax, dword [ebp - 0x28]
push eax
lea edx, [ebp - 0x34]
mov eax, dword [0x5ebca4]
mov eax, dword [eax]
mov eax, dword [eax + 0x194]
call fcn.0042be90
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.00427ed0
mov edx, dword [ebp - 0x30]
pop eax
call fcn.004075b8
jne 0x59c1a6
mov eax, dword [0x5eba70]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x59c47c
call fcn.0043fa80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x59c429
inc dword [ebp - 8]
dec dword [ebp - 0x20]
jne 0x59c13b
cmp dword [ebp - 0x10], 0
je 0x59c254
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x10]
call fcn.0042bcc0
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x10]
call fcn.00406a38
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0x10]
mov edx, 0x59c4c0
call fcn.00407420
mov edx, dword [ebp - 0x3c]
mov eax, dword [0x5eba70]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0043fa80
lea eax, [ebp - 0x18]
mov ecx, 0x59c4f8
mov edx, dword [ebp - 0x10]
call fcn.00407420
mov eax, dword [ebp - 0x18]
call fcn.004280e0
test al, al
jne 0x59c243
lea edx, [ebp - 0x14]
mov eax, dword [0x5ebca4]
mov eax, dword [eax]
mov eax, dword [eax + 0x194]
call fcn.0042bde0
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x18]
call fcn.0042bcc0
mov ecx, dword [ebp - 0x40]
mov eax, dword [0x5ebca4]
mov eax, dword [eax]
mov eax, dword [eax + 0x194]
mov edx, dword [ebp - 0x14]
call fcn.0059bf90
mov edx, dword [ebp - 0x18]
mov eax, dword [0x5eb2f0]
call fcn.00578550
mov byte [ebp - 1], 1
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
je 0x59c3f0
mov eax, dword [ebp - 0x1c]
call fcn.00408334
test eax, eax
jl 0x59c3f0
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov ecx, dword [eax + edx*4]
lea eax, [ebp - 0x44]
mov edx, 0x59c510
call fcn.00407420
mov edx, dword [ebp - 0x44]
mov eax, dword [0x5eba70]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0043fa80
mov eax, dword [0x5ebca4]
mov eax, dword [eax]
mov ecx, dword [eax + 0x194]
lea eax, [ebp - 0x48]
mov edx, 0x59c554
call fcn.00407420
mov edx, dword [ebp - 0x48]
mov eax, dword [0x5eba70]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0043fa80
mov eax, dword [0x5ebca4]
mov eax, dword [eax]
mov eax, dword [eax + 0x194]
call fcn.00428020
test al, al
jne 0x59c31b
mov eax, dword [0x5ebca4]
mov eax, dword [eax]
mov ecx, dword [eax + 0x194]
lea eax, [ebp - 0x4c]
mov edx, 0x59c58c
call fcn.00407420
mov edx, dword [ebp - 0x4c]
mov eax, dword [0x5eba70]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0043fa80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x59c429
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4]
call fcn.00428020
test al, al
je 0x59c3e4
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4]
call fcn.00428080
test al, al
jne 0x59c388
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov edx, dword [eax + edx*4]
lea eax, [ebp - 0x50]
mov ecx, 0x59c5dc
call fcn.00407420
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov eax, dword [eax + ecx*4]
call fcn.00428050
test al, al
jne 0x59c388
push 0x96
call sub.kernel32.dll_Sleep_2
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xb
jne 0x59c338
mov dword [ebp - 0xc], 1
push 0
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4]
call fcn.00407230
push eax
mov eax, dword [0x5ebca4]
mov eax, dword [eax]
mov eax, dword [eax + 0x194]
call fcn.00407230
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
je 0x59c3d1
mov eax, dword [0x5eba70]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x59c5f4
call fcn.0043fa80
jmp 0x59c3e4
push 0x96
call sub.kernel32.dll_Sleep_2
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xb
jne 0x59c38f
inc dword [ebp - 8]
dec dword [ebp - 0x20]
jne 0x59c27b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x59c429
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59c466
lea eax, [ebp - 0x50]
mov edx, 0xb
call fcn.0040668c
lea eax, [ebp - 0x1c]
mov edx, dword [0x427754]
call fcn.004084ec
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040668c
ret