Function at 0x1006e540
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x24]
mov ebx, dword [esi + 4]
xor edx, dword [esi]
mov ebp, dword [esi + 0xc]
push edi
mov edi, dword [esi + 8]
xor eax, ebx
mov ebx, dword [ecx + 0xc]
xor ebx, edi
mov edi, dword [ecx + 0x10]
xor edi, ebp
mov dword [esp + 0x1c], edi
mov esi, edi
shr esi, 0x18
mov esi, dword [esi*4 + 0x10098158]
mov dword [esp + 0x18], ebx
movzx edi, byte [esp + 0x1a]
xor esi, dword [edi*4 + 0x10097d58]
mov dword [esp + 0x14], eax
movzx eax, ah
xor esi, dword [eax*4 + 0x10097958]
movzx eax, dl
mov edi, dword [eax*4 + 0x10097558]
mov eax, dword [esp + 0x2c]
xor esi, edi
movzx edi, byte [esp + 0x1e]
mov dword [eax], esi
mov ebp, dword [edi*4 + 0x10097d58]
mov esi, edx
shr esi, 0x18
mov esi, dword [esi*4 + 0x10098158]
xor esi, ebp
movzx edi, bh
mov ebp, dword [edi*4 + 0x10097958]
movzx edi, byte [esp + 0x14]
mov ebx, dword [edi*4 + 0x10097558]
xor esi, ebp
xor esi, ebx
mov dword [eax + 4], esi
movzx esi, byte [esp + 0x17]
mov esi, dword [esi*4 + 0x10098158]
mov dword [esp + 0x10], edx
movzx edi, byte [esp + 0x12]
mov ebp, dword [edi*4 + 0x10097d58]
movzx edi, byte [esp + 0x1d]
mov ebx, dword [edi*4 + 0x10097958]
movzx edi, byte [esp + 0x18]
xor esi, ebp
mov ebp, dword [edi*4 + 0x10097558]
movzx edi, byte [esp + 0x16]
xor esi, ebx
xor esi, ebp
mov dword [eax + 8], esi
movzx esi, byte [esp + 0x1b]
mov esi, dword [esi*4 + 0x10098158]
mov ebx, dword [edi*4 + 0x10097d58]
movzx edx, dh
mov ebp, dword [edx*4 + 0x10097958]
movzx edx, byte [esp + 0x1c]
xor esi, ebx
mov ebx, dword [edx*4 + 0x10097558]
xor esi, ebp
xor esi, ebx
mov dword [eax + 0xc], esi
mov edx, dword [ecx]
mov ebp, 1
dec edx
cmp edx, ebp
jle 0x1006e78b
lea esi, [ecx + 0x18]
lea ebx, [ebx]
mov edx, dword [esi - 4]
xor edx, dword [eax]
mov edi, dword [esi]
xor edi, dword [eax + 4]
mov ebx, dword [eax + 8]
mov dword [esp + 0x14], edi
mov edi, dword [esi + 4]
xor edi, ebx
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x18], edi
mov edi, dword [esi + 8]
xor edi, ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], edi
shr ebx, 0x10
shr edi, 0x18
mov edi, dword [edi*4 + 0x10098158]
movzx ebx, bl
xor edi, dword [ebx*4 + 0x10097d58]
mov ebx, dword [esp + 0x14]
shr ebx, 8
movzx ebx, bl
xor edi, dword [ebx*4 + 0x10097958]
movzx ebx, dl
xor edi, dword [ebx*4 + 0x10097558]
mov ebx, dword [esp + 0x1c]
mov dword [eax], edi
shr ebx, 0x10
movzx ebx, bl
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x10098158]
xor edi, dword [ebx*4 + 0x10097d58]
mov ebx, dword [esp + 0x18]
shr ebx, 8
movzx ebx, bl
xor edi, dword [ebx*4 + 0x10097958]
movzx ebx, byte [esp + 0x14]
xor edi, dword [ebx*4 + 0x10097558]
mov dword [esp + 0x10], edx
movzx ebx, byte [esp + 0x12]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x14]
shr edi, 0x18
mov edi, dword [edi*4 + 0x10098158]
xor edi, dword [ebx*4 + 0x10097d58]
mov ebx, dword [esp + 0x1c]
shr ebx, 8
movzx ebx, bl
xor edi, dword [ebx*4 + 0x10097958]
movzx ebx, byte [esp + 0x18]
xor edi, dword [ebx*4 + 0x10097558]
movzx ebx, byte [esp + 0x16]
mov dword [eax + 8], edi
movzx edi, byte [esp + 0x1b]
mov edi, dword [edi*4 + 0x10098158]
xor edi, dword [ebx*4 + 0x10097d58]
movzx edx, dh
mov ebx, dword [edx*4 + 0x10097958]
movzx edx, byte [esp + 0x1c]
xor edi, ebx
xor edi, dword [edx*4 + 0x10097558]
mov dword [eax + 0xc], edi
mov edx, dword [ecx]
inc ebp
add esi, 0x10
dec edx
cmp ebp, edx
jl 0x1006e670
mov edx, dword [ecx]
mov edi, dword [eax]
mov ebp, dword [eax + 4]
mov ebx, dword [eax + 8]
shl edx, 4
lea esi, [edx + ecx]
mov edx, dword [esi - 0xc]
xor edx, edi
mov edi, dword [esi - 8]
xor edi, ebp
mov dword [esp + 0x14], edi
mov edi, dword [esi - 4]
mov esi, dword [esi]
xor edi, ebx
mov dword [esp + 0x18], edi
xor esi, dword [eax + 0xc]
mov dword [esp + 0x1c], esi
movzx esi, dl
mov bl, byte [esi*4 + 0x10097559]
movzx esi, byte [esp + 0x15]
mov byte [eax], bl
mov bl, byte [esi*4 + 0x10097559]
movzx esi, byte [esp + 0x1a]
mov byte [eax + 1], bl
mov bl, byte [esi*4 + 0x10097559]
mov esi, dword [esp + 0x1c]
mov byte [eax + 2], bl
shr esi, 0x18
mov bl, byte [esi*4 + 0x10097559]
movzx esi, byte [esp + 0x14]
mov byte [eax + 3], bl
mov bl, byte [esi*4 + 0x10097559]
movzx esi, byte [esp + 0x19]
mov byte [eax + 4], bl
mov bl, byte [esi*4 + 0x10097559]
movzx esi, byte [esp + 0x1e]
mov byte [eax + 5], bl
mov bl, byte [esi*4 + 0x10097559]
mov dword [esp + 0x10], edx
movzx esi, byte [esp + 0x13]
mov byte [eax + 6], bl
mov bl, byte [esi*4 + 0x10097559]
movzx esi, byte [esp + 0x18]
mov byte [eax + 7], bl
mov bl, byte [esi*4 + 0x10097559]
movzx esi, byte [esp + 0x1d]
mov byte [eax + 8], bl
mov bl, byte [esi*4 + 0x10097559]
movzx esi, byte [esp + 0x12]
mov byte [eax + 9], bl
mov bl, byte [esi*4 + 0x10097559]
movzx esi, byte [esp + 0x17]
mov byte [eax + 0xa], bl
mov bl, byte [esi*4 + 0x10097559]
movzx esi, byte [esp + 0x1c]
mov byte [eax + 0xb], bl
mov bl, byte [esi*4 + 0x10097559]
movzx edx, dh
mov byte [eax + 0xc], bl
mov dl, byte [edx*4 + 0x10097559]
mov ebx, dword [eax]
mov byte [eax + 0xd], dl
movzx edx, byte [esp + 0x16]
mov dl, byte [edx*4 + 0x10097559]
mov esi, dword [eax + 4]
mov byte [eax + 0xe], dl
movzx edx, byte [esp + 0x1b]
mov dl, byte [edx*4 + 0x10097559]
mov byte [eax + 0xf], dl
mov edx, dword [ecx]
shl edx, 4
mov edx, dword [edx + ecx + 4]
xor ebx, edx
mov dword [eax], ebx
mov edx, dword [ecx]
shl edx, 4
mov edx, dword [edx + ecx + 8]
xor esi, edx
mov dword [eax + 4], esi
mov edx, dword [ecx]
mov ebx, dword [eax + 8]
shl edx, 4
mov edx, dword [edx + ecx + 0xc]
xor ebx, edx
mov dword [eax + 8], ebx
mov edx, dword [ecx]
inc edx
shl edx, 4
mov ecx, dword [edx + ecx]
mov edx, dword [eax + 0xc]
pop edi
pop esi
xor edx, ecx
pop ebp
mov dword [eax + 0xc], edx
mov eax, 1
pop ebx
add esp, 0x10
ret