Function at 0x4091a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
mov ecx, 4
lea edx, [ebp - 0x16c]
push ebx
push esi
push edi
lea edi, [ebp - 0x10]
mov esi, 0x4a728c
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov eax, dword [ebp + 8]
add eax, 0x20
xor ebx, ebx
inc ecx
mov bl, byte [eax]
shl ebx, 0x18
mov dword [edx], ebx
xor ebx, ebx
mov bl, byte [eax + 1]
shl ebx, 0x10
or dword [edx], ebx
xor ebx, ebx
mov bl, byte [eax + 2]
shl ebx, 8
or dword [edx], ebx
xor ebx, ebx
mov bl, byte [eax + 3]
add eax, 4
or dword [edx], ebx
add edx, 4
cmp ecx, 0x10
jl 0x4091cd
mov ecx, 0x10
lea eax, [ebp - 0x138]
mov edx, dword [eax]
inc ecx
xor edx, dword [eax - 0x14]
xor edx, dword [eax - 0x2c]
xor edx, dword [eax - 0x34]
mov ebx, edx
shr edx, 0x1f
add ebx, ebx
or ebx, edx
mov dword [eax + 0xc], ebx
add eax, 4
cmp ecx, 0x50
jl 0x409208
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
lea ebx, [ebp - 0x16c]
mov edx, dword [eax]
mov eax, dword [ecx + 4]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xc]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x1c], ecx
xor ecx, ecx
mov dword [ebp - 0x20], ebx
mov ebx, edx
mov esi, edx
shr esi, 0x1b
mov edi, eax
shl ebx, 5
inc ecx
not edi
or ebx, esi
mov esi, dword [ebp - 0x14]
and edi, dword [ebp - 0x18]
and esi, eax
or esi, edi
add ebx, esi
mov esi, dword [ebp - 0x20]
add ebx, dword [ebp - 0x1c]
add ebx, dword [esi]
mov esi, dword [ebp - 0x18]
add ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
mov esi, eax
shr eax, 2
shl esi, 0x1e
or esi, eax
mov eax, edx
mov dword [ebp - 0x14], esi
mov edx, ebx
add dword [ebp - 0x20], 4
cmp ecx, 0x14
jl 0x409259
mov ecx, 0x14
lea ebx, [ebp - 0x11c]
mov dword [ebp - 0x24], ebx
mov ebx, edx
mov esi, edx
shr esi, 0x1b
inc ecx
shl ebx, 5
or ebx, esi
mov esi, dword [ebp - 0x14]
xor esi, eax
xor esi, dword [ebp - 0x18]
add ebx, esi
mov esi, dword [ebp - 0x24]
add ebx, dword [ebp - 0x1c]
add ebx, dword [esi]
mov esi, dword [ebp - 0x18]
add ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
mov esi, eax
shr eax, 2
shl esi, 0x1e
or esi, eax
mov eax, edx
mov dword [ebp - 0x14], esi
mov edx, ebx
add dword [ebp - 0x24], 4
cmp ecx, 0x28
jl 0x4092b5
mov ecx, 0x28
lea ebx, [ebp - 0xcc]
mov dword [ebp - 0x28], ebx
mov ebx, edx
mov esi, edx
shr esi, 0x1b
mov edi, dword [ebp - 0x18]
shl ebx, 5
and edi, eax
or ebx, esi
mov esi, dword [ebp - 0x14]
and esi, eax
inc ecx
or esi, edi
mov edi, dword [ebp - 0x14]
and edi, dword [ebp - 0x18]
or esi, edi
add ebx, esi
mov esi, dword [ebp - 0x28]
add ebx, dword [ebp - 0x1c]
add ebx, dword [esi]
mov esi, dword [ebp - 0x18]
add ebx, dword [ebp - 8]
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
mov esi, eax
shr eax, 2
shl esi, 0x1e
or esi, eax
mov eax, edx
mov dword [ebp - 0x14], esi
mov edx, ebx
add dword [ebp - 0x28], 4
cmp ecx, 0x3c
jl 0x40930b
mov ecx, 0x3c
lea ebx, [ebp - 0x7c]
mov dword [ebp - 0x2c], ebx
mov ebx, edx
mov esi, edx
shr esi, 0x1b
inc ecx
shl ebx, 5
or ebx, esi
mov esi, dword [ebp - 0x14]
xor esi, eax
xor esi, dword [ebp - 0x18]
add ebx, esi
mov esi, dword [ebp - 0x2c]
add ebx, dword [ebp - 0x1c]
add ebx, dword [esi]
mov esi, dword [ebp - 0x18]
add ebx, dword [ebp - 4]
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
mov esi, eax
shr eax, 2
shl esi, 0x1e
or esi, eax
mov eax, edx
mov dword [ebp - 0x14], esi
mov edx, ebx
add dword [ebp - 0x2c], 4
cmp ecx, 0x50
jl 0x40936a
mov ecx, dword [ebp + 8]
add dword [ecx], edx
mov edx, dword [ebp + 8]
add dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
add dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
add dword [eax + 0xc], edx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
add dword [ecx + 0x10], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x1c], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret