Function at 0x4ad4a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [ebp + 8]
shr eax, 0x18
mov edx, dword [ebp + 8]
shr edx, 8
and edx, 0xff00
add eax, edx
mov ecx, dword [ebp + 8]
and ecx, 0xff00
shl ecx, 8
add eax, ecx
mov edx, dword [ebp + 8]
and edx, 0xff
shl edx, 0x18
add eax, edx
mov dword [ebp - 4], eax
not dword [ebp - 4]
jmp 0x4ad505
mov eax, dword [ebp - 4]
shr eax, 0x18
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
xor eax, edx
mov eax, dword [eax*4 + 0x497a44]
mov ecx, dword [ebp - 4]
shl ecx, 8
xor eax, ecx
mov dword [ebp - 4], eax
inc dword [ebp + 0xc]
dec dword [ebp + 0x10]
cmp dword [ebp + 0x10], 0
je 0x4ad511
test byte [ebp + 0xc], 3
jne 0x4ad4de
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
sub dword [ebp - 8], 4
cmp dword [ebp + 0x10], 0x20
jb 0x4ad7b7
add dword [ebp - 8], 4
mov edx, dword [ebp - 8]
mov ecx, dword [edx]
xor dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
and eax, 0xff
mov edx, dword [eax*4 + 0x497a44]
mov ecx, dword [ebp - 4]
shr ecx, 8
and ecx, 0xff
xor edx, dword [ecx*4 + 0x497e44]
mov eax, dword [ebp - 4]
shr eax, 0x10
and eax, 0xff
xor edx, dword [eax*4 + 0x498244]
mov ecx, dword [ebp - 4]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x498644]
mov dword [ebp - 4], edx
add dword [ebp - 8], 4
mov edx, dword [ebp - 8]
mov eax, dword [edx]
xor dword [ebp - 4], eax
mov edx, dword [ebp - 4]
and edx, 0xff
mov ecx, dword [edx*4 + 0x497a44]
mov eax, dword [ebp - 4]
shr eax, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x497e44]
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor ecx, dword [edx*4 + 0x498244]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x498644]
mov dword [ebp - 4], ecx
add dword [ebp - 8], 4
mov edx, dword [ebp - 8]
mov ecx, dword [edx]
xor dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
and eax, 0xff
mov edx, dword [eax*4 + 0x497a44]
mov ecx, dword [ebp - 4]
shr ecx, 8
and ecx, 0xff
xor edx, dword [ecx*4 + 0x497e44]
mov eax, dword [ebp - 4]
shr eax, 0x10
and eax, 0xff
xor edx, dword [eax*4 + 0x498244]
mov ecx, dword [ebp - 4]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x498644]
mov dword [ebp - 4], edx
add dword [ebp - 8], 4
mov edx, dword [ebp - 8]
mov eax, dword [edx]
xor dword [ebp - 4], eax
mov edx, dword [ebp - 4]
and edx, 0xff
mov ecx, dword [edx*4 + 0x497a44]
mov eax, dword [ebp - 4]
shr eax, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x497e44]
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor ecx, dword [edx*4 + 0x498244]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x498644]
mov dword [ebp - 4], ecx
add dword [ebp - 8], 4
mov edx, dword [ebp - 8]
mov ecx, dword [edx]
xor dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
and eax, 0xff
mov edx, dword [eax*4 + 0x497a44]
mov ecx, dword [ebp - 4]
shr ecx, 8
and ecx, 0xff
xor edx, dword [ecx*4 + 0x497e44]
mov eax, dword [ebp - 4]
shr eax, 0x10
and eax, 0xff
xor edx, dword [eax*4 + 0x498244]
mov ecx, dword [ebp - 4]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x498644]
mov dword [ebp - 4], edx
add dword [ebp - 8], 4
mov edx, dword [ebp - 8]
mov eax, dword [edx]
xor dword [ebp - 4], eax
mov edx, dword [ebp - 4]
and edx, 0xff
mov ecx, dword [edx*4 + 0x497a44]
mov eax, dword [ebp - 4]
shr eax, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x497e44]
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor ecx, dword [edx*4 + 0x498244]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x498644]
mov dword [ebp - 4], ecx
add dword [ebp - 8], 4
mov edx, dword [ebp - 8]
mov ecx, dword [edx]
xor dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
and eax, 0xff
mov edx, dword [eax*4 + 0x497a44]
mov ecx, dword [ebp - 4]
shr ecx, 8
and ecx, 0xff
xor edx, dword [ecx*4 + 0x497e44]
mov eax, dword [ebp - 4]
shr eax, 0x10
and eax, 0xff
xor edx, dword [eax*4 + 0x498244]
mov ecx, dword [ebp - 4]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x498644]
mov dword [ebp - 4], edx
add dword [ebp - 8], 4
mov edx, dword [ebp - 8]
mov eax, dword [edx]
xor dword [ebp - 4], eax
mov edx, dword [ebp - 4]
and edx, 0xff
mov ecx, dword [edx*4 + 0x497a44]
mov eax, dword [ebp - 4]
shr eax, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x497e44]
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor ecx, dword [edx*4 + 0x498244]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x498644]
mov dword [ebp - 4], ecx
sub dword [ebp + 0x10], 0x20
cmp dword [ebp + 0x10], 0x20
jae 0x4ad525
cmp dword [ebp + 0x10], 4
jb 0x4ad817
add dword [ebp - 8], 4
mov edx, dword [ebp - 8]
mov ecx, dword [edx]
xor dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
and eax, 0xff
mov edx, dword [eax*4 + 0x497a44]
mov ecx, dword [ebp - 4]
shr ecx, 8
and ecx, 0xff
xor edx, dword [ecx*4 + 0x497e44]
mov eax, dword [ebp - 4]
shr eax, 0x10
and eax, 0xff
xor edx, dword [eax*4 + 0x498244]
mov ecx, dword [ebp - 4]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x498644]
mov dword [ebp - 4], edx
sub dword [ebp + 0x10], 4
cmp dword [ebp + 0x10], 4
jae 0x4ad7bd
add dword [ebp - 8], 4
mov edx, dword [ebp - 8]
mov dword [ebp + 0xc], edx
cmp dword [ebp + 0x10], 0
je 0x4ad850
mov eax, dword [ebp - 4]
shr eax, 0x18
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [edx]
xor eax, ecx
mov eax, dword [eax*4 + 0x497a44]
mov edx, dword [ebp - 4]
shl edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp + 0xc]
dec dword [ebp + 0x10]
jne 0x4ad827
not dword [ebp - 4]
mov eax, dword [ebp - 4]
shr eax, 0x18
mov edx, dword [ebp - 4]
shr edx, 8
and edx, 0xff00
add eax, edx
mov ecx, dword [ebp - 4]
and ecx, 0xff00
shl ecx, 8
add eax, ecx
mov edx, dword [ebp - 4]
and edx, 0xff
shl edx, 0x18
add eax, edx
pop ecx
pop ecx
pop ebp
ret