Function at 0x48ede0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x14
mov esi, dword [esp + 0x28]
movzx ebx, byte [esi]
movzx eax, byte [esi + 1]
movzx ecx, byte [esi + 4]
movzx edx, byte [esi + 8]
shl ebx, 0x18
movzx edi, byte [esi + 0xd]
shl eax, 0x10
xor ebx, eax
movzx eax, byte [esi + 3]
shl ecx, 0x18
shl edx, 0x18
shl edi, 0x10
xor ebx, eax
movzx eax, byte [esi + 2]
shl eax, 8
xor ebx, eax
mov eax, dword [esp + 0x30]
xor ebx, dword [eax]
movzx eax, byte [esi + 5]
shl eax, 0x10
xor ecx, eax
movzx eax, byte [esi + 7]
xor ecx, eax
movzx eax, byte [esi + 6]
shl eax, 8
xor ecx, eax
mov eax, dword [esp + 0x30]
xor ecx, dword [eax + 4]
movzx eax, byte [esi + 9]
shl eax, 0x10
xor edx, eax
movzx eax, byte [esi + 0xb]
xor edx, eax
movzx eax, byte [esi + 0xa]
shl eax, 8
xor edx, eax
mov eax, dword [esp + 0x30]
xor edx, dword [eax + 8]
movzx eax, byte [esi + 0xc]
shl eax, 0x18
xor eax, edi
movzx edi, byte [esi + 0xf]
movzx esi, byte [esi + 0xe]
xor eax, edi
mov edi, dword [esp + 0x30]
shl esi, 8
xor eax, esi
mov esi, edx
mov edx, ecx
xor eax, dword [edi + 0xc]
mov edi, dword [edi + 0xf0]
mov dword [esp + 0x10], edi
shr dword [esp + 0x10], 1
mov edi, dword [esp + 0x10]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x30]
mov dword [esp + 8], ebx
mov dword [esp], edi
jmp 0x48efa4
mov ebp, dword [esp + 4]
mov esi, edi
shr esi, 0x18
mov ebx, dword [esp]
mov esi, dword [esi*4 + 0x542580]
mov edx, ebp
movzx edx, dl
mov edx, dword [edx*4 + 0x541980]
mov dword [esp + 8], esi
movzx esi, cl
xor dword [esp + 8], edx
mov edx, dword [ebx]
xor dword [esp + 8], edx
mov edx, eax
shr edx, 0x10
movzx edx, dl
mov edx, dword [edx*4 + 0x542180]
xor dword [esp + 8], edx
movzx edx, ch
mov edx, dword [edx*4 + 0x541d80]
xor dword [esp + 8], edx
mov edx, ebp
shr edx, 0x18
movzx ebp, al
mov edx, dword [edx*4 + 0x542580]
xor edx, dword [esi*4 + 0x541980]
mov esi, edi
shr esi, 0x10
xor edx, dword [ebx + 4]
mov ebx, esi
movzx esi, bl
mov ebx, dword [esp]
xor edx, dword [esi*4 + 0x542180]
movzx esi, ah
xor edx, dword [esi*4 + 0x541d80]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x542580]
shr eax, 0x18
xor esi, dword [ebp*4 + 0x541980]
mov ebp, dword [esp + 4]
shr ecx, 0x10
xor esi, dword [ebx + 8]
movzx ecx, cl
mov eax, dword [eax*4 + 0x542580]
shr ebp, 0x10
mov ebx, ebp
movzx ebp, bl
mov ebx, edi
xor esi, dword [ebp*4 + 0x542180]
movzx ebp, bh
mov ebx, edi
xor esi, dword [ebp*4 + 0x541d80]
movzx ebp, bl
mov ebx, dword [esp]
xor eax, dword [ebp*4 + 0x541980]
xor eax, dword [ebx + 0xc]
xor eax, dword [ecx*4 + 0x542180]
mov ecx, dword [esp + 4]
movzx ebx, ch
xor eax, dword [ebx*4 + 0x541d80]
mov ebp, dword [esp + 8]
movzx ecx, dl
mov ebx, ebp
shr ebx, 0x18
mov edi, dword [ebx*4 + 0x542580]
mov ebx, dword [esp]
xor edi, dword [ecx*4 + 0x541980]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
xor edi, dword [ebx + 0x10]
xor edi, dword [ecx*4 + 0x542180]
mov ecx, esi
movzx ecx, ch
xor edi, dword [ecx*4 + 0x541d80]
mov ecx, edx
shr ecx, 0x18
mov ebx, ecx
mov ecx, esi
mov ebx, dword [ebx*4 + 0x542580]
movzx ecx, cl
mov dword [esp + 4], ebx
mov ebx, dword [ecx*4 + 0x541980]
xor dword [esp + 4], ebx
mov ebx, dword [esp]
mov ecx, dword [ebx + 0x14]
xor dword [esp + 4], ecx
mov ecx, ebp
shr ecx, 0x10
movzx ebp, al
movzx ecx, cl
mov ecx, dword [ecx*4 + 0x542180]
xor dword [esp + 4], ecx
movzx ecx, ah
mov ecx, dword [ecx*4 + 0x541d80]
shr eax, 0x18
xor dword [esp + 4], ecx
mov ecx, esi
shr ecx, 0x18
mov eax, dword [eax*4 + 0x542580]
mov ecx, dword [ecx*4 + 0x542580]
shr esi, 0x10
xor ecx, dword [ebp*4 + 0x541980]
mov ebp, edx
shr ebp, 0x10
movzx edx, dh
xor ecx, dword [ebx + 0x18]
mov ebx, ebp
movzx ebp, bl
mov ebx, dword [esp + 8]
xor ecx, dword [ebp*4 + 0x542180]
movzx ebp, bh
xor ecx, dword [ebp*4 + 0x541d80]
movzx ebp, bl
xor eax, dword [ebp*4 + 0x541980]
mov ebx, esi
mov ebp, dword [esp]
movzx esi, bl
xor eax, dword [ebp + 0x1c]
xor eax, dword [esi*4 + 0x542180]
xor eax, dword [edx*4 + 0x541d80]
add dword [esp], 0x20
sub dword [esp + 0xc], 1
jne 0x48eeb0
mov ebp, edi
mov esi, ecx
mov edi, dword [esp + 4]
mov ecx, dword [esp + 0x10]
mov ebx, ebp
shr ebx, 0x18
movzx ebx, byte [ebx + 0x541880]
mov edx, edi
shl ecx, 5
movzx edx, dl
add ecx, dword [esp + 0x30]
movzx edx, byte [edx + 0x541880]
shl ebx, 0x18
mov dword [esp], eax
xor edx, dword [ecx]
xor edx, ebx
mov ebx, eax
mov eax, dword [esp + 0x2c]
shr ebx, 0x10
movzx ebx, bl
movzx ebx, byte [ebx + 0x541880]
shl ebx, 0x10
xor edx, ebx
mov ebx, esi
movzx ebx, bh
movzx ebx, byte [ebx + 0x541880]
shl ebx, 8
xor edx, ebx
mov ebx, edx
shr ebx, 0x18
mov byte [eax], bl
mov ebx, edx
shr ebx, 0x10
mov byte [eax + 1], bl
mov ebx, edx
shr ebx, 8
mov byte [eax + 2], bl
mov ebx, edi
mov byte [eax + 3], dl
shr ebx, 0x18
mov edx, esi
movzx ebx, byte [ebx + 0x541880]
movzx edx, dl
movzx edx, byte [edx + 0x541880]
xor edx, dword [ecx + 4]
mov eax, dword [esp]
shl ebx, 0x18
xor edx, ebx
mov ebx, ebp
shr ebx, 0x10
movzx ebx, bl
movzx ebx, byte [ebx + 0x541880]
shl ebx, 0x10
xor edx, ebx
movzx ebx, ah
mov eax, dword [esp + 0x2c]
movzx ebx, byte [ebx + 0x541880]
shl ebx, 8
xor edx, ebx
mov ebx, edx
shr ebx, 0x18
mov byte [eax + 4], bl
mov ebx, edx
shr ebx, 0x10
mov byte [eax + 5], bl
mov ebx, edx
mov byte [eax + 7], dl
shr ebx, 8
movzx edx, byte [esp]
mov byte [eax + 6], bl
mov ebx, esi
shr ebx, 0x18
movzx ebx, byte [ebx + 0x541880]
movzx edx, byte [edx + 0x541880]
xor edx, dword [ecx + 8]
shl ebx, 0x18
xor edx, ebx
mov ebx, edi
shr ebx, 0x10
movzx ebx, bl
movzx ebx, byte [ebx + 0x541880]
shl ebx, 0x10
xor edx, ebx
mov ebx, ebp
movzx ebx, bh
movzx ebx, byte [ebx + 0x541880]
shl ebx, 8
xor edx, ebx
mov ebx, edx
shr ebx, 0x18
mov byte [eax + 8], bl
mov ebx, edx
shr ebx, 0x10
mov byte [eax + 9], bl
mov ebx, edx
shr ebx, 8
mov byte [eax + 0xa], bl
mov byte [eax + 0xb], dl
mov eax, ebp
movzx ebp, al
mov eax, dword [esp]
movzx edx, byte [ebp + 0x541880]
xor edx, dword [ecx + 0xc]
shr eax, 0x18
movzx eax, byte [eax + 0x541880]
shl eax, 0x18
xor edx, eax
mov eax, esi
shr eax, 0x10
movzx esi, al
movzx eax, byte [esi + 0x541880]
shl eax, 0x10
xor edx, eax
mov eax, edi
mov edi, dword [esp + 0x2c]
movzx eax, ah
movzx eax, byte [eax + 0x541880]
shl eax, 8
xor edx, eax
mov eax, edx
shr eax, 0x18
mov byte [edi + 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 0xd], al
mov eax, edx
shr eax, 8
mov byte [edi + 0xe], al
mov byte [edi + 0xf], dl
add esp, 0x14
pop ebx
pop esi
pop edi
pop ebp
ret