Function at 0x695fb0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
mov eax, dword [ecx + 0x20]
push ebp
push esi
mov esi, dword [ecx + 0x24]
push edi
mov edi, dword [esp + 0x28]
mov ebp, dword [ecx + 0x28]
mov dword [esp + 0x28], 1
mov edx, dword [edi + 4]
mov ebx, dword [edi]
xor edx, esi
mov esi, dword [edi + 8]
mov edi, dword [edi + 0xc]
xor eax, ebx
mov ebx, dword [ecx + 0x2c]
xor esi, ebp
xor edi, ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x1f]
mov ebp, dword [esp + 0x1a]
and ebx, 0xff
and ebp, 0xff
mov dword [esp + 0x10], eax
and eax, 0xff
mov ebx, dword [ebx*4 + 0x716380]
and edx, 0xff
xor ebx, dword [ebp*4 + 0x715f80]
mov ebp, dword [esp + 0x15]
and ebp, 0xff
and esi, 0xff
and edi, 0xff
xor ebx, dword [ebp*4 + 0x715b80]
mov ebp, dword [eax*4 + 0x715780]
mov eax, dword [esp + 0x2c]
xor ebx, ebp
mov ebp, dword [esp + 0x1e]
mov dword [eax], ebx
mov ebx, dword [esp + 0x13]
and ebx, 0xff
and ebp, 0xff
mov ebx, dword [ebx*4 + 0x716380]
xor ebx, dword [ebp*4 + 0x715f80]
mov ebp, dword [esp + 0x19]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x715b80]
mov ebp, dword [edx*4 + 0x715780]
mov edx, dword [esp + 0x17]
xor ebx, ebp
and edx, 0xff
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x12]
mov edx, dword [edx*4 + 0x716380]
and ebx, 0xff
mov ebp, dword [ebx*4 + 0x715f80]
mov ebx, dword [esp + 0x1d]
and ebx, 0xff
xor edx, ebp
mov ebp, dword [ebx*4 + 0x715b80]
mov ebx, dword [esi*4 + 0x715780]
mov esi, dword [esp + 0x16]
xor edx, ebp
xor edx, ebx
and esi, 0xff
mov dword [eax + 8], edx
mov edx, dword [esp + 0x1b]
mov ebx, dword [esi*4 + 0x715f80]
mov esi, dword [esp + 0x11]
and edx, 0xff
and esi, 0xff
mov edx, dword [edx*4 + 0x716380]
xor edx, ebx
mov ebx, dword [esi*4 + 0x715b80]
xor edx, ebx
mov ebx, dword [edi*4 + 0x715780]
xor edx, ebx
mov dword [eax + 0xc], edx
mov edx, dword [ecx + 0x1c]
dec edx
cmp edx, 1
jbe 0x696295
lea ebx, [ecx + 0x34]
mov dword [esp + 0x2c], ebx
mov edx, dword [ebx - 4]
mov ebp, dword [eax]
mov esi, dword [eax + 4]
mov edi, dword [ebx]
xor edx, ebp
mov ebp, dword [eax + 8]
xor esi, edi
mov edi, dword [ebx + 4]
mov ebx, dword [ebx + 8]
xor edi, ebp
mov ebp, dword [eax + 0xc]
mov dword [esp + 0x18], edi
xor ebx, ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], edx
mov ebx, dword [esp + 0x1f]
mov ebp, dword [esp + 0x1a]
and ebx, 0xff
and ebp, 0xff
and edx, 0xff
and esi, 0xff
mov ebx, dword [ebx*4 + 0x716380]
and edi, 0xff
xor ebx, dword [ebp*4 + 0x715f80]
mov ebp, dword [esp + 0x15]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x715b80]
mov ebp, dword [edx*4 + 0x715780]
mov edx, dword [esp + 0x13]
xor ebx, ebp
and edx, 0xff
mov dword [eax], ebx
mov ebx, dword [esp + 0x1e]
mov edx, dword [edx*4 + 0x716380]
and ebx, 0xff
mov ebp, dword [ebx*4 + 0x715f80]
mov ebx, dword [esp + 0x19]
and ebx, 0xff
xor edx, ebp
mov ebp, dword [ebx*4 + 0x715b80]
mov ebx, dword [esi*4 + 0x715780]
mov esi, dword [esp + 0x12]
xor edx, ebp
xor edx, ebx
and esi, 0xff
mov dword [eax + 4], edx
mov edx, dword [esp + 0x17]
mov ebx, dword [esi*4 + 0x715f80]
mov esi, dword [esp + 0x1d]
and edx, 0xff
mov ebp, dword [edi*4 + 0x715780]
and esi, 0xff
mov edx, dword [edx*4 + 0x716380]
xor edx, ebx
mov ebx, dword [esi*4 + 0x715b80]
xor edx, ebx
mov esi, dword [esp + 0x16]
xor edx, ebp
and esi, 0xff
mov dword [eax + 8], edx
mov edx, dword [esp + 0x1b]
and edx, 0xff
mov ebp, dword [esi*4 + 0x715f80]
mov edi, dword [edx*4 + 0x716380]
mov edx, dword [esp + 0x11]
and edx, 0xff
xor edi, ebp
mov esi, dword [edx*4 + 0x715b80]
mov edx, dword [esp + 0x1c]
and edx, 0xff
xor edi, esi
mov ebx, dword [edx*4 + 0x715780]
mov edx, dword [esp + 0x28]
xor edi, ebx
mov ebx, dword [esp + 0x2c]
inc edx
add ebx, 0x10
mov dword [eax + 0xc], edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebx
mov esi, dword [ecx + 0x1c]
dec esi
cmp edx, esi
jb 0x696124
mov edx, dword [ecx + 0x1c]
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
lea esi, [edx + 1]
shl edx, 4
shl esi, 4
mov edi, dword [edx + ecx + 0x14]
add edx, ecx
mov esi, dword [esi + ecx]
xor edi, ebp
mov ebp, dword [edx + 0x18]
mov edx, dword [edx + 0x1c]
xor esi, ebx
mov ebx, dword [eax + 8]
mov dword [esp + 0x10], esi
xor ebp, ebx
mov ebx, dword [eax + 0xc]
and esi, 0xff
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
xor edx, ebx
mov bl, byte [esi*4 + 0x715781]
mov esi, dword [esp + 0x15]
mov dword [esp + 0x1c], edx
and esi, 0xff
mov byte [eax], bl
and edi, 0xff
and ebp, 0xff
mov bl, byte [esi*4 + 0x715781]
mov esi, dword [esp + 0x1a]
and esi, 0xff
mov byte [eax + 1], bl
and edx, 0xff
mov bl, byte [esi*4 + 0x715781]
mov esi, dword [esp + 0x1f]
and esi, 0xff
mov byte [eax + 2], bl
mov bl, byte [esi*4 + 0x715781]
mov esi, dword [esp + 0x19]
mov byte [eax + 3], bl
mov bl, byte [edi*4 + 0x715781]
and esi, 0xff
mov byte [eax + 4], bl
mov bl, byte [esi*4 + 0x715781]
mov esi, dword [esp + 0x1e]
and esi, 0xff
mov byte [eax + 5], bl
mov bl, byte [esi*4 + 0x715781]
mov esi, dword [esp + 0x13]
and esi, 0xff
mov byte [eax + 6], bl
mov bl, byte [esi*4 + 0x715781]
mov esi, dword [esp + 0x1d]
mov byte [eax + 7], bl
mov bl, byte [ebp*4 + 0x715781]
and esi, 0xff
mov byte [eax + 8], bl
mov bl, byte [esi*4 + 0x715781]
mov esi, dword [esp + 0x12]
and esi, 0xff
mov byte [eax + 9], bl
mov bl, byte [esi*4 + 0x715781]
mov esi, dword [esp + 0x17]
and esi, 0xff
mov byte [eax + 0xa], bl
mov bl, byte [esi*4 + 0x715781]
mov byte [eax + 0xb], bl
mov dl, byte [edx*4 + 0x715781]
mov byte [eax + 0xc], dl
mov edx, dword [esp + 0x11]
and edx, 0xff
mov dl, byte [edx*4 + 0x715781]
mov byte [eax + 0xd], dl
mov edx, dword [esp + 0x16]
and edx, 0xff
mov dl, byte [edx*4 + 0x715781]
mov byte [eax + 0xe], dl
mov edx, dword [esp + 0x1b]
and edx, 0xff
mov dl, byte [edx*4 + 0x715781]
mov byte [eax + 0xf], dl
mov edx, dword [ecx + 0x1c]
mov edi, dword [eax]
add edx, 2
mov ebp, dword [eax + 4]
shl edx, 4
mov edx, dword [edx + ecx]
xor edi, edx
mov dword [eax], edi
mov edx, dword [ecx + 0x1c]
shl edx, 4
mov edi, dword [eax + 8]
mov edx, dword [edx + ecx + 0x24]
xor ebp, edx
mov dword [eax + 4], ebp
mov edx, dword [ecx + 0x1c]
shl edx, 4
mov edx, dword [edx + ecx + 0x28]
xor edi, edx
mov dword [eax + 8], edi
mov edx, dword [ecx + 0x1c]
shl edx, 4
pop edi
pop esi
mov ecx, dword [edx + ecx + 0x2c]
mov edx, dword [eax + 0xc]
xor edx, ecx
pop ebp
mov dword [eax + 0xc], edx
pop ebx
add esp, 0x14
ret 8