Function at 0x10022700
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
mov edx, dword [eax]
push ebx
mov dword [esp + 4], edx
shl edx, 5
lea eax, [eax + edx + 0x10]
mov edx, dword [eax + 0xc]
xor edx, dword [ecx + 0xc]
push ebp
mov ebp, dword [eax + 8]
xor ebp, dword [ecx + 8]
push esi
mov esi, dword [eax + 4]
xor esi, dword [ecx + 4]
push edi
mov edi, dword [eax]
xor edi, dword [ecx]
mov ecx, edx
mov ebx, ebp
shr ebx, 0x10
and ebx, 0xff
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x100eab48]
xor ecx, dword [ebx*4 + 0x100eaf48]
mov ebx, esi
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x100eb348]
mov ebx, edi
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x100ea748]
mov dword [esp + 0x34], edx
shr edx, 0x10
mov ebx, edi
shr ebx, 8
and ebx, 0xff
and edx, 0xff
mov edx, dword [edx*4 + 0x100eaf48]
xor edx, dword [ebx*4 + 0x100eab48]
mov ebx, ebp
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x100eb348]
mov ebx, esi
and ebx, 0xff
xor edx, dword [ebx*4 + 0x100ea748]
mov ebx, esi
shr ebx, 8
mov dword [esp + 0x28], edi
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x100eab48]
shr edi, 0x10
xor ecx, dword [eax - 0x10]
xor edx, dword [eax - 0xc]
and edi, 0xff
xor ebx, dword [edi*4 + 0x100eaf48]
mov edi, dword [esp + 0x34]
shr edi, 0x18
xor ebx, dword [edi*4 + 0x100eb348]
mov edi, ebp
shr ebp, 8
and ebp, 0xff
mov ebp, dword [ebp*4 + 0x100eab48]
shr esi, 0x10
and esi, 0xff
xor ebp, dword [esi*4 + 0x100eaf48]
mov esi, dword [esp + 0x28]
shr esi, 0x18
xor ebp, dword [esi*4 + 0x100eb348]
mov esi, dword [esp + 0x34]
sub eax, 0x20
and edi, 0xff
xor ebx, dword [edi*4 + 0x100ea748]
and esi, 0xff
xor ebp, dword [esi*4 + 0x100ea748]
xor ebx, dword [eax + 0x18]
xor ebp, dword [eax + 0x1c]
sub dword [esp + 0x10], 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
je 0x10022a83
mov edi, edi
mov edi, ebx
shr edi, 0x10
and edi, 0xff
mov esi, ebp
shr esi, 8
and esi, 0xff
mov esi, dword [esi*4 + 0x100eab48]
xor esi, dword [edi*4 + 0x100eaf48]
mov edi, edx
shr edi, 0x18
xor esi, dword [edi*4 + 0x100eb348]
mov edi, ecx
and edi, 0xff
xor esi, dword [edi*4 + 0x100ea748]
mov edi, ebp
shr edi, 0x10
and edi, 0xff
shr ecx, 8
and ecx, 0xff
mov dword [esp + 0x14], ecx
mov ecx, dword [edi*4 + 0x100eaf48]
mov edi, dword [esp + 0x14]
xor ecx, dword [edi*4 + 0x100eab48]
mov edi, ebx
shr edi, 0x18
xor ecx, dword [edi*4 + 0x100eb348]
mov edi, edx
and edi, 0xff
xor ecx, dword [edi*4 + 0x100ea748]
mov edi, dword [esp + 0x18]
shr edi, 0x10
and edi, 0xff
shr edx, 8
and edx, 0xff
mov edx, dword [edx*4 + 0x100eab48]
xor edx, dword [edi*4 + 0x100eaf48]
mov edi, ebp
shr edi, 0x18
xor edx, dword [edi*4 + 0x100eb348]
mov edi, ebx
and edi, 0xff
xor edx, dword [edi*4 + 0x100ea748]
mov edi, dword [esp + 0x1c]
xor edx, dword [eax + 8]
shr ebx, 8
and ebx, 0xff
xor ecx, dword [eax + 4]
shr edi, 0x10
and edi, 0xff
xor esi, dword [eax]
mov dword [esp + 0x14], edi
mov edi, dword [ebx*4 + 0x100eab48]
mov ebx, dword [esp + 0x14]
xor edi, dword [ebx*4 + 0x100eaf48]
mov ebx, dword [esp + 0x18]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x100eb348]
and ebp, 0xff
xor edi, dword [ebp*4 + 0x100ea748]
mov ebp, edx
xor edi, dword [eax + 0xc]
shr ebp, 0x10
mov ebx, edi
shr ebx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x100eab48]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x100eaf48]
mov ebp, ecx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x100eb348]
mov ebp, esi
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x100ea748]
sub eax, 0x20
xor ebx, dword [eax + 0x10]
mov ebp, esi
mov dword [esp + 0x18], ebx
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x100eaf48]
shr ebp, 8
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x100eab48]
mov ebp, edx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x100eb348]
mov ebp, ecx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x100ea748]
mov ebp, esi
xor ebx, dword [eax + 0x14]
shr ebp, 0x10
mov dword [esp + 0x1c], ebx
and ebp, 0xff
mov ebx, ecx
shr ebx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x100eab48]
xor ebx, dword [ebp*4 + 0x100eaf48]
mov ebp, edi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x100eb348]
mov ebp, edx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x100ea748]
shr edx, 8
xor ebx, dword [eax + 0x18]
and edx, 0xff
mov ebp, dword [edx*4 + 0x100eab48]
mov edx, dword [esp + 0x1c]
shr ecx, 0x10
and ecx, 0xff
xor ebp, dword [ecx*4 + 0x100eaf48]
mov ecx, dword [esp + 0x18]
shr esi, 0x18
xor ebp, dword [esi*4 + 0x100eb348]
and edi, 0xff
xor ebp, dword [edi*4 + 0x100ea748]
xor ebp, dword [eax + 0x1c]
sub dword [esp + 0x10], 1
jne 0x10022850
mov edi, edx
shr edi, 0x18
movzx edi, byte [edi + 0x100eb748]
shl edi, 8
mov esi, ebx
shr esi, 0x10
and esi, 0xff
movzx esi, byte [esi + 0x100eb748]
or esi, edi
shl esi, 8
mov edi, ebp
shr edi, 8
and edi, 0xff
movzx edi, byte [edi + 0x100eb748]
or esi, edi
shl esi, 8
mov edi, ecx
and edi, 0xff
movzx edi, byte [edi + 0x100eb748]
or esi, edi
xor esi, dword [eax]
mov edi, dword [esp + 0x3c]
mov dword [edi], esi
mov edi, ebx
shr edi, 0x18
movzx edi, byte [edi + 0x100eb748]
shl edi, 8
mov esi, ebp
shr esi, 0x10
and esi, 0xff
movzx esi, byte [esi + 0x100eb748]
or esi, edi
shl esi, 8
mov edi, ecx
shr edi, 8
and edi, 0xff
movzx edi, byte [edi + 0x100eb748]
or esi, edi
shl esi, 8
mov edi, edx
and edi, 0xff
movzx edi, byte [edi + 0x100eb748]
or esi, edi
xor esi, dword [eax + 4]
mov edi, dword [esp + 0x3c]
mov dword [edi + 4], esi
mov esi, ecx
shr esi, 0x10
and esi, 0xff
movzx edi, byte [esi + 0x100eb748]
mov esi, ebp
shr esi, 0x18
movzx esi, byte [esi + 0x100eb748]
shl esi, 8
or edi, esi
mov esi, edx
shr esi, 8
and esi, 0xff
movzx esi, byte [esi + 0x100eb748]
shl edi, 8
or edi, esi
mov esi, ebx
and esi, 0xff
movzx esi, byte [esi + 0x100eb748]
shl edi, 8
or edi, esi
xor edi, dword [eax + 8]
mov esi, dword [esp + 0x3c]
shr edx, 0x10
shr ecx, 0x18
mov dword [esi + 8], edi
movzx ecx, byte [ecx + 0x100eb748]
and edx, 0xff
movzx edx, byte [edx + 0x100eb748]
shl ecx, 8
shr ebx, 8
or edx, ecx
and ebx, 0xff
movzx ecx, byte [ebx + 0x100eb748]
shl edx, 8
or edx, ecx
and ebp, 0xff
movzx ecx, byte [ebp + 0x100eb748]
shl edx, 8
or edx, ecx
xor edx, dword [eax + 0xc]
pop edi
mov dword [esi + 0xc], edx
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4