Function at 0x479b7c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
lea edi, [ebp - 0x7c]
push ecx
mov ecx, 0x18
rep movsd dword es:[edi], dword [esi]
pop ecx
mov ebx, ecx
test ebx, ebx
js 0x479ba4
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x479b9d
mov edx, esp
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 5], edx
mov byte [ebp - 1], al
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 5]
mov edx, dword [ebp - 0xc]
mov al, byte [eax + edx]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov byte [edx + ecx], al
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 8
jne 0x479bb4
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00479420
cmp byte [ebp - 1], 0
jne 0x479cdb
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
mov edx, dword [ebp - 0x10]
mov byte [ebp + edx - 0x14], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x479bee
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx + 4]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x479c0c
push 5
lea eax, [ebp - 0x18]
push eax
push 3
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*2]
lea ecx, [ebp + eax*2 - 0x7c]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00479a18
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov al, byte [ebp + eax - 0x14]
mov edx, dword [ebp - 0x10]
xor al, byte [ebp + edx - 0x18]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx + 4], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x479c4a
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x10
jne 0x479be9
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx + 4]
mov edx, dword [ebp - 0x10]
mov byte [ebp + edx - 0x14], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x479c7d
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx + 4], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x479c9c
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov al, byte [ebp + eax - 0x14]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x479cbd
jmp 0x479dd9
cmp byte [ebp - 1], 1
jne 0x479dd9
mov dword [ebp - 0xc], 0xf
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
mov edx, dword [ebp - 0x10]
mov byte [ebp + edx - 0x14], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x479cf1
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx + 4]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x479d0f
push 5
lea eax, [ebp - 0x18]
push eax
push 3
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*2]
lea ecx, [ebp + eax*2 - 0x7c]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00479a18
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov al, byte [ebp + eax - 0x14]
mov edx, dword [ebp - 0x10]
xor al, byte [ebp + edx - 0x18]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx + 4], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x479d4d
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x479cec
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx + 4]
mov edx, dword [ebp - 0x10]
mov byte [ebp + edx - 0x14], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x479d80
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx + 4], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x479d9f
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov al, byte [ebp + eax - 0x14]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x479dc0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004794bc
mov edi, dword [ebp - 0x88]
mov esi, dword [ebp - 0x84]
mov ebx, dword [ebp - 0x80]
mov esp, ebp
pop ebp
ret 0xc