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

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [edx]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
xor ecx, dword [edi]
mov eax, dword [edx + 4]
mov esi, eax
ror esi, 8
and esi, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or esi, eax
mov eax, dword [edx + 8]
xor esi, dword [edi + 4]
mov edx, dword [edx + 0xc]
mov ebx, eax
ror ebx, 8
and ebx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ebx, eax
xor ebx, dword [edi + 8]
mov eax, edx
ror eax, 8
and eax, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or eax, edx
xor eax, dword [edi + 0xc]
mov dword [esp + 0x14], ecx
shr ecx, 0x18
mov edx, eax
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x560220]
movzx ebp, bh
xor edx, dword [ebp*4 + 0x560620]
mov ebp, dword [esp + 0x14]
xor edx, dword [ecx*4 + 0x55fe20]
mov ecx, esi
and ecx, 0xff
xor edx, dword [ecx*4 + 0x560a20]
shr ebp, 0x10
movzx ecx, ah
mov ecx, dword [ecx*4 + 0x560620]
and ebp, 0xff
xor ecx, dword [ebp*4 + 0x560220]
xor edx, dword [edi + 0x10]
mov ebp, esi
shr ebp, 0x18
xor ecx, dword [ebp*4 + 0x55fe20]
mov ebp, ebx
and ebp, 0xff
xor ecx, dword [ebp*4 + 0x560a20]
movzx ebp, byte [esp + 0x15]
xor ecx, dword [edi + 0x14]
mov dword [esp + 0x18], esi
shr esi, 0x10
mov dword [esp + 0x10], ecx
and esi, 0xff
mov ecx, dword [esi*4 + 0x560220]
xor ecx, dword [ebp*4 + 0x560620]
mov esi, ebx
shr esi, 0x18
xor ecx, dword [esi*4 + 0x55fe20]
mov dword [esp + 0x1c], eax
and eax, 0xff
xor ecx, dword [eax*4 + 0x560a20]
movzx eax, byte [esp + 0x19]
xor ecx, dword [edi + 0x18]
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x560220]
xor ebx, dword [eax*4 + 0x560620]
mov eax, dword [esp + 0x1c]
shr eax, 0x18
xor ebx, dword [eax*4 + 0x55fe20]
mov eax, dword [esp + 0x14]
and eax, 0xff
xor ebx, dword [eax*4 + 0x560a20]
lea esi, [edi + 0x20]
xor ebx, dword [edi + 0x1c]
mov edi, dword [edi + 0xf0]
sar edi, 1
sub edi, 1
mov dword [esp + 0x1c], ebx
je 0x47bb72
mov eax, ebx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x560220]
movzx ebp, ch
xor eax, dword [ebp*4 + 0x560620]
mov ebp, edx
shr ebp, 0x18
xor eax, dword [ebp*4 + 0x55fe20]
mov ebp, dword [esp + 0x10]
and ebp, 0xff
xor eax, dword [ebp*4 + 0x560a20]
mov ebp, edx
xor eax, dword [esi]
shr ebp, 0x10
mov dword [esp + 0x14], eax
movzx eax, bh
mov eax, dword [eax*4 + 0x560620]
and ebp, 0xff
xor eax, dword [ebp*4 + 0x560220]
mov ebp, dword [esp + 0x10]
shr ebp, 0x18
xor eax, dword [ebp*4 + 0x55fe20]
mov ebp, ecx
and ebp, 0xff
xor eax, dword [ebp*4 + 0x560a20]
movzx ebp, dh
xor eax, dword [esi + 4]
and ebx, 0xff
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x560220]
xor eax, dword [ebp*4 + 0x560620]
mov ebp, ecx
shr ebp, 0x18
xor eax, dword [ebp*4 + 0x55fe20]
shr ecx, 0x10
xor eax, dword [ebx*4 + 0x560a20]
movzx ebx, byte [esp + 0x11]
xor eax, dword [esi + 8]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x560220]
xor ecx, dword [ebx*4 + 0x560620]
mov ebx, dword [esp + 0x1c]
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x55fe20]
and edx, 0xff
xor ecx, dword [edx*4 + 0x560a20]
movzx ebx, ah
xor ecx, dword [esi + 0xc]
mov edx, ecx
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x560220]
xor edx, dword [ebx*4 + 0x560620]
mov ebx, dword [esp + 0x14]
mov ebp, ebx
shr ebp, 0x18
xor edx, dword [ebp*4 + 0x55fe20]
mov ebp, dword [esp + 0x18]
and ebp, 0xff
xor edx, dword [ebp*4 + 0x560a20]
shr ebx, 0x10
xor edx, dword [esi + 0x10]
and ebx, 0xff
movzx ebp, ch
mov ebp, dword [ebp*4 + 0x560620]
xor ebp, dword [ebx*4 + 0x560220]
mov ebx, dword [esp + 0x18]
shr ebx, 0x18
xor ebp, dword [ebx*4 + 0x55fe20]
mov ebx, eax
and ebx, 0xff
xor ebp, dword [ebx*4 + 0x560a20]
mov ebx, dword [esp + 0x18]
xor ebp, dword [esi + 0x14]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], ebp
shr ebx, 0x10
movzx ebp, byte [esp + 0x15]
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x560220]
xor ebx, dword [ebp*4 + 0x560620]
mov ebp, eax
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x55fe20]
and ecx, 0xff
xor ebx, dword [ecx*4 + 0x560a20]
shr eax, 0x10
xor ebx, dword [esi + 0x18]
and eax, 0xff
mov ebp, dword [eax*4 + 0x560220]
mov eax, dword [esp + 0x1c]
mov ecx, ebx
movzx ebx, byte [esp + 0x19]
xor ebp, dword [ebx*4 + 0x560620]
shr eax, 0x18
xor ebp, dword [eax*4 + 0x55fe20]
mov eax, dword [esp + 0x14]
and eax, 0xff
xor ebp, dword [eax*4 + 0x560a20]
add esi, 0x20
xor ebp, dword [esi - 4]
sub edi, 1
mov ebx, ebp
mov dword [esp + 0x1c], ebx
jne 0x47b973
mov eax, ebx
shr eax, 0x10
and eax, 0xff
movzx edi, byte [eax + 0x560e20]
mov dword [esp + 0x1c], ebx
xor ebx, ebx
mov eax, edx
shr eax, 0x18
mov bh, byte [eax + 0x560e20]
movzx eax, ch
movzx eax, byte [eax + 0x560e20]
xor edi, ebx
shl edi, 8
xor edi, eax
mov eax, dword [esp + 0x10]
and eax, 0xff
movzx eax, byte [eax + 0x560e20]
shl edi, 8
xor edi, eax
xor edi, dword [esi]
xor ebx, ebx
mov eax, edi
ror eax, 8
and eax, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
or eax, edi
mov edi, dword [esp + 0x24]
mov dword [edi], eax
mov eax, edx
shr eax, 0x10
and eax, 0xff
movzx edi, byte [eax + 0x560e20]
mov eax, dword [esp + 0x10]
shr eax, 0x18
mov bh, byte [eax + 0x560e20]
xor edi, ebx
mov ebx, dword [esp + 0x1c]
shl edi, 8
movzx eax, bh
movzx eax, byte [eax + 0x560e20]
xor edi, eax
shl edi, 8
mov eax, ecx
and eax, 0xff
movzx eax, byte [eax + 0x560e20]
xor edi, eax
xor edi, dword [esi + 4]
mov dword [esp + 0x1c], ecx
mov eax, edi
ror eax, 8
and eax, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
or eax, edi
mov edi, dword [esp + 0x24]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x10]
shr eax, 0x10
and eax, 0xff
movzx edi, byte [eax + 0x560e20]
mov eax, ecx
shr eax, 0x18
xor ecx, ecx
mov ch, byte [eax + 0x560e20]
movzx eax, dh
movzx eax, byte [eax + 0x560e20]
xor edi, ecx
shl edi, 8
xor edi, eax
mov eax, ebx
and eax, 0xff
movzx eax, byte [eax + 0x560e20]
shl edi, 8
xor edi, eax
xor edi, dword [esi + 8]
mov eax, edi
ror eax, 8
and eax, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
or eax, edi
mov dword [ebp + 8], eax
movzx eax, byte [esp + 0x11]
shr ecx, 0x10
and ecx, 0xff
movzx edi, byte [ecx + 0x560e20]
xor ecx, ecx
shr ebx, 0x18
mov ch, byte [ebx + 0x560e20]
and edx, 0xff
movzx edx, byte [edx + 0x560e20]
xor edi, ecx
movzx ecx, byte [eax + 0x560e20]
shl edi, 8
xor edi, ecx
shl edi, 8
xor edi, edx
xor edi, dword [esi + 0xc]
mov eax, edi
ror eax, 8
and eax, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
or eax, edi
pop edi
pop esi
mov dword [ebp + 0xc], eax
pop ebp
pop ebx
add esp, 0x10
ret