Function at 0x100909f0
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, 0x1c
mov eax, dword [ecx]
push ebx
mov ebx, dword [ecx + 0x1c]
push esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
push edi
mov edi, edx
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x1c], edi
xor edx, dword [eax]
xor ebx, dword [eax + 0xc]
mov dword [ebp - 0xc], edx
mov edx, dword [ecx + 0x14]
xor edx, dword [eax + 4]
mov dword [ebp - 0x18], edx
mov edx, dword [ecx + 0x18]
xor edx, dword [eax + 8]
lea eax, [ecx + 0x20]
mov esi, dword [ebp - 0x18]
mov ecx, esi
sar ecx, 0x18
mov dword [ebp - 0x10], edx
movzx edx, cl
mov ecx, ebx
sar ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x100ed678]
xor edx, dword [ecx*4 + 0x100ece78]
mov ecx, dword [ebp - 0xc]
sar ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x100ed278]
mov ecx, dword [ebp - 0x10]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x100eca78]
mov ecx, esi
xor edx, dword [eax + 8]
sar ecx, 8
mov dword [ebp - 4], edx
movzx edx, cl
mov ecx, ebx
sar ecx, 0x18
movzx ecx, cl
mov edx, dword [edx*4 + 0x100ece78]
xor edx, dword [ecx*4 + 0x100ed678]
mov ecx, dword [ebp - 0x10]
sar ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x100ed278]
mov ecx, dword [ebp - 0xc]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x100eca78]
mov ecx, esi
xor edx, dword [eax]
sar ecx, 0x10
mov dword [ebp - 8], edx
movzx edx, cl
mov ecx, dword [ebp - 0xc]
sar ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x100ed278]
xor edx, dword [ecx*4 + 0x100ece78]
mov ecx, dword [ebp - 0x10]
sar ecx, 0x18
movzx ecx, cl
xor edx, dword [ecx*4 + 0x100ed678]
movzx ecx, bl
sar ebx, 0x10
xor edx, dword [ecx*4 + 0x100eca78]
xor edx, dword [eax + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [ebp + 8], edx
sar ecx, 0x18
movzx ecx, cl
movzx edx, bl
mov edx, dword [edx*4 + 0x100ed278]
xor edx, dword [ecx*4 + 0x100ed678]
mov ecx, dword [ebp - 0x10]
sar ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x100ece78]
mov ecx, esi
movzx ecx, cl
xor edx, dword [ecx*4 + 0x100eca78]
xor edx, dword [eax + 4]
sub dword [ebp - 0x14], 1
mov dword [ebp - 0xc], edx
je 0x10090d5e
mov edi, dword [ebp - 0x14]
nop dword [eax + eax]
mov ecx, dword [ebp + 8]
shr ecx, 8
movzx ecx, cl
shr edx, 0x18
mov edx, dword [edx*4 + 0x100ed678]
xor edx, dword [ecx*4 + 0x100ece78]
mov ecx, dword [ebp - 8]
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x100ed278]
mov ecx, dword [ebp - 4]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x100eca78]
xor edx, dword [eax + 0x18]
mov ecx, dword [ebp - 0xc]
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x14], edx
mov edx, dword [ebp + 8]
shr edx, 0x18
mov ebx, dword [ecx*4 + 0x100ece78]
mov ecx, dword [ebp - 4]
shr ecx, 0x10
xor ebx, dword [edx*4 + 0x100ed678]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x100ed278]
mov ecx, dword [ebp - 8]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x100eca78]
xor ebx, dword [eax + 0x10]
mov ecx, dword [ebp - 0xc]
shr ecx, 0x10
movzx edx, cl
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 8]
mov ecx, ebx
shr ecx, 8
mov edx, dword [edx*4 + 0x100ed278]
movzx ecx, cl
shr ebx, 0x18
mov dword [ebp - 8], ebx
xor edx, dword [ecx*4 + 0x100ece78]
mov ecx, dword [ebp - 4]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x100ed678]
mov ecx, dword [ebp + 8]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x100eca78]
mov ecx, dword [ebp + 8]
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [eax + 0x1c]
mov dword [ebp - 0x18], edx
mov ebx, dword [ecx*4 + 0x100ed278]
mov ecx, dword [ebp - 8]
xor ebx, dword [ecx*4 + 0x100ed678]
mov ecx, dword [ebp - 4]
shr ecx, 8
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x100ece78]
mov ecx, dword [ebp - 0xc]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x100eca78]
mov ecx, edx
xor ebx, dword [eax + 0x14]
add eax, 0x20
shr ecx, 8
movzx edx, cl
mov ecx, dword [ebp - 0x10]
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x100ece78]
xor edx, dword [ecx*4 + 0x100ed278]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x100ed678]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 4]
movzx ecx, dl
xor esi, dword [ecx*4 + 0x100eca78]
mov ecx, esi
mov dword [ebp - 4], esi
xor ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov ecx, edx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x100ed278]
xor edx, dword [ecx*4 + 0x100ece78]
mov ecx, dword [ebp - 0x18]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x100ed678]
mov ecx, dword [ebp - 0x10]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x100eca78]
mov ecx, ebx
xor edx, dword [eax]
shr ecx, 0x10
mov dword [ebp - 8], edx
movzx edx, cl
mov ecx, dword [ebp - 0x10]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x100ed278]
xor edx, dword [ecx*4 + 0x100ece78]
mov ecx, dword [ebp - 0x14]
sar ecx, 0x18
movzx ecx, cl
xor edx, dword [ecx*4 + 0x100ed678]
mov dword [ebp + 8], edx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp + 8]
movzx ecx, dl
sar edx, 0x10
movzx edx, dl
xor esi, dword [ecx*4 + 0x100eca78]
mov ecx, esi
mov dword [ebp + 8], esi
xor ecx, dword [eax + 0xc]
mov edx, dword [edx*4 + 0x100ed278]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0x10]
sar ecx, 0x18
movzx ecx, cl
xor edx, dword [ecx*4 + 0x100ed678]
mov ecx, dword [ebp - 0x14]
sar ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x100ece78]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x100eca78]
xor edx, dword [eax + 4]
mov dword [ebp - 0xc], edx
sub edi, 1
jne 0x10090b40
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
shr ecx, 0x18
mov ebx, dword [ebp - 4]
movzx edx, byte [ecx + str.cw]
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [ebp - 0xc]
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 + 0x10]
shr ecx, 0x18
mov dword [edi], 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
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [ebp - 0xc]
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [ebp - 0xc]
xor edx, dword [eax + 0x14]
shr ecx, 0x18
mov dword [edi + 4], 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
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
shr ebx, 0x18
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [ebp - 0xc]
xor edx, dword [eax + 0x18]
shr ecx, 0x10
movzx ecx, cl
mov dword [edi + 8], edx
movzx edx, byte [ebx + str.cw]
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
shl edx, 8
mov ecx, dword [ebp + 8]
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
or edx, ecx
xor edx, dword [eax + 0x1c]
mov dword [edi + 0xc], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret