Function at 0x487a60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x98]
push ebp
push esi
mov esi, dword [edx + 4]
add ecx, 8
mov eax, dword [edx]
mov ebp, dword [edx + 0xc]
push edi
mov edi, dword [edx + 8]
bswap esi
bswap eax
mov dword [esp + 0x10], esi
bswap edi
bswap ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], 8
push ebx
mov ebx, dword [ecx - 8]
mov edx, dword [ecx - 4]
xor ebx, edi
xor edx, ebx
xor edx, ebp
mov ecx, edx
shr ecx, 0x10
movzx ecx, cl
movzx ecx, byte [ecx + 0x768c78]
imul ecx, ecx, 0x1010101
and ecx, 0xf3fc3fcf
mov dword [esp + 0x20], ecx
mov ecx, edx
shr ecx, 8
movzx ecx, cl
mov esi, dword [esp + 0x20]
movzx ecx, byte [ecx + 0x768d78]
imul ecx, ecx, 0x1010101
and ecx, 0xfc3fcff3
xor esi, ecx
mov ecx, edx
shr ecx, 0x18
movzx ecx, byte [ecx + 0x768d78]
imul ecx, ecx, 0x1010101
and ecx, 0xcff3fc3f
xor esi, ecx
movzx ecx, dl
mov edx, esi
mov dword [esp + 0x20], esi
movzx ecx, byte [ecx + 0x768c78]
imul ecx, ecx, 0x1010101
and ecx, 0x3fcff3fc
xor edx, ecx
add ebx, edx
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
movzx ecx, byte [ecx + 0x768c78]
imul esi, ecx, 0x1010101
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
and esi, 0xf3fc3fcf
movzx ecx, byte [ecx + 0x768d78]
imul ecx, ecx, 0x1010101
and ecx, 0xfc3fcff3
xor esi, ecx
mov ecx, ebx
shr ecx, 0x18
movzx ecx, byte [ecx + 0x768d78]
imul ecx, ecx, 0x1010101
and ecx, 0xcff3fc3f
xor esi, ecx
movzx ecx, bl
movzx ecx, byte [ecx + 0x768c78]
imul ecx, ecx, 0x1010101
and ecx, 0x3fcff3fc
xor esi, ecx
add edx, esi
mov ecx, edx
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x20]
shr ecx, 0x10
movzx ecx, cl
movzx ecx, byte [ecx + 0x768c78]
imul edx, ecx, 0x1010101
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
and edx, 0xf3fc3fcf
movzx ecx, byte [ecx + 0x768d78]
imul ecx, ecx, 0x1010101
and ecx, 0xfc3fcff3
xor edx, ecx
mov ecx, ebx
shr ecx, 0x18
movzx ecx, byte [ecx + 0x768d78]
imul ecx, ecx, 0x1010101
and ecx, 0xcff3fc3f
xor edx, ecx
movzx ecx, bl
movzx ecx, byte [ecx + 0x768c78]
imul ecx, ecx, 0x1010101
and ecx, 0x3fcff3fc
xor edx, ecx
lea ecx, [edx + esi]
xor eax, ecx
mov ecx, dword [esp + 0x14]
xor ecx, edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov ebx, dword [edx]
mov edx, dword [edx + 4]
xor ebx, eax
xor edx, ebx
xor edx, ecx
mov ecx, edx
shr ecx, 0x10
movzx ecx, cl
movzx ecx, byte [ecx + 0x768c78]
imul ecx, ecx, 0x1010101
and ecx, 0xf3fc3fcf
mov dword [esp + 0x20], ecx
mov ecx, edx
shr ecx, 8
movzx ecx, cl
mov esi, dword [esp + 0x20]
movzx ecx, byte [ecx + 0x768d78]
imul ecx, ecx, 0x1010101
and ecx, 0xfc3fcff3
xor esi, ecx
mov ecx, edx
shr ecx, 0x18
movzx ecx, byte [ecx + 0x768d78]
imul ecx, ecx, 0x1010101
and ecx, 0xcff3fc3f
xor esi, ecx
movzx ecx, dl
mov edx, esi
mov dword [esp + 0x20], esi
movzx ecx, byte [ecx + 0x768c78]
imul ecx, ecx, 0x1010101
and ecx, 0x3fcff3fc
xor edx, ecx
add ebx, edx
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
movzx ecx, byte [ecx + 0x768c78]
imul esi, ecx, 0x1010101
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
and esi, 0xf3fc3fcf
movzx ecx, byte [ecx + 0x768d78]
imul ecx, ecx, 0x1010101
and ecx, 0xfc3fcff3
xor esi, ecx
mov ecx, ebx
shr ecx, 0x18
movzx ecx, byte [ecx + 0x768d78]
imul ecx, ecx, 0x1010101
and ecx, 0xcff3fc3f
xor esi, ecx
movzx ecx, bl
movzx ecx, byte [ecx + 0x768c78]
imul ecx, ecx, 0x1010101
and ecx, 0x3fcff3fc
xor esi, ecx
add edx, esi
mov ecx, edx
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x20]
shr ecx, 0x10
movzx ecx, cl
movzx ecx, byte [ecx + 0x768c78]
imul edx, ecx, 0x1010101
mov ecx, ebx
and edx, 0xf3fc3fcf
shr ecx, 8
movzx ecx, cl
movzx ecx, byte [ecx + 0x768d78]
imul ecx, ecx, 0x1010101
and ecx, 0xfc3fcff3
xor edx, ecx
mov ecx, ebx
shr ecx, 0x18
movzx ecx, byte [ecx + 0x768d78]
imul ecx, ecx, 0x1010101
and ecx, 0xcff3fc3f
xor edx, ecx
movzx ecx, bl
movzx ecx, byte [ecx + 0x768c78]
imul ecx, ecx, 0x1010101
and ecx, 0x3fcff3fc
xor edx, ecx
xor ebp, edx
lea ecx, [edx + esi]
xor edi, ecx
mov ecx, dword [esp + 0x10]
add ecx, 0x10
sub dword [esp + 0x18], 1
mov dword [esp + 0x10], ecx
jne 0x487a97
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
pop ebx
bswap edi
test edx, edx
je 0x487de0
xor edi, dword [edx]
mov dword [ecx], edi
add ecx, 4
mov esi, ecx
add edx, 4
je 0x487de7
bswap ebp
xor ebp, dword [edx]
mov dword [ecx], ebp
add ecx, 4
mov esi, ecx
add edx, 4
je 0x487df0
bswap eax
xor eax, dword [edx]
mov dword [ecx], eax
lea eax, [edx + 4]
add ecx, 4
test eax, eax
je 0x487df7
mov esi, dword [esp + 0x10]
mov eax, dword [eax]
bswap esi
xor esi, eax
pop edi
mov dword [ecx], esi
pop esi
pop ebp
add esp, 0xc
ret 0xc
mov dword [ecx], edi
add ecx, 4
mov esi, ecx
bswap ebp
mov dword [ecx], ebp
lea ecx, [esi + 4]
mov esi, ecx
bswap eax
mov dword [ecx], eax
lea ecx, [esi + 4]
mov esi, dword [esp + 0x10]
xor eax, eax
bswap esi
xor esi, eax
pop edi
mov dword [ecx], esi
pop esi
pop ebp
add esp, 0xc
ret 0xc