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

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov ebp, edx
mov dword [esp + 0x28], ebp
mov eax, dword [ecx]
mov ebx, dword [ecx + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
mov edx, dword [ecx + 0x10]
xor edx, dword [eax]
xor ebx, dword [eax + 4]
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 0x18]
xor edx, dword [eax + 8]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 0x1c]
xor edx, dword [eax + 0xc]
lea eax, [ecx + 0x20]
mov ecx, dword [esp + 0x14]
sar ecx, 0x10
mov dword [esp + 0x20], edx
movzx edx, cl
mov ecx, ebx
sar ecx, 8
mov esi, dword [esp + 0x20]
movzx ecx, cl
mov edx, dword [edx*4 + 0x10115838]
xor edx, dword [ecx*4 + 0x10115438]
mov ecx, esi
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10115c38]
mov ecx, dword [esp + 0x18]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10115038]
xor edx, dword [eax]
mov ecx, dword [esp + 0x14]
sar ecx, 8
mov dword [esp + 0x24], edx
movzx edx, cl
mov ecx, esi
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x10115438]
xor edx, dword [ecx*4 + 0x10115838]
mov ecx, dword [esp + 0x18]
mov edi, edx
shr ecx, 0x18
mov dword [esp + 0x30], edx
xor edi, dword [ecx*4 + 0x10115c38]
movzx ecx, bl
xor edi, dword [ecx*4 + 0x10115038]
mov ecx, edi
mov dword [esp + 0x30], edi
xor ecx, dword [eax + 4]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x18]
sar ecx, 0x10
movzx edx, cl
mov ecx, esi
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x10115838]
xor edx, dword [ecx*4 + 0x10115438]
mov ecx, ebx
shr ecx, 0x18
sar ebx, 0x10
xor edx, dword [ecx*4 + 0x10115c38]
mov ecx, dword [esp + 0x14]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10115038]
xor edx, dword [eax + 8]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], edx
sar ecx, 8
movzx edx, bl
movzx ecx, cl
mov edx, dword [edx*4 + 0x10115838]
xor edx, dword [ecx*4 + 0x10115438]
mov ecx, dword [esp + 0x14]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10115c38]
mov ecx, esi
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10115038]
xor edx, dword [eax + 0xc]
sub dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
je 0x100d3f89
mov ebp, dword [esp + 0x1c]
nop dword [eax + eax]
mov ecx, dword [esp + 0x10]
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [esp + 0x30]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x10115838]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
xor edx, dword [ecx*4 + 0x10115438]
mov ecx, edi
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10115c38]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x10115038]
mov ecx, edi
xor edx, dword [eax + 0x10]
shr ecx, 0x10
mov dword [esp + 0x18], edx
movzx edx, cl
mov ecx, dword [esp + 0x10]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x10115838]
xor edx, dword [ecx*4 + 0x10115438]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10115c38]
mov ecx, dword [esp + 0x30]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10115038]
mov ecx, edi
xor edx, dword [eax + 0x14]
shr ecx, 8
mov dword [esp + 0x1c], edx
movzx edx, cl
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
shr ebx, 8
mov edx, dword [edx*4 + 0x10115438]
xor edx, dword [ecx*4 + 0x10115838]
mov ecx, dword [esp + 0x30]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10115c38]
mov ecx, dword [esp + 0x10]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10115038]
xor edx, dword [eax + 0x18]
mov ecx, dword [esp + 0x30]
shr ecx, 0x10
mov dword [esp + 0x20], edx
movzx edx, cl
movzx ecx, bl
mov ebx, dword [edx*4 + 0x10115838]
xor ebx, dword [ecx*4 + 0x10115438]
mov ecx, dword [esp + 0x10]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x10115c38]
mov ecx, edi
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x10115038]
mov ecx, dword [esp + 0x1c]
xor ebx, dword [eax + 0x1c]
add eax, 0x20
shr ecx, 8
movzx edx, cl
mov ecx, dword [esp + 0x20]
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x10115438]
xor edx, dword [ecx*4 + 0x10115838]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10115c38]
mov ecx, dword [esp + 0x18]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10115038]
mov ecx, ebx
xor edx, dword [eax]
mov dword [esp + 0x24], edx
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [esp + 0x20]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x10115838]
xor edx, dword [ecx*4 + 0x10115438]
mov ecx, dword [esp + 0x18]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10115c38]
mov ecx, dword [esp + 0x1c]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10115038]
mov ecx, ebx
xor edx, dword [eax + 4]
shr ecx, 8
mov dword [esp + 0x30], edx
movzx edx, cl
mov ecx, dword [esp + 0x18]
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x10115438]
xor edx, dword [ecx*4 + 0x10115838]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x1c]
mov ecx, edx
mov esi, dword [esp + 0x10]
shr ecx, 0x18
sar edx, 0x10
movzx edx, dl
xor esi, dword [ecx*4 + 0x10115c38]
mov ecx, dword [esp + 0x20]
mov edx, dword [edx*4 + 0x10115838]
movzx ecx, cl
xor esi, dword [ecx*4 + 0x10115038]
mov ecx, esi
mov dword [esp + 0x10], esi
xor ecx, dword [eax + 8]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x18]
sar ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10115438]
mov ecx, dword [esp + 0x20]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10115c38]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x10115038]
xor edx, dword [eax + 0xc]
mov dword [esp + 0x14], edx
sub ebp, 1
jne 0x100d3d60
mov ebp, dword [esp + 0x28]
mov ecx, edx
mov ebx, dword [esp + 0x24]
shr ecx, 0x18
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 + 0x30]
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 [ebp], 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 + 0x30]
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [esp + 0x30]
xor edx, dword [eax + 0x14]
shr ecx, 0x18
mov dword [ebp + 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 [ebp + 8], edx
movzx edx, byte [ecx + str.cw]
mov ecx, dword [esp + 0x30]
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
shl edx, 8
mov ecx, dword [esp + 0x14]
movzx ecx, cl
pop edi
pop esi
movzx ecx, byte [ecx + str.cw]
or edx, ecx
xor edx, dword [eax + 0x1c]
mov dword [ebp + 0xc], edx
pop ebp
pop ebx
add esp, 0x1c
ret 4