Function at 0x47b4c0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x47b4c8
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x47b6ea
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004762b8
mov eax, dword [0x483518]
call fcn.00403dd8
call fcn.00402c94
mov eax, 0x47b700
call fcn.00470148
call fcn.004700c4
call fcn.00402f20
mov edx, dword [ebp + 8]
mov edx, dword [edx + 8]
mov byte [edx - 5], al
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
cmp byte [eax - 5], 0x44
je 0x47b529
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
cmp byte [eax - 5], 0x41
jne 0x47b4f4
mov eax, 0x47b758
call fcn.00470148
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x47b623
inc esi
xor ebx, ebx
lea ecx, [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 8]
call fcn.00409b2c
test al, al
je 0x47b5d8
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push dword [eax - 0xc]
push 0x47b7a0
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00476748
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405460
mov eax, dword [ebp - 0xc]
call fcn.004055a0
push eax
lea ecx, [ebp - 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x18]
call fcn.004055a0
push eax
call sub.kernel32.dll_CopyFileA
jmp 0x47b61b
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.00409b3c
test al, al
je 0x47b61b
lea ecx, [ebp - 0x20]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 8]
mov edx, dword [edx - 0xc]
call fcn.00476998
inc ebx
dec esi
jne 0x47b54f
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
cmp byte [eax - 5], 0x41
jne 0x47b6cf
mov eax, 0x47b7ac
call fcn.00470148
mov dl, 1
mov eax, dword [0x417024]
call fcn.00404304
mov dword [ebp - 4], eax
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
call fcn.0041fd20
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x47b6cf
inc esi
xor ebx, ebx
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push dword [eax - 0xc]
push 0x47b7a0
lea ecx, [ebp - 0x2c]
mov edx, ebx
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00476748
push dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00405460
mov eax, dword [ebp - 0x24]
call fcn.004055a0
push eax
lea ecx, [ebp - 0x30]
mov edx, ebx
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x30]
call fcn.004055a0
push eax
call sub.kernel32.dll_CopyFileA
inc ebx
dec esi
jne 0x47b66f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b6f1
lea eax, [ebp - 0x30]
mov edx, 0xb
call fcn.00405104
ret