Function at 0x470b50
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
mov ecx, edx
shr ecx, 4
xor ecx, eax
and ecx, 0xf0f0f0f
xor eax, ecx
shl ecx, 4
xor edx, ecx
mov ecx, eax
shr ecx, 0x10
xor ecx, edx
and ecx, 0xffff
xor edx, ecx
shl ecx, 0x10
xor eax, ecx
mov ecx, edx
shr ecx, 2
xor ecx, eax
and ecx, 0x33333333
xor eax, ecx
shl ecx, 2
xor edx, ecx
mov ecx, eax
shr ecx, 8
xor ecx, edx
and ecx, 0xff00ff
xor edx, ecx
shl ecx, 8
xor eax, ecx
mov ecx, edx
shr ecx, 1
xor ecx, eax
and ecx, 0x55555555
xor eax, ecx
add ecx, ecx
xor edx, ecx
mov ecx, eax
shr ecx, 0x1d
lea ecx, [ecx + eax*8]
mov eax, edx
shr eax, 0x1d
lea eax, [eax + edx*8]
mov edx, dword [esp + 0x1c]
test edx, edx
mov esi, dword [esp + 0x18]
je 0x470e6a
add esi, 8
mov dword [esp + 0x18], 4
lea ebx, [ebx]
mov ebx, dword [esi - 4]
xor ebx, ecx
mov edi, dword [esi - 8]
mov edx, ebx
shr ebx, 4
xor edi, ecx
mov ebp, edi
shr ebp, 0x10
and ebp, 0xfc
shl edx, 0x1c
add edx, ebx
mov ebx, edi
shr ebx, 0x18
and ebx, 0xfc
mov ebx, dword [ebx + 0x521e50]
xor ebx, dword [ebp + 0x521c50]
mov ebp, edi
and edi, 0xfc
sar ebp, 8
and ebp, 0xfc
xor ebx, dword [ebp + 0x521a50]
xor ebx, dword [edi + 0x521850]
xor eax, ebx
mov ebx, edx
shr ebx, 0x10
and ebx, 0xfc
mov ebp, dword [ebx + 0x521d50]
mov edi, edx
shr edi, 0x18
and edi, 0xfc
mov edi, dword [edi + 0x521f50]
xor edi, ebp
mov ebx, edx
sar ebx, 8
and ebx, 0xfc
xor edi, dword [ebx + 0x521b50]
and edx, 0xfc
xor edi, dword [edx + 0x521950]
mov ebx, dword [esi + 4]
xor eax, edi
mov edi, dword [esi]
xor ebx, eax
mov edx, ebx
shr ebx, 4
xor edi, eax
mov ebp, edi
shl edx, 0x1c
add edx, ebx
mov ebx, edi
shr ebx, 0x18
and ebx, 0xfc
mov ebx, dword [ebx + 0x521e50]
shr ebp, 0x10
and ebp, 0xfc
xor ebx, dword [ebp + 0x521c50]
mov ebp, edi
sar ebp, 8
and edi, 0xfc
and ebp, 0xfc
xor ebx, dword [ebp + 0x521a50]
xor ebx, dword [edi + 0x521850]
xor ecx, ebx
mov ebx, edx
shr ebx, 0x10
and ebx, 0xfc
mov ebp, dword [ebx + 0x521d50]
mov edi, edx
shr edi, 0x18
and edi, 0xfc
mov edi, dword [edi + 0x521f50]
mov ebx, edx
sar ebx, 8
xor edi, ebp
and ebx, 0xfc
xor edi, dword [ebx + 0x521b50]
and edx, 0xfc
xor edi, dword [edx + 0x521950]
mov ebx, dword [esi + 0xc]
xor ecx, edi
xor ebx, ecx
mov edi, dword [esi + 8]
mov edx, ebx
shr ebx, 4
xor edi, ecx
mov ebp, edi
shr ebp, 0x10
and ebp, 0xfc
shl edx, 0x1c
add edx, ebx
mov ebx, edi
shr ebx, 0x18
and ebx, 0xfc
mov ebx, dword [ebx + 0x521e50]
xor ebx, dword [ebp + 0x521c50]
mov ebp, edi
and edi, 0xfc
sar ebp, 8
and ebp, 0xfc
xor ebx, dword [ebp + 0x521a50]
xor ebx, dword [edi + 0x521850]
xor eax, ebx
mov ebx, edx
shr ebx, 0x10
and ebx, 0xfc
mov ebp, dword [ebx + 0x521d50]
mov edi, edx
shr edi, 0x18
and edi, 0xfc
mov edi, dword [edi + 0x521f50]
xor edi, ebp
mov ebx, edx
sar ebx, 8
and ebx, 0xfc
xor edi, dword [ebx + 0x521b50]
and edx, 0xfc
xor edi, dword [edx + 0x521950]
mov ebx, dword [esi + 0x14]
xor eax, edi
mov edi, dword [esi + 0x10]
xor ebx, eax
mov edx, ebx
shr ebx, 4
xor edi, eax
shl edx, 0x1c
add edx, ebx
mov ebx, edi
shr ebx, 0x18
and ebx, 0xfc
mov ebx, dword [ebx + 0x521e50]
mov ebp, edi
shr ebp, 0x10
and ebp, 0xfc
xor ebx, dword [ebp + 0x521c50]
mov ebp, edi
sar ebp, 8
and edi, 0xfc
and ebp, 0xfc
xor ebx, dword [ebp + 0x521a50]
xor ebx, dword [edi + 0x521850]
xor ecx, ebx
mov ebx, edx
shr ebx, 0x10
and ebx, 0xfc
mov ebp, dword [ebx + 0x521d50]
mov edi, edx
shr edi, 0x18
and edi, 0xfc
mov edi, dword [edi + 0x521f50]
mov ebx, edx
sar ebx, 8
xor edi, ebp
and ebx, 0xfc
mov ebp, dword [ebx + 0x521b50]
and edx, 0xfc
xor edi, ebp
mov ebp, dword [edx + 0x521950]
mov edx, dword [esp + 0x18]
xor edi, ebp
xor ecx, edi
add esi, 0x20
dec edx
mov dword [esp + 0x18], edx
jne 0x470bf0
jmp 0x4710ea
add esi, 0x70
mov dword [esp + 0x18], 4
mov ebx, dword [esi + 0xc]
xor ebx, ecx
mov edi, dword [esi + 8]
mov edx, ebx
shr ebx, 4
xor edi, ecx
mov ebp, edi
shr ebp, 0x10
and ebp, 0xfc
shl edx, 0x1c
add edx, ebx
mov ebx, edi
shr ebx, 0x18
and ebx, 0xfc
mov ebx, dword [ebx + 0x521e50]
xor ebx, dword [ebp + 0x521c50]
mov ebp, edi
and edi, 0xfc
sar ebp, 8
and ebp, 0xfc
xor ebx, dword [ebp + 0x521a50]
xor ebx, dword [edi + 0x521850]
xor eax, ebx
mov ebx, edx
shr ebx, 0x10
and ebx, 0xfc
mov ebp, dword [ebx + 0x521d50]
mov edi, edx
shr edi, 0x18
and edi, 0xfc
mov edi, dword [edi + 0x521f50]
xor edi, ebp
mov ebx, edx
sar ebx, 8
and ebx, 0xfc
xor edi, dword [ebx + 0x521b50]
and edx, 0xfc
xor edi, dword [edx + 0x521950]
mov ebx, dword [esi + 4]
xor eax, edi
mov edi, dword [esi]
xor ebx, eax
mov edx, ebx
shr ebx, 4
xor edi, eax
mov ebp, edi
shl edx, 0x1c
add edx, ebx
mov ebx, edi
shr ebx, 0x18
and ebx, 0xfc
mov ebx, dword [ebx + 0x521e50]
shr ebp, 0x10
and ebp, 0xfc
xor ebx, dword [ebp + 0x521c50]
mov ebp, edi
sar ebp, 8
and edi, 0xfc
and ebp, 0xfc
xor ebx, dword [ebp + 0x521a50]
xor ebx, dword [edi + 0x521850]
xor ecx, ebx
mov ebx, edx
shr ebx, 0x10
and ebx, 0xfc
mov ebp, dword [ebx + 0x521d50]
mov edi, edx
shr edi, 0x18
and edi, 0xfc
mov edi, dword [edi + 0x521f50]
mov ebx, edx
sar ebx, 8
xor edi, ebp
and ebx, 0xfc
xor edi, dword [ebx + 0x521b50]
and edx, 0xfc
xor edi, dword [edx + 0x521950]
mov ebx, dword [esi - 4]
xor ecx, edi
xor ebx, ecx
mov edi, dword [esi - 8]
mov edx, ebx
shr ebx, 4
xor edi, ecx
mov ebp, edi
shr ebp, 0x10
and ebp, 0xfc
shl edx, 0x1c
add edx, ebx
mov ebx, edi
shr ebx, 0x18
and ebx, 0xfc
mov ebx, dword [ebx + 0x521e50]
xor ebx, dword [ebp + 0x521c50]
mov ebp, edi
and edi, 0xfc
sar ebp, 8
and ebp, 0xfc
xor ebx, dword [ebp + 0x521a50]
xor ebx, dword [edi + 0x521850]
xor eax, ebx
mov ebx, edx
shr ebx, 0x10
and ebx, 0xfc
mov ebp, dword [ebx + 0x521d50]
mov edi, edx
shr edi, 0x18
and edi, 0xfc
mov edi, dword [edi + 0x521f50]
xor edi, ebp
mov ebx, edx
sar ebx, 8
and ebx, 0xfc
xor edi, dword [ebx + 0x521b50]
and edx, 0xfc
xor edi, dword [edx + 0x521950]
mov ebx, dword [esi - 0xc]
xor eax, edi
mov edi, dword [esi - 0x10]
xor ebx, eax
mov edx, ebx
shr ebx, 4
xor edi, eax
shl edx, 0x1c
add edx, ebx
mov ebx, edi
shr ebx, 0x18
and ebx, 0xfc
mov ebx, dword [ebx + 0x521e50]
mov ebp, edi
shr ebp, 0x10
and ebp, 0xfc
xor ebx, dword [ebp + 0x521c50]
mov ebp, edi
sar ebp, 8
and edi, 0xfc
and ebp, 0xfc
xor ebx, dword [ebp + 0x521a50]
xor ebx, dword [edi + 0x521850]
xor ecx, ebx
mov ebx, edx
shr ebx, 0x10
and ebx, 0xfc
mov ebp, dword [ebx + 0x521d50]
mov edi, edx
shr edi, 0x18
and edi, 0xfc
mov edi, dword [edi + 0x521f50]
mov ebx, edx
sar ebx, 8
xor edi, ebp
and ebx, 0xfc
mov ebp, dword [ebx + 0x521b50]
and edx, 0xfc
xor edi, ebp
mov ebp, dword [edx + 0x521950]
mov edx, dword [esp + 0x18]
xor edi, ebp
xor ecx, edi
sub esi, 0x20
dec edx
mov dword [esp + 0x18], edx
jne 0x470e75
mov edx, eax
shr eax, 3
shl edx, 0x1d
add edx, eax
mov eax, ecx
shr ecx, 3
shl eax, 0x1d
add eax, ecx
mov ecx, eax
shr ecx, 1
xor ecx, edx
and ecx, 0x55555555
xor edx, ecx
add ecx, ecx
xor eax, ecx
mov ecx, edx
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor eax, ecx
shl ecx, 8
xor edx, ecx
mov ecx, eax
shr ecx, 2
xor ecx, edx
and ecx, 0x33333333
xor edx, ecx
shl ecx, 2
xor eax, ecx
mov ecx, edx
shr ecx, 0x10
xor ecx, eax
and ecx, 0xffff
xor eax, ecx
shl ecx, 0x10
xor edx, ecx
mov ecx, eax
shr ecx, 4
xor ecx, edx
and ecx, 0xf0f0f0f
mov esi, ecx
xor esi, edx
mov edx, dword [esp + 0x14]
pop edi
mov dword [edx], esi
pop esi
shl ecx, 4
xor ecx, eax
pop ebp
mov dword [edx + 4], ecx
pop ebx
ret