Function at 0x49b810
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edx, eax
ror edx, 8
and edx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or edx, eax
xor edx, dword [ebx]
mov eax, dword [esi + 4]
push edi
mov edi, eax
ror edi, 8
and edi, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or edi, eax
xor edi, dword [ebx + 4]
mov eax, dword [esi + 8]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
xor ecx, dword [ebx + 8]
mov eax, dword [esi + 0xc]
mov esi, eax
ror esi, 8
and esi, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or esi, eax
xor esi, dword [ebx + 0xc]
mov eax, ecx
shr eax, 8
and eax, 0xff
mov eax, dword [eax*4 + 0x51f878]
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
xor eax, dword [ebx*4 + 0x51f478]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x51f078]
mov ebx, esi
and ebx, 0xff
xor eax, dword [ebx*4 + 0x51fc78]
mov ebx, dword [ebp + 0x10]
xor eax, dword [ebx + 0x10]
mov dword [ebp + 8], ecx
shr ecx, 0x10
mov ebx, esi
shr ebx, 8
and ebx, 0xff
and ecx, 0xff
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebx*4 + 0x51f878]
mov ebx, dword [ebp - 0xc]
xor ecx, dword [ebx*4 + 0x51f478]
mov ebx, edi
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x51f078]
mov ebx, edx
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x51fc78]
mov ebx, dword [ebp + 0x10]
xor ecx, dword [ebx + 0x14]
mov dword [ebp - 8], esi
mov ebx, edx
shr ebx, 8
shr esi, 0x10
and ebx, 0xff
and esi, 0xff
mov dword [ebp - 0xc], ebx
mov ebx, dword [esi*4 + 0x51f478]
mov esi, dword [ebp - 0xc]
xor ebx, dword [esi*4 + 0x51f878]
mov esi, dword [ebp + 8]
shr esi, 0x18
xor ebx, dword [esi*4 + 0x51f078]
mov esi, edi
shr edi, 8
shr edx, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x51f878]
and edx, 0xff
xor edi, dword [edx*4 + 0x51f478]
mov edx, dword [ebp - 8]
shr edx, 0x18
xor edi, dword [edx*4 + 0x51f078]
mov edx, dword [ebp + 8]
and esi, 0xff
xor ebx, dword [esi*4 + 0x51fc78]
mov esi, dword [ebp + 0x10]
xor ebx, dword [esi + 0x18]
and edx, 0xff
xor edi, dword [edx*4 + 0x51fc78]
lea edx, [esi + 0x20]
xor edi, dword [esi + 0x1c]
mov esi, dword [esi + 0xf0]
sar esi, 1
sub esi, 1
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
mov dword [ebp + 0x10], edx
mov dword [ebp - 0xc], esi
je 0x49bc03
mov edx, ebx
mov esi, ecx
shr esi, 0x10
and esi, 0xff
shr edx, 8
and edx, 0xff
mov edx, dword [edx*4 + 0x51f878]
xor edx, dword [esi*4 + 0x51f478]
mov esi, eax
shr esi, 0x18
xor edx, dword [esi*4 + 0x51f078]
mov esi, edi
and esi, 0xff
xor edx, dword [esi*4 + 0x51fc78]
mov esi, dword [ebp + 0x10]
xor edx, dword [esi]
mov esi, edi
shr ebx, 0x10
and ebx, 0xff
shr esi, 8
and esi, 0xff
mov esi, dword [esi*4 + 0x51f878]
xor esi, dword [ebx*4 + 0x51f478]
mov ebx, ecx
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x51f078]
mov ebx, eax
and ebx, 0xff
xor esi, dword [ebx*4 + 0x51fc78]
mov ebx, dword [ebp + 0x10]
xor esi, dword [ebx + 4]
mov ebx, eax
shr edi, 0x10
and edi, 0xff
shr ebx, 8
and ebx, 0xff
mov dword [ebp + 8], ebx
mov ebx, dword [edi*4 + 0x51f478]
mov edi, dword [ebp + 8]
xor ebx, dword [edi*4 + 0x51f878]
mov edi, dword [ebp - 4]
shr edi, 0x18
xor ebx, dword [edi*4 + 0x51f078]
mov edi, ecx
shr eax, 0x10
shr ecx, 8
and edi, 0xff
xor ebx, dword [edi*4 + 0x51fc78]
mov edi, dword [ebp + 0x10]
xor ebx, dword [edi + 8]
and eax, 0xff
and ecx, 0xff
mov edi, dword [ecx*4 + 0x51f878]
xor edi, dword [eax*4 + 0x51f478]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
shr eax, 0x18
xor edi, dword [eax*4 + 0x51f078]
mov eax, dword [ebp + 0x10]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x51fc78]
mov ecx, ebx
xor edi, dword [eax + 0xc]
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x51f878]
mov eax, esi
shr eax, 0x10
and eax, 0xff
xor ecx, dword [eax*4 + 0x51f478]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x51f078]
mov eax, edi
and eax, 0xff
xor ecx, dword [eax*4 + 0x51fc78]
mov eax, dword [ebp + 0x10]
xor ecx, dword [eax + 0x10]
mov dword [ebp + 8], ebx
mov dword [ebp - 8], edi
mov eax, ecx
shr ebx, 0x10
and ebx, 0xff
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x51f878]
xor ecx, dword [ebx*4 + 0x51f478]
mov ebx, esi
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x51f078]
mov ebx, edx
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x51fc78]
mov ebx, dword [ebp + 0x10]
xor ecx, dword [ebx + 0x14]
shr edi, 0x10
mov ebx, edx
shr ebx, 8
and edi, 0xff
mov edi, dword [edi*4 + 0x51f478]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x51f878]
mov ebx, dword [ebp + 8]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x51f078]
mov ebx, esi
shr esi, 8
and esi, 0xff
mov esi, dword [esi*4 + 0x51f878]
shr edx, 0x10
and edx, 0xff
xor esi, dword [edx*4 + 0x51f478]
mov edx, dword [ebp - 8]
shr edx, 0x18
xor esi, dword [edx*4 + 0x51f078]
mov edx, dword [ebp + 8]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x51fc78]
and edx, 0xff
xor esi, dword [edx*4 + 0x51fc78]
mov ebx, edi
mov edi, dword [ebp + 0x10]
xor esi, dword [edi + 0x1c]
xor ebx, dword [edi + 0x18]
add dword [ebp + 0x10], 0x20
sub dword [ebp - 0xc], 1
mov edi, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
jne 0x49b9c6
mov edx, ecx
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x51fc78]
and edx, 0xff0000
mov esi, ebx
shr esi, 8
and esi, 0xff
mov esi, dword [esi*4 + 0x51f078]
and esi, 0xff00
xor edx, esi
mov esi, eax
shr esi, 0x18
mov esi, dword [esi*4 + 0x51f878]
and esi, 0xff000000
xor edx, esi
mov esi, edi
and esi, 0xff
movzx esi, byte [esi*4 + 0x51f478]
xor edx, esi
mov esi, dword [ebp + 0x10]
xor edx, dword [esi]
mov esi, edx
ror esi, 8
and esi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or esi, edx
mov edx, dword [ebp + 0xc]
mov dword [edx], esi
mov edx, ebx
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x51fc78]
and edx, 0xff0000
mov esi, edi
shr esi, 8
and esi, 0xff
mov esi, dword [esi*4 + 0x51f078]
and esi, 0xff00
xor edx, esi
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x51f878]
and esi, 0xff000000
xor edx, esi
mov esi, eax
and esi, 0xff
movzx esi, byte [esi*4 + 0x51f478]
xor edx, esi
mov esi, dword [ebp + 0x10]
xor edx, dword [esi + 4]
mov esi, edx
ror esi, 8
and esi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or esi, edx
mov edx, dword [ebp + 0xc]
mov dword [edx + 4], esi
mov edx, edi
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x51fc78]
mov esi, eax
shr esi, 8
and esi, 0xff
mov esi, dword [esi*4 + 0x51f078]
and esi, 0xff00
and edx, 0xff0000
xor edx, esi
mov esi, ebx
shr esi, 0x18
mov esi, dword [esi*4 + 0x51f878]
and esi, 0xff000000
xor edx, esi
mov esi, ecx
and esi, 0xff
movzx esi, byte [esi*4 + 0x51f478]
xor edx, esi
mov esi, dword [ebp + 0x10]
xor edx, dword [esi + 8]
shr ecx, 8
mov esi, edx
ror esi, 8
and esi, 0xff00ff00
shr eax, 0x10
rol edx, 8
and ecx, 0xff
and eax, 0xff
and edx, 0xff00ff
or esi, edx
mov edx, dword [ebp + 0xc]
mov dword [edx + 8], esi
mov ecx, dword [ecx*4 + 0x51f078]
mov eax, dword [eax*4 + 0x51fc78]
and ecx, 0xff00
and eax, 0xff0000
xor eax, ecx
shr edi, 0x18
mov ecx, dword [edi*4 + 0x51f878]
and ecx, 0xff000000
xor eax, ecx
and ebx, 0xff
movzx ecx, byte [ebx*4 + 0x51f478]
xor eax, ecx
mov ecx, dword [ebp + 0x10]
xor eax, dword [ecx + 0xc]
pop edi
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
pop esi
mov dword [edx + 0xc], ecx
pop ebx
mov esp, ebp
pop ebp
ret