Function at 0x10099f60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
shl ecx, 5
mov ebx, dword [eax + ecx + 0x1c]
xor ebx, dword [esi + 0xc]
mov edx, dword [eax + ecx + 0x18]
xor edx, dword [esi + 8]
lea eax, [eax + ecx + 0x10]
mov ecx, dword [eax]
xor ecx, dword [esi]
mov dword [esp + 0x2c], edx
push edi
mov edi, dword [eax + 4]
xor edi, dword [esi + 4]
shr edx, 0x10
mov esi, ebx
and edx, 0xff
shr esi, 8
and esi, 0xff
mov esi, dword [esi*4 + 0x100c2fd0]
xor esi, dword [edx*4 + 0x100c33d0]
mov edx, edi
shr edx, 0x18
xor esi, dword [edx*4 + 0x100c37d0]
mov edx, ecx
and edx, 0xff
xor esi, dword [edx*4 + 0x100c2bd0]
mov edx, edi
shr edx, 8
mov ebp, ecx
shr ebp, 0x10
and ebp, 0xff
and edx, 0xff
mov edx, dword [edx*4 + 0x100c2fd0]
xor edx, dword [ebp*4 + 0x100c33d0]
mov ebp, ebx
shr ebp, 0x18
xor edx, dword [ebp*4 + 0x100c37d0]
mov ebp, dword [esp + 0x30]
and ebp, 0xff
xor edx, dword [ebp*4 + 0x100c2bd0]
mov ebp, dword [esp + 0x30]
shr ebp, 8
mov dword [esp + 0x2c], edi
and ebp, 0xff
mov ebp, dword [ebp*4 + 0x100c2fd0]
shr edi, 0x10
xor esi, dword [eax - 0x10]
xor edx, dword [eax - 8]
and edi, 0xff
xor ebp, dword [edi*4 + 0x100c33d0]
mov edi, ecx
shr edi, 0x18
xor ebp, dword [edi*4 + 0x100c37d0]
mov edi, ebx
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x100c33d0]
shr ecx, 8
and ecx, 0xff
xor ebx, dword [ecx*4 + 0x100c2fd0]
mov ecx, dword [esp + 0x30]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x100c37d0]
mov ecx, dword [esp + 0x2c]
sub eax, 0x20
and edi, 0xff
xor ebp, dword [edi*4 + 0x100c2bd0]
and ecx, 0xff
xor ebx, dword [ecx*4 + 0x100c2bd0]
xor ebp, dword [eax + 0x1c]
xor ebx, dword [eax + 0x14]
dec dword [esp + 0x10]
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], edx
je 0x1009a2ef
mov ecx, ebp
mov edi, edx
shr edi, 0x10
and edi, 0xff
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x100c2fd0]
xor ecx, dword [edi*4 + 0x100c33d0]
mov edi, ebx
shr edi, 0x18
xor ecx, dword [edi*4 + 0x100c37d0]
mov edi, esi
and edi, 0xff
xor ecx, dword [edi*4 + 0x100c2bd0]
mov edi, ebx
shr edi, 8
and edi, 0xff
shr esi, 0x10
and esi, 0xff
mov dword [esp + 0x14], esi
mov esi, dword [edi*4 + 0x100c2fd0]
mov edi, dword [esp + 0x14]
xor esi, dword [edi*4 + 0x100c33d0]
mov edi, ebp
shr edi, 0x18
xor esi, dword [edi*4 + 0x100c37d0]
mov edi, edx
and edi, 0xff
xor esi, dword [edi*4 + 0x100c2bd0]
mov edi, ebx
shr edi, 0x10
and edi, 0xff
shr edx, 8
and edx, 0xff
mov dword [esp + 0x14], edx
mov edx, dword [edi*4 + 0x100c33d0]
mov edi, dword [esp + 0x14]
xor edx, dword [edi*4 + 0x100c2fd0]
mov edi, dword [esp + 0x18]
shr edi, 0x18
xor edx, dword [edi*4 + 0x100c37d0]
mov edi, ebp
xor esi, dword [eax + 8]
and edi, 0xff
xor edx, dword [edi*4 + 0x100c2bd0]
mov edi, dword [esp + 0x18]
xor edx, dword [eax + 0xc]
shr ebp, 0x10
and ebp, 0xff
xor ecx, dword [eax]
shr edi, 8
and edi, 0xff
mov dword [esp + 0x14], edi
mov edi, dword [ebp*4 + 0x100c33d0]
mov ebp, dword [esp + 0x14]
xor edi, dword [ebp*4 + 0x100c2fd0]
mov ebp, dword [esp + 0x20]
shr ebp, 0x18
xor edi, dword [ebp*4 + 0x100c37d0]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x100c2bd0]
mov ebx, edx
xor edi, dword [eax + 4]
shr ebx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x100c2fd0]
mov ebp, esi
shr ebp, 0x10
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x100c33d0]
mov ebp, edi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x100c37d0]
mov ebp, ecx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x100c2bd0]
sub eax, 0x20
xor ebx, dword [eax + 0x10]
mov dword [esp + 0x18], ebx
mov ebx, edi
shr ebx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x100c2fd0]
mov ebp, ecx
shr ebp, 0x10
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x100c33d0]
mov ebp, edx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x100c37d0]
mov ebp, esi
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x100c2bd0]
mov ebp, edi
xor ebx, dword [eax + 0x18]
shr ebp, 0x10
mov dword [esp + 0x20], ebx
mov ebx, esi
shr ebx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x100c2fd0]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x100c33d0]
mov ebp, ecx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x100c37d0]
mov ebp, edx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x100c2bd0]
shr edx, 0x10
xor ebx, dword [eax + 0x1c]
and edx, 0xff
mov ebp, ebx
mov ebx, dword [edx*4 + 0x100c33d0]
mov edx, dword [esp + 0x20]
shr ecx, 8
and ecx, 0xff
xor ebx, dword [ecx*4 + 0x100c2fd0]
shr esi, 0x18
xor ebx, dword [esi*4 + 0x100c37d0]
mov esi, dword [esp + 0x18]
and edi, 0xff
xor ebx, dword [edi*4 + 0x100c2bd0]
xor ebx, dword [eax + 0x14]
dec dword [esp + 0x10]
jne 0x1009a0b3
mov ecx, edx
shr ecx, 0x10
and ecx, 0xff
movzx ecx, byte [ecx + 0x100c3bd0]
mov edi, ebx
shr edi, 0x18
movzx edi, byte [edi + 0x100c3bd0]
shl edi, 8
or ecx, edi
shl ecx, 8
mov edi, ebp
shr edi, 8
and edi, 0xff
movzx edi, byte [edi + 0x100c3bd0]
or ecx, edi
shl ecx, 8
mov edi, esi
and edi, 0xff
movzx edi, byte [edi + 0x100c3bd0]
or ecx, edi
xor ecx, dword [eax]
mov edi, dword [esp + 0x3c]
mov dword [edi], ecx
mov edi, edx
shr edi, 0x18
movzx edi, byte [edi + 0x100c3bd0]
shl edi, 8
mov ecx, ebp
shr ecx, 0x10
and ecx, 0xff
movzx ecx, byte [ecx + 0x100c3bd0]
or ecx, edi
shl ecx, 8
mov edi, esi
shr edi, 8
and edi, 0xff
movzx edi, byte [edi + 0x100c3bd0]
or ecx, edi
shl ecx, 8
mov edi, ebx
and edi, 0xff
movzx edi, byte [edi + 0x100c3bd0]
or ecx, edi
xor ecx, dword [eax + 4]
mov edi, dword [esp + 0x3c]
mov dword [edi + 4], ecx
mov ecx, esi
shr ecx, 0x10
and ecx, 0xff
movzx edi, byte [ecx + 0x100c3bd0]
mov ecx, ebp
shr ecx, 0x18
movzx ecx, byte [ecx + 0x100c3bd0]
shl ecx, 8
or edi, ecx
mov ecx, ebx
shr ecx, 8
and ecx, 0xff
movzx ecx, byte [ecx + 0x100c3bd0]
shl edi, 8
or edi, ecx
mov ecx, edx
and ecx, 0xff
movzx ecx, byte [ecx + 0x100c3bd0]
shl edi, 8
or edi, ecx
xor edi, dword [eax + 8]
mov ecx, dword [esp + 0x3c]
mov dword [ecx + 8], edi
shr esi, 0x18
movzx esi, byte [esi + 0x100c3bd0]
shr ebx, 0x10
and ebx, 0xff
movzx edi, byte [ebx + 0x100c3bd0]
shr edx, 8
shl esi, 8
and edx, 0xff
movzx edx, byte [edx + 0x100c3bd0]
or edi, esi
shl edi, 8
or edi, edx
and ebp, 0xff
movzx edx, byte [ebp + 0x100c3bd0]
shl edi, 8
or edi, edx
xor edi, dword [eax + 0xc]
mov dword [ecx + 0xc], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4