Function at 0x10002510
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ecx]
mov dword [ebp - 0x20], edx
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ecx + 0x14]
push esi
xor edx, dword [eax]
xor ebx, dword [eax + 4]
mov dword [ebp - 0xc], edx
mov edx, dword [ecx + 0x18]
xor edx, dword [eax + 8]
mov dword [ebp - 8], edx
mov edx, dword [ecx + 0x1c]
xor edx, dword [eax + 0xc]
lea eax, [ecx + 0x20]
mov ecx, dword [ebp - 8]
sar ecx, 0x10
mov dword [ebp - 0x18], edx
movzx edx, cl
mov ecx, ebx
sar ecx, 8
mov esi, dword [ebp - 0x18]
movzx ecx, cl
mov edx, dword [edx*4 + 0x10165d40]
push edi
xor edx, dword [ecx*4 + 0x10165940]
mov ecx, esi
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10166140]
mov ecx, dword [ebp - 0xc]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10165540]
xor edx, dword [eax]
mov ecx, dword [ebp - 8]
sar ecx, 8
mov dword [ebp - 0x1c], edx
movzx edx, cl
mov ecx, esi
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x10165940]
xor edx, dword [ecx*4 + 0x10165d40]
mov ecx, dword [ebp - 0xc]
mov edi, edx
shr ecx, 0x18
mov dword [ebp + 8], edx
xor edi, dword [ecx*4 + 0x10166140]
movzx ecx, bl
xor edi, dword [ecx*4 + 0x10165540]
mov ecx, edi
mov dword [ebp + 8], edi
xor ecx, dword [eax + 4]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0xc]
sar ecx, 0x10
movzx edx, cl
mov ecx, esi
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x10165d40]
xor edx, dword [ecx*4 + 0x10165940]
mov ecx, ebx
shr ecx, 0x18
sar ebx, 0x10
xor edx, dword [ecx*4 + 0x10166140]
mov ecx, dword [ebp - 8]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10165540]
xor edx, dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], edx
sar ecx, 8
movzx edx, bl
movzx ecx, cl
mov edx, dword [edx*4 + 0x10165d40]
xor edx, dword [ecx*4 + 0x10165940]
mov ecx, dword [ebp - 8]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10166140]
mov ecx, esi
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10165540]
xor edx, dword [eax + 0xc]
sub dword [ebp - 0x10], 1
mov dword [ebp - 8], edx
je 0x10002858
mov ecx, dword [ebp - 4]
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [ebp + 8]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x10165d40]
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0x1c]
xor edx, dword [ecx*4 + 0x10165940]
mov ecx, edi
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10166140]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x10165540]
mov ecx, edi
xor edx, dword [eax + 0x10]
shr ecx, 0x10
mov dword [ebp - 0xc], edx
movzx edx, cl
mov ecx, dword [ebp - 4]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x10165d40]
xor edx, dword [ecx*4 + 0x10165940]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10166140]
mov ecx, dword [ebp + 8]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10165540]
mov ecx, edi
xor edx, dword [eax + 0x14]
shr ecx, 8
mov dword [ebp - 0x14], edx
movzx edx, cl
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
shr ebx, 8
mov edx, dword [edx*4 + 0x10165940]
xor edx, dword [ecx*4 + 0x10165d40]
mov ecx, dword [ebp + 8]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10166140]
mov ecx, dword [ebp - 4]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10165540]
xor edx, dword [eax + 0x18]
mov ecx, dword [ebp + 8]
shr ecx, 0x10
mov dword [ebp - 0x18], edx
movzx edx, cl
movzx ecx, bl
mov ebx, dword [edx*4 + 0x10165d40]
xor ebx, dword [ecx*4 + 0x10165940]
mov ecx, dword [ebp - 4]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x10166140]
mov ecx, edi
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x10165540]
mov ecx, dword [ebp - 0x14]
xor ebx, dword [eax + 0x1c]
add eax, 0x20
shr ecx, 8
movzx edx, cl
mov ecx, dword [ebp - 0x18]
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x10165940]
xor edx, dword [ecx*4 + 0x10165d40]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10166140]
mov ecx, dword [ebp - 0xc]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10165540]
mov ecx, ebx
xor edx, dword [eax]
mov dword [ebp - 0x1c], edx
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [ebp - 0x18]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x10165d40]
xor edx, dword [ecx*4 + 0x10165940]
mov ecx, dword [ebp - 0xc]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10166140]
mov ecx, dword [ebp - 0x14]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10165540]
mov ecx, ebx
xor edx, dword [eax + 4]
shr ecx, 8
mov dword [ebp + 8], edx
movzx edx, cl
mov ecx, dword [ebp - 0xc]
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x10165940]
xor edx, dword [ecx*4 + 0x10165d40]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x14]
mov ecx, edx
mov esi, dword [ebp - 4]
shr ecx, 0x18
sar edx, 0x10
movzx edx, dl
xor esi, dword [ecx*4 + 0x10166140]
mov ecx, dword [ebp - 0x18]
mov edx, dword [edx*4 + 0x10165d40]
movzx ecx, cl
xor esi, dword [ecx*4 + 0x10165540]
mov ecx, esi
mov dword [ebp - 4], esi
xor ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0xc]
sar ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10165940]
mov ecx, dword [ebp - 0x18]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10166140]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x10165540]
xor edx, dword [eax + 0xc]
sub dword [ebp - 0x10], 1
mov dword [ebp - 8], edx
jne 0x10002651
mov ecx, edx
mov ebx, dword [ebp - 0x1c]
shr ecx, 0x18
mov esi, dword [ebp - 0x20]
movzx edx, byte [ecx + str.cw]
mov ecx, dword [ebp - 4]
shr ecx, 0x10
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [ebp + 8]
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
movzx ecx, bl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [ebp - 8]
xor edx, dword [eax + 0x10]
shr ecx, 0x10
movzx ecx, cl
mov dword [esi], edx
movzx edx, byte [ecx + str.cw]
mov ecx, ebx
shr ecx, 0x18
movzx ecx, byte [ecx + str.cw]
shl ecx, 8
or edx, ecx
mov ecx, dword [ebp - 4]
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [ebp + 8]
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [ebp + 8]
xor edx, dword [eax + 0x14]
shr ecx, 0x18
mov dword [esi + 4], edx
movzx edx, byte [ecx + str.cw]
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
shl edx, 8
shr ebx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [ebp - 8]
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [ebp - 4]
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [ebp - 4]
xor edx, dword [eax + 0x18]
shr ecx, 0x18
mov dword [esi + 8], edx
movzx edx, byte [ecx + str.cw]
mov ecx, dword [ebp + 8]
shr ecx, 0x10
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
movzx ecx, bl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [ebp - 8]
movzx ecx, cl
shl edx, 8
pop edi
movzx ecx, byte [ecx + str.cw]
or edx, ecx
xor edx, dword [eax + 0x1c]
mov dword [esi + 0xc], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4