Function at 0x5567d8
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x5567e0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x556c45
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5418e0]
call fcn.0049a5a4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.0049e8fc
lea edx, [ebp - 0x1c]
mov eax, dword [0x586fe8]
mov eax, dword [eax]
call fcn.004096b0
cmp dword [ebp - 0x1c], 0
je 0x556851
mov eax, dword [ebp - 0x1c]
call fcn.004046f4
mov edx, dword [ebp - 0x1c]
cmp byte [edx + eax - 1], 0x5c
jne 0x556851
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 [0x587370]
push dword [eax]
push 0x556c60
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004047b4
mov dl, 1
mov eax, dword [0x41a6d4]
call fcn.004035d0
mov esi, eax
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
call fcn.00552be8
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.0045ae50
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.0045ae40
xor ecx, ecx
mov dl, 1
mov eax, dword [0x54e4ac]
call fcn.0049a5a4
mov edi, eax
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0054edac
mov eax, edi
call fcn.00403600
mov dl, 1
mov eax, dword [0x427f5c]
call fcn.0042ecf4
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 [0x52118c]
call fcn.0049a5a4
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4cbb5c]
call fcn.004ce09c
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 [0x4969d8]
call fcn.0049a4ac
mov dword [ebp - 0x10], eax
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.0049a55c
mov edx, 0xffffff
mov eax, dword [ebp - 0x10]
call fcn.00480d40
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.00499efc
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 0x556a27
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, 0x556c74
call fcn.00404740
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x300]
call fcn.00480bd0
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 0x556c88
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.00556320
pop ecx
mov eax, dword [ebp - 8]
mov edi, dword [eax + 0x2f8]
mov eax, edi
call fcn.0045aca0
mov edx, eax
inc edx
mov eax, edi
call fcn.0045ae50
inc ebx
dec dword [ebp - 0x24]
jne 0x556997
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, 0x556c94
call fcn.00480bd0
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.0045ae50
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2fc]
mov edx, 9
call fcn.0045ae40
lea edx, [ebp - 0x1c]
mov eax, dword [0x586fe8]
mov eax, dword [eax]
call fcn.004096b0
cmp dword [ebp - 0x1c], 0
je 0x556ae1
mov eax, dword [ebp - 0x1c]
call fcn.004046f4
mov edx, dword [ebp - 0x1c]
cmp byte [edx + eax - 1], 0x5c
jne 0x556ae1
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 [0x586fe8]
mov edx, dword [edx]
call fcn.004044cc
push 0
lea eax, [ebp - 0x3c]
mov ecx, 0x556cac
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, 0x556cc4
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.00408d88
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
mov edx, 0x556ce0
call fcn.00404740
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x308]
call fcn.00480bd0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x308]
mov edx, dword [eax]
call dword [edx + 0x88]
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x2fc]
mov eax, esi
call fcn.0045aca0
mov edx, eax
inc edx
mov eax, esi
call fcn.0045ae50
push dword [ebp - 0x1c]
push 0x556cfc
lea edx, [ebp - 0x50]
mov eax, ebx
call fcn.00408d88
push dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.004047b4
mov eax, dword [ebp - 0x4c]
call fcn.004ced60
test al, al
je 0x556c03
push 0
push dword [ebp - 0x1c]
push 0x556cfc
lea edx, [ebp - 0x58]
mov eax, ebx
call fcn.00408d88
push dword [ebp - 0x58]
push 0x556cac
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, 0xa
jne 0x556b3f
mov eax, dword [ebp - 8]
call fcn.0049e754
mov eax, dword [ebp - 8]
call fcn.00403600
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x556c4c
lea eax, [ebp - 0x58]
mov edx, 0xd
call fcn.00404458
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00404458
ret