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

Disassembly:
sub esp, 0x2c
lea eax, [ecx + 0x10]
mov dword [esp + 0x18], edx
mov edx, dword [eax]
push ebx
mov ebx, dword [eax + 4]
push ebp
mov ebp, dword [ecx]
mov ecx, dword [esp + 0x38]
push esi
push edi
xor edx, dword [ecx]
xor ebx, dword [ecx + 4]
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 8]
xor edx, dword [ecx + 8]
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0xc]
add eax, 0x10
xor edx, dword [ecx + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x38], edx
shr edx, 0x18
movzx ecx, cl
mov dword [esp + 0x30], ebx
mov edx, dword [edx*4 + 0x1010d910]
xor edx, dword [ecx*4 + 0x1010cd10]
movzx ecx, bh
xor edx, dword [ecx*4 + 0x1010d110]
movzx ecx, byte [esp + 0x36]
xor edx, dword [ecx*4 + 0x1010d510]
xor edx, dword [eax]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x14]
shr edx, 0x18
movzx ecx, bl
shr ebx, 0x18
mov edx, dword [edx*4 + 0x1010d910]
xor edx, dword [ecx*4 + 0x1010cd10]
mov ebx, dword [ebx*4 + 0x1010d910]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x40]
movzx ecx, dh
xor esi, dword [ecx*4 + 0x1010d110]
movzx ecx, byte [esp + 0x3a]
xor esi, dword [ecx*4 + 0x1010d510]
mov ecx, esi
mov dword [esp + 0x40], esi
xor ecx, dword [eax + 4]
mov dword [esp + 0x40], ecx
movzx ecx, dl
shr edx, 0x18
xor ebx, dword [ecx*4 + 0x1010cd10]
mov edx, dword [edx*4 + 0x1010d910]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
movzx ecx, bh
xor edi, dword [ecx*4 + 0x1010d110]
movzx ecx, byte [esp + 0x2e]
xor edi, dword [ecx*4 + 0x1010d510]
mov ecx, edi
mov dword [esp + 0x10], edi
xor ecx, dword [eax + 8]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14]
movzx ecx, ch
xor edx, dword [ecx*4 + 0x1010d110]
movzx ecx, byte [esp + 0x32]
xor edx, dword [ecx*4 + 0x1010d510]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x1010cd10]
xor edx, dword [eax + 0xc]
mov dword [esp + 0x14], edx
sub ebp, 1
je 0x100cc5a6
mov ecx, dword [esp + 0x10]
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [esp + 0x40]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x1010d510]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
xor edx, dword [ecx*4 + 0x1010d110]
mov ecx, esi
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x1010d910]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x1010cd10]
mov ecx, esi
xor edx, dword [eax + 0x10]
shr ecx, 0x10
mov dword [esp + 0x1c], edx
movzx edx, cl
mov ecx, dword [esp + 0x10]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x1010d510]
xor edx, dword [ecx*4 + 0x1010d110]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x1010d910]
mov ecx, dword [esp + 0x40]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x1010cd10]
mov ecx, esi
xor edx, dword [eax + 0x14]
shr ecx, 8
mov dword [esp + 0x18], edx
movzx edx, cl
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
shr ebx, 8
mov edx, dword [edx*4 + 0x1010d110]
xor edx, dword [ecx*4 + 0x1010d510]
mov ecx, dword [esp + 0x40]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x1010d910]
mov ecx, dword [esp + 0x10]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x1010cd10]
xor edx, dword [eax + 0x18]
mov ecx, dword [esp + 0x40]
shr ecx, 0x10
mov dword [esp + 0x20], edx
movzx edx, cl
movzx ecx, bl
mov ebx, dword [edx*4 + 0x1010d510]
xor ebx, dword [ecx*4 + 0x1010d110]
mov ecx, dword [esp + 0x10]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x1010d910]
mov ecx, esi
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x1010cd10]
mov ecx, dword [esp + 0x20]
xor ebx, dword [eax + 0x1c]
add eax, 0x20
sar ecx, 0x10
movzx edx, cl
mov ecx, dword [esp + 0x18]
sar ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x1010d510]
xor edx, dword [ecx*4 + 0x1010d110]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x1010d910]
mov ecx, dword [esp + 0x1c]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x1010cd10]
xor edx, dword [eax]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], edx
sar ecx, 8
movzx edx, cl
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x1010d110]
xor edx, dword [ecx*4 + 0x1010d510]
mov ecx, dword [esp + 0x1c]
mov esi, edx
shr ecx, 0x18
mov dword [esp + 0x40], edx
xor esi, dword [ecx*4 + 0x1010d910]
mov ecx, dword [esp + 0x18]
movzx ecx, cl
xor esi, dword [ecx*4 + 0x1010cd10]
mov ecx, esi
mov dword [esp + 0x40], esi
xor ecx, dword [eax + 4]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x1c]
sar ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x1010d510]
xor edx, dword [ecx*4 + 0x1010d110]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x18]
mov ecx, edx
mov edi, dword [esp + 0x10]
shr ecx, 0x18
sar edx, 0x10
movzx edx, dl
xor edi, dword [ecx*4 + 0x1010d910]
mov ecx, dword [esp + 0x20]
mov edx, dword [edx*4 + 0x1010d510]
movzx ecx, cl
xor edi, dword [ecx*4 + 0x1010cd10]
mov ecx, edi
mov dword [esp + 0x10], edi
xor ecx, dword [eax + 8]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x1c]
sar ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x1010d110]
mov ecx, dword [esp + 0x20]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x1010d910]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x1010cd10]
xor edx, dword [eax + 0xc]
mov dword [esp + 0x14], edx
sub ebp, 1
jne 0x100cc375
mov ecx, edx
mov ebx, dword [esp + 0x24]
shr ecx, 0x18
mov esi, dword [esp + 0x28]
movzx edx, byte [ecx + str.cw]
mov ecx, dword [esp + 0x10]
shr ecx, 0x10
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [esp + 0x40]
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 [esp + 0x14]
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 [esp + 0x10]
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [esp + 0x40]
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [esp + 0x40]
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 [esp + 0x14]
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [esp + 0x10]
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [esp + 0x10]
xor edx, dword [eax + 0x18]
shr ecx, 0x18
mov dword [esi + 8], edx
movzx edx, byte [ecx + str.cw]
mov ecx, dword [esp + 0x40]
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 [esp + 0x14]
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 ebp
pop ebx
add esp, 0x2c
ret 4