Function at 0x42758f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x18], ebx
inc dword [ebx + 0x80c]
lea eax, [ebx + 0x404]
mov edi, dword [ebx + 0x804]
lea ecx, [ebx + 4]
mov dword [ebp - 4], ecx
lea edx, [eax + 0x200]
mov ecx, dword [ebx + 0x808]
mov esi, eax
add ecx, dword [ebx + 0x80c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], edx
cmp eax, edx
jae 0x4276f9
mov ebx, eax
mov edx, dword [esi]
mov eax, dword [ebp - 8]
shl edi, 0xd
xor edi, dword [ebp - 0xc]
add edi, dword [eax]
add eax, 4
mov dword [ebp - 8], eax
mov eax, edx
shr eax, 2
movzx eax, al
mov eax, dword [ebx + eax*4]
add eax, ecx
add eax, edi
mov dword [esi], eax
add esi, 4
shr eax, 0xa
movzx eax, al
mov dword [ebp - 0xc], esi
mov ecx, dword [ebx + eax*4]
mov eax, dword [ebp - 4]
add ecx, edx
mov dword [eax], ecx
add eax, 4
mov edx, dword [esi]
mov esi, edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
shr esi, 6
xor esi, edi
mov edi, dword [ebp - 0xc]
add esi, dword [eax]
add eax, 4
mov dword [ebp - 8], eax
mov eax, edx
shr eax, 2
movzx eax, al
mov eax, dword [ebx + eax*4]
add eax, ecx
add eax, esi
mov dword [edi], eax
add edi, 4
shr eax, 0xa
movzx eax, al
mov dword [ebp - 0xc], edi
mov ecx, dword [ebx + eax*4]
mov eax, dword [ebp - 4]
add ecx, edx
mov dword [eax], ecx
add eax, 4
mov edx, dword [edi]
mov edi, esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
shl edi, 2
xor edi, esi
mov esi, dword [ebp - 0xc]
add edi, dword [eax]
add eax, 4
mov dword [ebp - 8], eax
mov eax, edx
shr eax, 2
movzx eax, al
mov eax, dword [ebx + eax*4]
add eax, ecx
add eax, edi
mov dword [esi], eax
shr eax, 0xa
movzx eax, al
mov ecx, dword [ebx + eax*4]
mov eax, dword [ebp - 4]
add ecx, edx
mov dword [eax], ecx
add eax, 4
mov edx, dword [esi + 4]
mov dword [ebp - 4], eax
mov eax, edi
shr eax, 0x10
xor eax, edi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
add edi, dword [eax]
add eax, 4
mov dword [ebp - 8], eax
mov eax, edx
shr eax, 2
movzx eax, al
mov dword [ebp - 0xc], edi
mov eax, dword [ebx + eax*4]
add eax, ecx
add eax, edi
mov dword [esi + 4], eax
add esi, 8
shr eax, 0xa
movzx eax, al
mov ecx, dword [ebx + eax*4]
mov eax, dword [ebp - 4]
add ecx, edx
mov dword [eax], ecx
add eax, 4
mov dword [ebp - 4], eax
cmp esi, dword [ebp - 0x14]
jb 0x4275df
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0x14]
jae 0x427821
mov ebx, dword [ebp - 0x10]
mov edx, dword [esi]
mov eax, dword [ebp - 8]
shl edi, 0xd
xor edi, dword [ebp - 0xc]
add edi, dword [eax]
add eax, 4
mov dword [ebp - 8], eax
mov eax, edx
shr eax, 2
movzx eax, al
mov eax, dword [ebx + eax*4]
add eax, ecx
add eax, edi
mov dword [esi], eax
add esi, 4
shr eax, 0xa
movzx eax, al
mov dword [ebp - 0xc], esi
mov ecx, dword [ebx + eax*4]
mov eax, dword [ebp - 4]
add ecx, edx
mov dword [eax], ecx
add eax, 4
mov edx, dword [esi]
mov esi, edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
shr esi, 6
xor esi, edi
mov edi, dword [ebp - 0xc]
add esi, dword [eax]
add eax, 4
mov dword [ebp - 8], eax
mov eax, edx
shr eax, 2
movzx eax, al
mov eax, dword [ebx + eax*4]
add eax, ecx
add eax, esi
mov dword [edi], eax
add edi, 4
shr eax, 0xa
movzx eax, al
mov dword [ebp - 0xc], edi
mov ecx, dword [ebx + eax*4]
mov eax, dword [ebp - 4]
add ecx, edx
mov dword [eax], ecx
add eax, 4
mov edx, dword [edi]
mov edi, esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
shl edi, 2
xor edi, esi
mov esi, dword [ebp - 0xc]
add edi, dword [eax]
add eax, 4
mov dword [ebp - 8], eax
mov eax, edx
shr eax, 2
movzx eax, al
mov eax, dword [ebx + eax*4]
add eax, ecx
add eax, edi
mov dword [esi], eax
shr eax, 0xa
movzx eax, al
mov ecx, dword [ebx + eax*4]
mov eax, dword [ebp - 4]
add ecx, edx
mov dword [eax], ecx
add eax, 4
mov edx, dword [esi + 4]
mov dword [ebp - 4], eax
mov eax, edi
shr eax, 0x10
xor eax, edi
mov dword [ebp - 0xc], eax
mov edi, eax
mov eax, dword [ebp - 8]
add edi, dword [eax]
add eax, 4
mov dword [ebp - 8], eax
mov eax, edx
shr eax, 2
movzx eax, al
mov dword [ebp - 0xc], edi
mov eax, dword [ebx + eax*4]
add eax, ecx
add eax, edi
mov dword [esi + 4], eax
add esi, 8
shr eax, 0xa
movzx eax, al
mov ecx, dword [ebx + eax*4]
mov eax, dword [ebp - 4]
add ecx, edx
mov edx, dword [ebp - 8]
mov dword [eax], ecx
add eax, 4
mov dword [ebp - 4], eax
cmp edx, dword [ebp - 0x14]
jb 0x427708
mov ebx, dword [ebp - 0x18]
mov dword [ebx + 0x804], edi
pop edi
pop esi
mov dword [ebx + 0x808], ecx
pop ebx
mov esp, ebp
pop ebp
ret