Function at 0x5695ec
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x5695f4
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x569a4f
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x54a7bc]
call fcn.0049b22c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.0049f584
lea edx, [ebp - 0x1c]
mov eax, dword [0x5a201c]
mov eax, dword [eax]
call fcn.00409728
cmp dword [ebp - 0x1c], 0
je 0x569665
mov eax, dword [ebp - 0x1c]
call fcn.004046f4
mov edx, dword [ebp - 0x1c]
cmp byte [edx + eax - 1], 0x5c
jne 0x569665
mov eax, dword [ebp - 0x1c]
call fcn.004046f4
mov edx, eax
lea eax, [ebp - 0x1c]
mov ecx, 1
call fcn.00404994
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
call fcn.004044cc
push dword [ebp - 0x1c]
mov eax, dword [0x5a23a4]
push dword [eax]
push 0x569a68
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004047b4
mov dl, 1
mov eax, dword [0x41a74c]
call fcn.004035d0
mov esi, eax
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
call fcn.005650ec
mov edx, dword [ebp - 0x28]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2f8]
xor edx, edx
call fcn.0045ae64
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
add edx, 5
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2f8]
call fcn.0045ae54
xor ecx, ecx
mov dl, 1
mov eax, dword [0x55fe6c]
call fcn.0049b22c
mov edi, eax
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0056076c
mov eax, edi
call fcn.00403600
mov dl, 1
mov eax, dword [0x427fd4]
call fcn.0042ed6c
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x4a8]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebx + 0x4a8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x34]
xor ecx, ecx
mov dl, 1
mov eax, dword [0x52e038]
call fcn.0049b22c
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4cc7dc]
call fcn.004cd3c0
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor ecx, ecx
mov dl, 1
mov eax, dword [0x497660]
call fcn.0049b134
mov dword [ebp - 0x10], eax
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.0049b1e4
mov edx, 0xffffff
mov eax, dword [ebp - 0x10]
call fcn.004819c8
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.0049ab84
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x56983b
inc eax
mov dword [ebp - 0x24], eax
xor ebx, ebx
lea ecx, [ebp - 0x30]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov edx, 0x569a7c
call fcn.00404740
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x300]
call fcn.00481858
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x300]
mov edx, dword [eax]
call dword [edx + 0x88]
push ebp
push dword [ebp - 0x1c]
push 0x569a90
lea ecx, [ebp - 0x38]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.004047b4
mov eax, dword [ebp - 0x34]
call fcn.00569134
pop ecx
mov eax, dword [ebp - 8]
mov edi, dword [eax + 0x2f8]
mov eax, edi
call fcn.0045acb4
mov edx, eax
inc edx
mov eax, edi
call fcn.0045ae64
inc ebx
dec dword [ebp - 0x24]
jne 0x5697ab
mov eax, dword [ebp - 0x10]
call fcn.00403600
mov eax, dword [ebp - 0x14]
call fcn.00403600
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x110]
mov eax, dword [ebp - 4]
call fcn.00403600
mov eax, dword [ebp - 0xc]
call fcn.00403600
mov eax, esi
call fcn.00403600
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x300]
mov edx, 0x569a9c
call fcn.00481858
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x300]
mov edx, dword [eax]
call dword [edx + 0x88]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2fc]
xor edx, edx
call fcn.0045ae64
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2fc]
mov edx, 0xc
call fcn.0045ae54
lea edx, [ebp - 0x1c]
mov eax, dword [0x5a201c]
mov eax, dword [eax]
call fcn.00409728
cmp dword [ebp - 0x1c], 0
je 0x5698f5
mov eax, dword [ebp - 0x1c]
call fcn.004046f4
mov edx, dword [ebp - 0x1c]
cmp byte [edx + eax - 1], 0x5c
jne 0x5698f5
mov eax, dword [ebp - 0x1c]
call fcn.004046f4
mov edx, eax
lea eax, [ebp - 0x1c]
mov ecx, 1
call fcn.00404994
lea eax, [ebp - 0x20]
mov edx, dword [0x5a201c]
mov edx, dword [edx]
call fcn.004044cc
push 0
lea eax, [ebp - 0x3c]
mov ecx, 0x569ab4
mov edx, dword [ebp - 0x1c]
call fcn.00404740
mov eax, dword [ebp - 0x3c]
call fcn.004048f4
push eax
mov eax, dword [ebp - 0x20]
call fcn.004048f4
mov ebx, eax
push ebx
call sub.kernel32.dll_CopyFileA
push 0
lea eax, [ebp - 0x40]
mov ecx, 0x569acc
mov edx, dword [ebp - 0x1c]
call fcn.00404740
mov eax, dword [ebp - 0x40]
call fcn.004048f4
push eax
push ebx
call sub.kernel32.dll_CopyFileA
xor ebx, ebx
lea edx, [ebp - 0x48]
mov eax, ebx
call fcn.00408db8
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
mov edx, 0x569ae8
call fcn.00404740
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x308]
call fcn.00481858
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x308]
mov edx, dword [eax]
call dword [edx + 0x88]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2fc]
mov edx, ebx
call fcn.0045ae64
push dword [ebp - 0x1c]
push 0x569b04
lea edx, [ebp - 0x50]
mov eax, ebx
call fcn.00408db8
push dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.004047b4
mov eax, dword [ebp - 0x4c]
call fcn.004ce084
test al, al
je 0x569a0d
push 0
push dword [ebp - 0x1c]
push 0x569b04
lea edx, [ebp - 0x58]
mov eax, ebx
call fcn.00408db8
push dword [ebp - 0x58]
push 0x569ab4
lea eax, [ebp - 0x54]
mov edx, 4
call fcn.004047b4
mov eax, dword [ebp - 0x54]
call fcn.004048f4
push eax
mov eax, dword [ebp - 0x20]
call fcn.004048f4
push eax
call sub.kernel32.dll_CopyFileA
inc ebx
cmp ebx, 0xd
jne 0x569953
mov eax, dword [ebp - 8]
call fcn.0049f3dc
mov eax, dword [ebp - 8]
call fcn.00403600
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x569a56
lea eax, [ebp - 0x58]
mov edx, 0xd
call fcn.00404458
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00404458
ret