Function at 0x48bb30
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x28
mov edx, dword [eax + 0x10]
push ebx
push ebp
mov ebx, dword [eax + 0x1c]
push esi
mov esi, dword [eax + 0x14]
push edi
mov edi, ecx
xor esi, dword [edi + 4]
xor ebx, dword [edi + 0xc]
xor edx, dword [edi]
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x18]
xor ecx, dword [edi + 8]
mov ebp, esi
shr ebp, 8
and ebp, 0xff
mov edi, ecx
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x4ab968]
xor edi, dword [ebp*4 + 0x4ab568]
mov ebp, ebx
shr ebp, 0x18
xor edi, dword [ebp*4 + 0x4abd68]
mov ebp, edx
and ebp, 0xff
xor edi, dword [ebp*4 + 0x4ab168]
mov dword [esp + 0x30], ecx
mov ebp, ebx
shr ebp, 0x10
and ebp, 0xff
shr ecx, 8
and ecx, 0xff
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp*4 + 0x4ab968]
mov ebp, dword [esp + 0x14]
xor ecx, dword [ebp*4 + 0x4ab568]
mov ebp, edx
shr ebp, 0x18
xor ecx, dword [ebp*4 + 0x4abd68]
mov ebp, esi
and ebp, 0xff
xor ecx, dword [ebp*4 + 0x4ab168]
mov dword [esp + 0x34], ebx
xor ecx, dword [eax + 0x24]
shr ebx, 8
mov ebp, edx
xor edi, dword [eax + 0x20]
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x4ab568]
shr ebp, 0x10
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x4ab968]
mov ebp, esi
shr esi, 0x10
and esi, 0xff
mov esi, dword [esi*4 + 0x4ab968]
shr edx, 8
and edx, 0xff
xor esi, dword [edx*4 + 0x4ab568]
mov edx, dword [esp + 0x30]
shr edx, 0x18
xor esi, dword [edx*4 + 0x4abd68]
mov edx, dword [esp + 0x34]
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x4abd68]
mov ebp, dword [esp + 0x30]
add eax, 0x20
and edx, 0xff
xor esi, dword [edx*4 + 0x4ab168]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x4ab168]
xor esi, dword [eax + 0xc]
xor ebx, dword [eax + 8]
dec dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], esi
je 0x48beb5
mov edx, ebx
shr edx, 0x10
and edx, 0xff
mov ebp, ecx
mov ecx, dword [edx*4 + 0x4ab968]
shr ebp, 8
and ebp, 0xff
xor ecx, dword [ebp*4 + 0x4ab568]
mov edx, esi
shr edx, 0x18
xor ecx, dword [edx*4 + 0x4abd68]
mov edx, edi
and edx, 0xff
xor ecx, dword [edx*4 + 0x4ab168]
mov ebp, ebx
shr ebp, 8
and ebp, 0xff
mov edx, esi
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x4ab968]
xor edx, dword [ebp*4 + 0x4ab568]
mov ebp, edi
shr ebp, 0x18
xor edx, dword [ebp*4 + 0x4abd68]
mov ebp, dword [esp + 0x1c]
and ebp, 0xff
xor edx, dword [ebp*4 + 0x4ab168]
mov ebp, edi
shr ebp, 0x10
and ebp, 0xff
shr esi, 8
and esi, 0xff
mov esi, dword [esi*4 + 0x4ab568]
xor esi, dword [ebp*4 + 0x4ab968]
mov ebp, dword [esp + 0x1c]
shr ebp, 0x18
xor esi, dword [ebp*4 + 0x4abd68]
mov ebp, ebx
xor edx, dword [eax + 0x14]
and ebp, 0xff
xor esi, dword [ebp*4 + 0x4ab168]
mov ebp, dword [esp + 0x1c]
xor esi, dword [eax + 0x18]
shr ebp, 0x10
and ebp, 0xff
xor ecx, dword [eax + 0x10]
shr edi, 8
shr ebx, 0x18
and edi, 0xff
mov dword [esp + 0x14], edi
mov edi, dword [ebp*4 + 0x4ab968]
mov ebp, dword [esp + 0x14]
xor edi, dword [ebp*4 + 0x4ab568]
mov ebp, edx
xor edi, dword [ebx*4 + 0x4abd68]
mov ebx, dword [esp + 0x24]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x4ab168]
shr ebp, 8
xor edi, dword [eax + 0x1c]
mov ebx, esi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x4ab968]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x4ab568]
mov ebp, edi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x4abd68]
mov ebp, ecx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x4ab168]
add eax, 0x20
xor ebx, dword [eax]
mov ebp, esi
mov dword [esp + 0x18], ebx
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
shr ebp, 8
mov ebx, dword [ebx*4 + 0x4ab968]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x4ab568]
mov ebp, ecx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x4abd68]
mov ebp, edx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x4ab168]
mov ebp, ecx
xor ebx, dword [eax + 4]
shr ebp, 0x10
mov dword [esp + 0x1c], ebx
mov ebx, edi
shr ebx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x4ab568]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x4ab968]
mov ebp, edx
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x4ab968]
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x4abd68]
shr ecx, 8
and ecx, 0xff
xor edx, dword [ecx*4 + 0x4ab568]
mov ecx, dword [esp + 0x1c]
mov ebp, esi
shr esi, 0x18
xor edx, dword [esi*4 + 0x4abd68]
and edi, 0xff
xor edx, dword [edi*4 + 0x4ab168]
mov edi, dword [esp + 0x18]
xor edx, dword [eax + 0xc]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x4ab168]
mov esi, edx
xor ebx, dword [eax + 8]
dec dword [esp + 0x10]
mov dword [esp + 0x24], esi
jne 0x48bc81
mov edx, ebx
shr edx, 0x10
and edx, 0xff
movzx edx, byte [edx + str.cw]
mov ebp, esi
shr ebp, 0x18
movzx ebp, byte [ebp + str.cw]
shl ebp, 8
or edx, ebp
shl edx, 8
mov ebp, ecx
shr ebp, 8
and ebp, 0xff
movzx ebp, byte [ebp + str.cw]
or edx, ebp
shl edx, 8
mov ebp, edi
and ebp, 0xff
movzx ebp, byte [ebp + str.cw]
or edx, ebp
xor edx, dword [eax + 0x10]
mov ebp, dword [esp + 0x3c]
mov dword [ebp], edx
mov ebp, edi
shr ebp, 0x18
movzx ebp, byte [ebp + str.cw]
shl ebp, 8
mov edx, esi
shr edx, 0x10
and edx, 0xff
movzx edx, byte [edx + str.cw]
or edx, ebp
shl edx, 8
mov ebp, ebx
shr ebp, 8
and ebp, 0xff
movzx ebp, byte [ebp + str.cw]
or edx, ebp
shl edx, 8
mov ebp, ecx
and ebp, 0xff
movzx ebp, byte [ebp + str.cw]
or edx, ebp
xor edx, dword [eax + 0x14]
mov ebp, dword [esp + 0x3c]
mov dword [ebp + 4], edx
mov edx, edi
shr edx, 0x10
and edx, 0xff
movzx ebp, byte [edx + str.cw]
mov edx, ecx
shr edx, 0x18
movzx edx, byte [edx + str.cw]
shl edx, 8
or ebp, edx
mov edx, esi
shr edx, 8
and edx, 0xff
movzx edx, byte [edx + str.cw]
shl ebp, 8
or ebp, edx
mov edx, ebx
and edx, 0xff
movzx edx, byte [edx + str.cw]
shl ebp, 8
or ebp, edx
xor ebp, dword [eax + 0x18]
mov edx, dword [esp + 0x3c]
shr ecx, 0x10
shr ebx, 0x18
mov dword [edx + 8], ebp
movzx ebx, byte [ebx + str.cw]
and ecx, 0xff
movzx ecx, byte [ecx + str.cw]
shr edi, 8
shl ebx, 8
and edi, 0xff
movzx edi, byte [edi + str.cw]
or ecx, ebx
shl ecx, 8
or ecx, edi
and esi, 0xff
movzx esi, byte [esi + str.cw]
shl ecx, 8
pop edi
or ecx, esi
xor ecx, dword [eax + 0x1c]
pop esi
pop ebp
mov dword [edx + 0xc], ecx
pop ebx
add esp, 0x28
ret 4