Function at 0x46ed40
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [edx]
mov esi, dword [edx + 4]
bswap esi
bswap eax
xor eax, dword [ecx + 0x44]
xor esi, dword [ecx + 0x40]
mov dword [esp + 0x20], esi
mov dword [ecx + 0x40], esi
mov dword [esp + 0x18], eax
mov dword [ecx + 0x44], eax
mov esi, dword [edx + 8]
mov eax, dword [edx + 0xc]
bswap esi
xor esi, dword [ecx + 0x4c]
mov dword [esp + 0x14], esi
bswap eax
xor eax, dword [ecx + 0x48]
mov dword [esp + 4], eax
mov dword [esp + 0x1c], 0
xor eax, eax
xor edx, edx
xor edi, edi
xor ebx, ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x24], eax
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 4]
mov eax, ecx
mov ebp, esi
shld ebp, ecx, 0x1f
and eax, 1
mov ecx, esi
shr ecx, 1
mov esi, dword [esp + 0xc]
mov dword [esi + 0x48], ebp
mov esi, dword [esp + 0xc]
mov dword [esi + 0x4c], ecx
mov ecx, dword [esp + 0xc]
neg eax
mov dword [esp], eax
mov eax, 0
sbb eax, eax
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [ecx + esi + 0x60]
mov dword [esp + 8], eax
mov eax, dword [esp]
and dword [esp + 8], eax
xor dword [esp + 8], edi
mov eax, dword [ecx + esi + 0x64]
mov edi, dword [esp + 0x10]
and eax, edi
xor eax, ebx
mov dword [esp + 0x28], eax
mov eax, dword [esp]
and eax, dword [ecx + esi + 0x68]
xor eax, dword [esp + 0x24]
mov dword [esp], eax
mov eax, edi
and eax, dword [ecx + esi + 0x6c]
xor eax, edx
mov dword [esp + 0x10], eax
and ebp, 1
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x14]
shrd eax, edx, 2
shr edx, 2
mov dword [esp + 4], eax
mov dword [ecx + 0x48], eax
mov dword [esp + 0x14], edx
mov dword [ecx + 0x4c], edx
neg ebp
mov edx, 0
sbb edx, edx
mov edi, dword [ecx + esi + 0x70]
and edi, ebp
xor edi, dword [esp + 8]
mov ebx, dword [ecx + esi + 0x74]
and ebx, edx
xor ebx, dword [esp + 0x28]
and ebp, dword [ecx + esi + 0x78]
mov eax, ebp
and edx, dword [ecx + esi + 0x7c]
xor eax, dword [esp]
xor edx, dword [esp + 0x10]
add esi, 0x20
mov dword [esp + 0x1c], esi
cmp esi, 0x400
jne 0x46ed90
mov dword [esp + 0x10], 0
mov esi, dword [esp + 0x18]
nop
nop
nop
nop
nop
mov dword [esp + 0x18], esi
mov ecx, dword [esp + 0x20]
mov dword [esp], ecx
mov ebp, esi
shld ebp, ecx, 0x1f
mov dword [esp + 0x1c], ebp
mov ecx, dword [esp]
and ecx, 1
shr esi, 1
mov dword [esp], esi
mov esi, dword [esp + 0xc]
mov dword [esi + 0x40], ebp
mov esi, dword [esp + 0xc]
mov ebp, dword [esp]
mov dword [esi + 0x44], ebp
neg ecx
mov dword [esp], ecx
mov ecx, 0
sbb ecx, ecx
mov dword [esp + 4], ecx
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + esi + 0x460]
mov dword [esp + 8], ecx
mov ecx, dword [esp]
and dword [esp + 8], ecx
xor dword [esp + 8], edi
mov edi, dword [esp + 0xc]
mov ecx, dword [edi + esi + 0x464]
and ecx, dword [esp + 4]
xor ecx, ebx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp]
and ecx, dword [edi + esi + 0x468]
xor ecx, eax
mov dword [esp], ecx
mov ecx, edi
mov eax, dword [esp + 4]
and eax, dword [edi + esi + 0x46c]
xor eax, edx
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x1c]
and ebx, 1
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
shrd edx, eax, 2
shr eax, 2
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edx
mov dword [edi + 0x40], edx
mov dword [edi + 0x44], eax
neg ebx
mov edx, 0
sbb edx, edx
mov edi, dword [edi + esi + 0x470]
and edi, ebx
mov eax, ebx
xor edi, dword [esp + 8]
mov ebx, dword [ecx + esi + 0x474]
and ebx, edx
xor ebx, dword [esp + 0x14]
and eax, dword [ecx + esi + 0x478]
and edx, dword [ecx + esi + 0x47c]
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esi, 0x20
mov dword [esp + 0x10], esi
cmp esi, 0x400
mov esi, dword [esp + 0x18]
jne 0x46ee80
mov dword [ecx + 0x40], edi
mov dword [ecx + 0x44], ebx
mov dword [ecx + 0x48], eax
mov dword [ecx + 0x4c], edx
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret