Function at 0x10099a7b
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x28
mov edx, dword [eax + 0x14]
push ebx
mov ebx, dword [eax + 0x1c]
push ebp
push esi
mov esi, ecx
xor ebx, dword [esi + 0xc]
xor edx, dword [esi + 4]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + 0x18]
xor ecx, dword [esi + 8]
push edi
mov edi, dword [eax + 0x10]
xor edi, dword [esi]
mov esi, ebx
shr esi, 8
mov ebp, edi
shr ebp, 0x10
and ebp, 0xff
and esi, 0xff
mov esi, dword [esi*4 + 0x100c1fd0]
xor esi, dword [ebp*4 + 0x100c23d0]
mov ebp, edx
shr ebp, 0x18
xor esi, dword [ebp*4 + 0x100c27d0]
mov ebp, ecx
and ebp, 0xff
xor esi, dword [ebp*4 + 0x100c1bd0]
mov dword [esp + 0x2c], edx
mov ebp, ecx
shr ebp, 0x10
and ebp, 0xff
shr edx, 8
and edx, 0xff
mov dword [esp + 0x14], edx
mov edx, dword [ebp*4 + 0x100c23d0]
mov ebp, dword [esp + 0x14]
xor edx, dword [ebp*4 + 0x100c1fd0]
mov ebp, ebx
shr ebp, 0x18
xor edx, dword [ebp*4 + 0x100c27d0]
mov ebp, edi
and ebp, 0xff
xor edx, dword [ebp*4 + 0x100c1bd0]
mov ebp, dword [esp + 0x2c]
shr ebp, 0x10
mov dword [esp + 0x28], edi
and ebp, 0xff
mov ebp, dword [ebp*4 + 0x100c23d0]
shr edi, 8
xor esi, dword [eax + 0x28]
xor edx, dword [eax + 0x20]
and edi, 0xff
xor ebp, dword [edi*4 + 0x100c1fd0]
mov edi, ecx
shr edi, 0x18
xor ebp, dword [edi*4 + 0x100c27d0]
mov edi, ebx
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x100c23d0]
shr ecx, 8
and ecx, 0xff
xor ebx, dword [ecx*4 + 0x100c1fd0]
mov ecx, dword [esp + 0x28]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x100c27d0]
mov ecx, dword [esp + 0x2c]
add eax, 0x20
and edi, 0xff
xor ebp, dword [edi*4 + 0x100c1bd0]
and ecx, 0xff
xor ebx, dword [ecx*4 + 0x100c1bd0]
xor ebp, dword [eax + 0xc]
xor ebx, dword [eax + 4]
dec dword [esp + 0x10]
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], edx
je 0x10099dfd
mov ecx, ebp
mov edi, edx
shr edi, 0x10
and edi, 0xff
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x100c1fd0]
xor ecx, dword [edi*4 + 0x100c23d0]
mov edi, ebx
shr edi, 0x18
xor ecx, dword [edi*4 + 0x100c27d0]
mov edi, esi
and edi, 0xff
xor ecx, dword [edi*4 + 0x100c1bd0]
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 + 0x100c1fd0]
mov edi, dword [esp + 0x14]
xor esi, dword [edi*4 + 0x100c23d0]
mov edi, ebp
shr edi, 0x18
xor esi, dword [edi*4 + 0x100c27d0]
mov edi, edx
and edi, 0xff
xor esi, dword [edi*4 + 0x100c1bd0]
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 + 0x100c23d0]
mov edi, dword [esp + 0x14]
xor edx, dword [edi*4 + 0x100c1fd0]
mov edi, dword [esp + 0x20]
shr edi, 0x18
xor edx, dword [edi*4 + 0x100c27d0]
mov edi, ebp
xor esi, dword [eax + 0x10]
and edi, 0xff
xor edx, dword [edi*4 + 0x100c1bd0]
mov edi, dword [esp + 0x20]
xor edx, dword [eax + 0x1c]
shr ebp, 0x10
and ebp, 0xff
xor ecx, dword [eax + 0x18]
shr edi, 8
and edi, 0xff
mov dword [esp + 0x14], edi
mov edi, dword [ebp*4 + 0x100c23d0]
mov ebp, dword [esp + 0x14]
xor edi, dword [ebp*4 + 0x100c1fd0]
mov ebp, dword [esp + 0x18]
shr ebp, 0x18
xor edi, dword [ebp*4 + 0x100c27d0]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x100c1bd0]
mov ebx, edx
xor edi, dword [eax + 0x14]
shr ebx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x100c1fd0]
mov ebp, esi
shr ebp, 0x10
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x100c23d0]
mov ebp, edi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x100c27d0]
mov ebp, ecx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x100c1bd0]
add eax, 0x20
xor ebx, dword [eax + 8]
mov dword [esp + 0x20], ebx
mov ebx, ecx
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x100c23d0]
mov ebp, edi
shr ebp, 8
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x100c1fd0]
mov ebp, edx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x100c27d0]
mov ebp, esi
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x100c1bd0]
mov ebp, esi
xor ebx, dword [eax]
shr ebp, 8
mov dword [esp + 0x18], ebx
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x100c23d0]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x100c1fd0]
mov ebp, ecx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x100c27d0]
mov ebp, edx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x100c1bd0]
shr edx, 0x10
xor ebx, dword [eax + 0xc]
and edx, 0xff
mov ebp, ebx
mov ebx, dword [edx*4 + 0x100c23d0]
mov edx, dword [esp + 0x18]
shr ecx, 8
and ecx, 0xff
xor ebx, dword [ecx*4 + 0x100c1fd0]
shr esi, 0x18
xor ebx, dword [esi*4 + 0x100c27d0]
mov esi, dword [esp + 0x20]
and edi, 0xff
xor ebx, dword [edi*4 + 0x100c1bd0]
xor ebx, dword [eax + 4]
dec dword [esp + 0x10]
jne 0x10099bc1
mov ecx, esi
shr ecx, 0x10
and ecx, 0xff
movzx ecx, byte [ecx + str.cw]
mov edi, ebp
shr edi, 0x18
movzx edi, byte [edi + str.cw]
shl edi, 8
or ecx, edi
shl ecx, 8
mov edi, ebx
shr edi, 8
and edi, 0xff
movzx edi, byte [edi + str.cw]
or ecx, edi
shl ecx, 8
mov edi, edx
and edi, 0xff
movzx edi, byte [edi + str.cw]
or ecx, edi
xor ecx, dword [eax + 0x10]
mov edi, dword [esp + 0x3c]
mov dword [edi], ecx
mov edi, edx
shr edi, 0x18
movzx edi, byte [edi + str.cw]
shl edi, 8
mov ecx, ebp
shr ecx, 0x10
and ecx, 0xff
movzx ecx, byte [ecx + str.cw]
or ecx, edi
shl ecx, 8
mov edi, esi
shr edi, 8
and edi, 0xff
movzx edi, byte [edi + str.cw]
or ecx, edi
shl ecx, 8
mov edi, ebx
and edi, 0xff
movzx edi, byte [edi + str.cw]
or ecx, edi
xor ecx, dword [eax + 0x14]
mov edi, dword [esp + 0x3c]
mov dword [edi + 4], ecx
mov ecx, edx
shr ecx, 0x10
and ecx, 0xff
movzx edi, byte [ecx + str.cw]
mov ecx, ebx
shr ecx, 0x18
movzx ecx, byte [ecx + str.cw]
shl ecx, 8
or edi, ecx
mov ecx, ebp
shr ecx, 8
and ecx, 0xff
movzx ecx, byte [ecx + str.cw]
shl edi, 8
or edi, ecx
mov ecx, esi
and ecx, 0xff
movzx ecx, byte [ecx + str.cw]
shl edi, 8
or edi, ecx
xor edi, dword [eax + 0x18]
mov ecx, dword [esp + 0x3c]
mov dword [ecx + 8], edi
shr esi, 0x18
movzx esi, byte [esi + str.cw]
shr ebx, 0x10
and ebx, 0xff
movzx edi, byte [ebx + str.cw]
shr edx, 8
shl esi, 8
and edx, 0xff
movzx edx, byte [edx + str.cw]
or edi, esi
shl edi, 8
or edi, edx
and ebp, 0xff
movzx edx, byte [ebp + str.cw]
shl edi, 8
or edi, edx
xor edi, dword [eax + 0x1c]
mov dword [ecx + 0xc], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4