Function at 0x496540
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
add eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
shr eax, 4
xor eax, dword [ebp - 0x14]
and eax, 0xf0f0f0f
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
shl eax, 4
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
shr eax, 0x10
xor eax, dword [ebp - 0x10]
and eax, 0xffff
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
shl eax, 0x10
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
shr eax, 2
xor eax, dword [ebp - 0x14]
and eax, 0x33333333
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
shl eax, 2
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
shr eax, 8
xor eax, dword [ebp - 0x10]
and eax, 0xff00ff
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
shl eax, 8
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
shr eax, 1
xor eax, dword [ebp - 0x14]
and eax, 0x55555555
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
add eax, eax
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
shr eax, 0x1d
mov edx, dword [ebp - 0x14]
shl edx, 3
or eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
shr eax, 0x1d
mov edx, dword [ebp - 0x10]
shl edx, 3
or eax, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x1e
cmp dword [ebp - 0x20], 0
jle 0x49691c
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + edx*4]
xor eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + edx*4 + 4]
xor eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
shr eax, 4
mov edx, dword [ebp - 0x18]
shl edx, 0x1c
or eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
shr eax, 2
and eax, 0x3f
mov eax, dword [eax*4 + 0x57088c]
xor eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
shr edx, 0xa
and edx, 0x3f
xor eax, dword [edx*4 + 0x570a8c]
mov edx, dword [ebp - 0x1c]
shr edx, 0x12
and edx, 0x3f
xor eax, dword [edx*4 + 0x570c8c]
mov edx, dword [ebp - 0x1c]
shr edx, 0x1a
and edx, 0x3f
xor eax, dword [edx*4 + 0x570e8c]
mov edx, dword [ebp - 0x18]
shr edx, 2
and edx, 0x3f
xor eax, dword [edx*4 + 0x57098c]
mov edx, dword [ebp - 0x18]
shr edx, 0xa
and edx, 0x3f
xor eax, dword [edx*4 + 0x570b8c]
mov edx, dword [ebp - 0x18]
shr edx, 0x12
and edx, 0x3f
xor eax, dword [edx*4 + 0x570d8c]
mov edx, dword [ebp - 0x18]
shr edx, 0x1a
and edx, 0x3f
xor eax, dword [edx*4 + 0x570f8c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + edx*4 - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + edx*4 - 4]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
shr eax, 4
mov edx, dword [ebp - 0x18]
shl edx, 0x1c
or eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
shr eax, 2
and eax, 0x3f
mov eax, dword [eax*4 + 0x57088c]
xor eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
shr edx, 0xa
and edx, 0x3f
xor eax, dword [edx*4 + 0x570a8c]
mov edx, dword [ebp - 0x1c]
shr edx, 0x12
and edx, 0x3f
xor eax, dword [edx*4 + 0x570c8c]
mov edx, dword [ebp - 0x1c]
shr edx, 0x1a
and edx, 0x3f
xor eax, dword [edx*4 + 0x570e8c]
mov edx, dword [ebp - 0x18]
shr edx, 2
and edx, 0x3f
xor eax, dword [edx*4 + 0x57098c]
mov edx, dword [ebp - 0x18]
shr edx, 0xa
and edx, 0x3f
xor eax, dword [edx*4 + 0x570b8c]
mov edx, dword [ebp - 0x18]
shr edx, 0x12
and edx, 0x3f
xor eax, dword [edx*4 + 0x570d8c]
mov edx, dword [ebp - 0x18]
shr edx, 0x1a
and edx, 0x3f
xor eax, dword [edx*4 + 0x570f8c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + edx*4 - 0x10]
xor eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + edx*4 - 0xc]
xor eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
shr eax, 4
mov edx, dword [ebp - 0x18]
shl edx, 0x1c
or eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
shr eax, 2
and eax, 0x3f
mov eax, dword [eax*4 + 0x57088c]
xor eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
shr edx, 0xa
and edx, 0x3f
xor eax, dword [edx*4 + 0x570a8c]
mov edx, dword [ebp - 0x1c]
shr edx, 0x12
and edx, 0x3f
xor eax, dword [edx*4 + 0x570c8c]
mov edx, dword [ebp - 0x1c]
shr edx, 0x1a
and edx, 0x3f
xor eax, dword [edx*4 + 0x570e8c]
mov edx, dword [ebp - 0x18]
shr edx, 2
and edx, 0x3f
xor eax, dword [edx*4 + 0x57098c]
mov edx, dword [ebp - 0x18]
shr edx, 0xa
and edx, 0x3f
xor eax, dword [edx*4 + 0x570b8c]
mov edx, dword [ebp - 0x18]
shr edx, 0x12
and edx, 0x3f
xor eax, dword [edx*4 + 0x570d8c]
mov edx, dword [ebp - 0x18]
shr edx, 0x1a
and edx, 0x3f
xor eax, dword [edx*4 + 0x570f8c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + edx*4 - 0x18]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + edx*4 - 0x14]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
shr eax, 4
mov edx, dword [ebp - 0x18]
shl edx, 0x1c
or eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
shr eax, 2
and eax, 0x3f
mov eax, dword [eax*4 + 0x57088c]
xor eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
shr edx, 0xa
and edx, 0x3f
xor eax, dword [edx*4 + 0x570a8c]
mov edx, dword [ebp - 0x1c]
shr edx, 0x12
and edx, 0x3f
xor eax, dword [edx*4 + 0x570c8c]
mov edx, dword [ebp - 0x1c]
shr edx, 0x1a
and edx, 0x3f
xor eax, dword [edx*4 + 0x570e8c]
mov edx, dword [ebp - 0x18]
shr edx, 2
and edx, 0x3f
xor eax, dword [edx*4 + 0x57098c]
mov edx, dword [ebp - 0x18]
shr edx, 0xa
and edx, 0x3f
xor eax, dword [edx*4 + 0x570b8c]
mov edx, dword [ebp - 0x18]
shr edx, 0x12
and edx, 0x3f
xor eax, dword [edx*4 + 0x570d8c]
mov edx, dword [ebp - 0x18]
shr edx, 0x1a
and edx, 0x3f
xor eax, dword [edx*4 + 0x570f8c]
mov dword [ebp - 0x14], eax
sub dword [ebp - 0x20], 8
cmp dword [ebp - 0x20], 0
jg 0x496633
mov eax, dword [ebp - 0x14]
shr eax, 3
mov edx, dword [ebp - 0x14]
shl edx, 0x1d
or eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
shr eax, 3
mov edx, dword [ebp - 0x10]
shl edx, 0x1d
or eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
shr eax, 1
xor eax, dword [ebp - 0x10]
and eax, 0x55555555
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
add eax, eax
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
shr eax, 8
xor eax, dword [ebp - 0x14]
and eax, 0xff00ff
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
shl eax, 8
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
shr eax, 2
xor eax, dword [ebp - 0x10]
and eax, 0x33333333
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
shl eax, 2
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
shr eax, 0x10
xor eax, dword [ebp - 0x14]
and eax, 0xffff
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
shl eax, 0x10
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
shr eax, 4
xor eax, dword [ebp - 0x10]
and eax, 0xf0f0f0f
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
shl eax, 4
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, dword [ebp - 0xc]
add eax, 4
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
mov esp, ebp
pop ebp
ret 4