Function at 0x410bbb
Capabilities:
Encode data using add xor sub operations
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]
add eax, 0x10
push edi
mov edi, dword [eax]
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 + 0x4ebfb0]
xor esi, dword [ebp*4 + 0x4ec3b0]
mov ebp, edx
shr ebp, 0x18
xor esi, dword [ebp*4 + 0x4ec7b0]
mov ebp, ecx
and ebp, 0xff
xor esi, dword [ebp*4 + 0x4ebbb0]
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 + 0x4ec3b0]
mov ebp, dword [esp + 0x14]
xor edx, dword [ebp*4 + 0x4ebfb0]
mov ebp, ebx
shr ebp, 0x18
xor edx, dword [ebp*4 + 0x4ec7b0]
mov ebp, edi
and ebp, 0xff
xor edx, dword [ebp*4 + 0x4ebbb0]
mov ebp, dword [esp + 0x2c]
shr ebp, 0x10
mov dword [esp + 0x28], edi
and ebp, 0xff
mov ebp, dword [ebp*4 + 0x4ec3b0]
shr edi, 8
xor esi, dword [eax + 0x18]
xor edx, dword [eax + 0x10]
and edi, 0xff
xor ebp, dword [edi*4 + 0x4ebfb0]
mov edi, ecx
shr edi, 0x18
xor ebp, dword [edi*4 + 0x4ec7b0]
mov edi, ebx
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x4ec3b0]
shr ecx, 8
and ecx, 0xff
xor ebx, dword [ecx*4 + 0x4ebfb0]
mov ecx, dword [esp + 0x28]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x4ec7b0]
mov ecx, dword [esp + 0x2c]
add eax, 0x10
and edi, 0xff
xor ebp, dword [edi*4 + 0x4ebbb0]
and ecx, 0xff
xor ebx, dword [ecx*4 + 0x4ebbb0]
xor ebp, dword [eax + 0xc]
xor ebx, dword [eax + 4]
sub dword [esp + 0x10], 1
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], edx
je 0x410f41
mov ecx, ebp
mov edi, edx
shr edi, 0x10
and edi, 0xff
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4ebfb0]
xor ecx, dword [edi*4 + 0x4ec3b0]
mov edi, ebx
shr edi, 0x18
xor ecx, dword [edi*4 + 0x4ec7b0]
mov edi, esi
and edi, 0xff
xor ecx, dword [edi*4 + 0x4ebbb0]
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 + 0x4ebfb0]
mov edi, dword [esp + 0x14]
xor esi, dword [edi*4 + 0x4ec3b0]
mov edi, ebp
shr edi, 0x18
xor esi, dword [edi*4 + 0x4ec7b0]
mov edi, edx
and edi, 0xff
xor esi, dword [edi*4 + 0x4ebbb0]
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 + 0x4ec3b0]
mov edi, dword [esp + 0x14]
xor edx, dword [edi*4 + 0x4ebfb0]
mov edi, dword [esp + 0x20]
shr edi, 0x18
xor edx, dword [edi*4 + 0x4ec7b0]
mov edi, ebp
xor esi, dword [eax + 0x10]
and edi, 0xff
xor edx, dword [edi*4 + 0x4ebbb0]
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 + 0x4ec3b0]
mov ebp, dword [esp + 0x14]
xor edi, dword [ebp*4 + 0x4ebfb0]
mov ebp, dword [esp + 0x18]
shr ebp, 0x18
xor edi, dword [ebp*4 + 0x4ec7b0]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x4ebbb0]
mov ebx, edx
xor edi, dword [eax + 0x14]
shr ebx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x4ebfb0]
mov ebp, esi
shr ebp, 0x10
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x4ec3b0]
mov ebp, edi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x4ec7b0]
mov ebp, ecx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x4ebbb0]
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 + 0x4ec3b0]
mov ebp, edi
shr ebp, 8
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x4ebfb0]
mov ebp, edx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x4ec7b0]
mov ebp, esi
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x4ebbb0]
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 + 0x4ec3b0]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x4ebfb0]
mov ebp, ecx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x4ec7b0]
mov ebp, edx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x4ebbb0]
shr edx, 0x10
xor ebx, dword [eax + 0xc]
and edx, 0xff
mov ebp, ebx
mov ebx, dword [edx*4 + 0x4ec3b0]
mov edx, dword [esp + 0x18]
shr ecx, 8
and ecx, 0xff
xor ebx, dword [ecx*4 + 0x4ebfb0]
shr esi, 0x18
xor ebx, dword [esi*4 + 0x4ec7b0]
mov esi, dword [esp + 0x20]
and edi, 0xff
xor ebx, dword [edi*4 + 0x4ebbb0]
xor ebx, dword [eax + 4]
sub dword [esp + 0x10], 1
jne 0x410d04
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
add eax, 0x10
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 + 4]
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 + 8]
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]
shl esi, 8
or edi, esi
shr edx, 8
shl edi, 8
and edx, 0xff
movzx edx, byte [edx + str.cw]
or edi, edx
and ebp, 0xff
movzx edx, byte [ebp + str.cw]
shl edi, 8
or edi, edx
xor edi, dword [eax + 0xc]
mov dword [ecx + 0xc], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret