Function at 0x4965f0
Capabilities:
Encrypt data using aes

Disassembly:
push ebp
xor ecx, ecx
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
xor eax, eax
mov cl, byte [edx]
mov ebx, dword [ebp + 0x10]
shl ecx, 0x18
mov dword [ebp - 0x24], ecx
mov al, byte [edx + 3]
xor ecx, eax
xor eax, eax
mov dword [ebp - 0x24], ecx
mov ebx, dword [ebx]
xor ecx, ebx
xor ebx, ebx
mov dword [ebp - 0x24], ecx
mov al, byte [edx + 1]
shl eax, 0x10
xor ecx, eax
xor eax, eax
mov dword [ebp - 0x24], ecx
mov al, byte [edx + 2]
shl eax, 8
xor ecx, eax
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0x10]
mov al, byte [edx + 7]
mov bl, byte [edx + 0xb]
and eax, 0xff
mov edi, eax
mov eax, dword [ecx + 4]
xor edi, eax
xor eax, eax
mov al, byte [edx + 4]
shl eax, 0x18
xor edi, eax
xor eax, eax
mov al, byte [edx + 5]
shl eax, 0x10
xor edi, eax
xor eax, eax
mov al, byte [edx + 6]
shl eax, 8
xor edi, eax
mov eax, dword [ecx + 8]
xor ebx, eax
xor eax, eax
mov al, byte [edx + 8]
shl eax, 0x18
xor ebx, eax
xor eax, eax
mov al, byte [edx + 9]
shl eax, 0x10
xor ebx, eax
xor eax, eax
mov al, byte [edx + 0xa]
shl eax, 8
xor ebx, eax
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov esi, dword [eax + 0xc]
xor eax, eax
mov cl, byte [edx + 0xf]
mov al, byte [edx + 0xc]
shl eax, 0x18
xor ecx, esi
xor ecx, eax
xor eax, eax
mov al, byte [edx + 0xd]
shl eax, 0x10
xor ecx, eax
xor eax, eax
mov al, byte [edx + 0xe]
mov edx, dword [ebp + 0x10]
shl eax, 8
mov edx, dword [edx + 0xf0]
xor ecx, eax
sar edx, 1
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
jmp 0x4967ef
mov eax, esi
mov edx, dword [ebp - 0x20]
shr edx, 0x18
and eax, 0xff
mov ebx, dword [ebp - 0x28]
mov ecx, dword [edx*4 + 0x4d4540]
mov eax, dword [eax*4 + 0x4d5140]
xor eax, ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebx]
xor eax, ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
shr eax, 0x10
and eax, 0xff
mov edx, dword [eax*4 + 0x4d4940]
mov eax, dword [ebp - 0x24]
xor eax, edx
mov edx, dword [ebp - 0x1c]
shr edx, 0x18
mov dword [ebp - 0x24], eax
movzx eax, ch
mov edi, dword [ebp - 0x24]
mov ebx, dword [eax*4 + 0x4d4d40]
movzx eax, byte [ebp - 0x20]
xor edi, ebx
mov ebx, dword [edx*4 + 0x4d4540]
mov dword [ebp - 0x24], edi
mov edi, dword [eax*4 + 0x4d5140]
mov eax, dword [ebp - 0x28]
xor edi, ebx
mov edx, dword [eax + 4]
mov eax, ecx
shr eax, 0x10
xor edi, edx
and eax, 0xff
mov edx, esi
shr esi, 0x10
mov ebx, dword [eax*4 + 0x4d4940]
movzx eax, dh
xor edi, ebx
mov edx, dword [eax*4 + 0x4d4d40]
xor edi, edx
mov edx, ecx
movzx eax, byte [ebp - 0x1c]
shr edx, 0x18
mov ecx, dword [ebp - 0x28]
mov ebx, dword [eax*4 + 0x4d5140]
mov eax, dword [edx*4 + 0x4d4540]
xor ebx, eax
mov eax, dword [ecx + 8]
xor ebx, eax
mov eax, esi
shr esi, 8
and eax, 0xff
mov edx, dword [eax*4 + 0x4d4940]
xor ebx, edx
mov edx, dword [ebp - 0x20]
movzx eax, dh
shr edx, 0x10
mov ecx, dword [eax*4 + 0x4d4d40]
movzx eax, byte [ebp - 0x18]
xor ebx, ecx
mov ecx, dword [eax*4 + 0x4d5140]
mov eax, dword [esi*4 + 0x4d4540]
xor ecx, eax
mov eax, dword [ebp - 0x28]
mov esi, dword [eax + 0xc]
movzx eax, dl
mov edx, dword [ebp - 0x1c]
xor ecx, esi
mov esi, dword [eax*4 + 0x4d4940]
movzx eax, dh
xor ecx, esi
mov edx, dword [eax*4 + 0x4d4d40]
xor ecx, edx
movzx eax, cl
mov edx, dword [ebp - 0x24]
shr edx, 0x18
mov eax, dword [eax*4 + 0x4d5140]
mov dword [ebp - 0x20], eax
mov eax, dword [edx*4 + 0x4d4540]
mov edx, dword [ebp - 0x20]
xor edx, eax
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
mov edx, dword [edx + 0x10]
xor eax, edx
mov dword [ebp - 0x20], eax
mov eax, edi
shr eax, 0x10
and eax, 0xff
mov edx, dword [eax*4 + 0x4d4940]
mov eax, dword [ebp - 0x20]
xor eax, edx
mov dword [ebp - 0x20], eax
movzx eax, bh
mov esi, dword [ebp - 0x20]
mov edx, dword [eax*4 + 0x4d4d40]
movzx eax, byte [ebp - 0x24]
xor esi, edx
mov edx, edi
shr edx, 0x18
mov eax, dword [eax*4 + 0x4d5140]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esi
mov eax, dword [edx*4 + 0x4d4540]
mov edx, dword [ebp - 0x1c]
xor edx, eax
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov edx, dword [edx + 0x14]
xor eax, edx
mov dword [ebp - 0x1c], eax
mov eax, ebx
shr eax, 0x10
and eax, 0xff
mov edx, dword [eax*4 + 0x4d4940]
mov eax, dword [ebp - 0x1c]
xor eax, edx
mov dword [ebp - 0x1c], eax
movzx eax, ch
shr ecx, 0x10
mov esi, dword [ebp - 0x1c]
mov edx, dword [eax*4 + 0x4d4d40]
mov eax, edi
xor esi, edx
and eax, 0xff
mov edx, ebx
mov dword [ebp - 0x1c], esi
shr edx, 0x18
mov eax, dword [eax*4 + 0x4d5140]
mov dword [ebp - 0x18], eax
mov eax, dword [edx*4 + 0x4d4540]
mov edx, dword [ebp - 0x18]
xor edx, eax
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov edx, dword [edx + 0x18]
xor eax, edx
mov dword [ebp - 0x18], eax
movzx eax, cl
shr ecx, 8
mov edx, dword [eax*4 + 0x4d4940]
mov eax, dword [ebp - 0x18]
xor eax, edx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
movzx eax, dh
mov edx, dword [eax*4 + 0x4d4d40]
mov eax, dword [ebp - 0x18]
xor eax, edx
mov dword [ebp - 0x18], eax
movzx eax, bl
mov esi, dword [eax*4 + 0x4d5140]
mov eax, dword [ecx*4 + 0x4d4540]
mov ecx, dword [ebp - 0x28]
xor esi, eax
mov eax, dword [ecx + 0x1c]
add ecx, 0x20
xor esi, eax
mov eax, dword [ebp - 0x24]
shr eax, 0x10
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
movzx eax, byte [ebp - 0x24]
mov ebx, dword [eax*4 + 0x4d4940]
xor esi, ebx
mov ebx, edi
movzx eax, bh
mov edx, dword [eax*4 + 0x4d4d40]
xor esi, edx
dec dword [ebp - 0x14]
jne 0x4966d3
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp + 0x10]
shl eax, 5
lea ecx, [ebx + eax]
mov eax, dword [ebp - 0x20]
shr eax, 0x18
mov ebx, dword [ebp - 0x18]
mov edx, dword [eax*4 + 0x4d4d40]
mov eax, esi
and eax, 0xff
and edx, 0xff000000
movzx eax, byte [eax*4 + 0x4d4940]
xor edx, eax
mov eax, dword [ecx]
xor edx, eax
mov eax, dword [ebp - 0x1c]
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4d5140]
and eax, 0xff0000
xor edx, eax
movzx eax, bh
mov ebx, dword [ebp + 0xc]
mov eax, dword [eax*4 + 0x4d4540]
and eax, 0xff00
xor edx, eax
mov eax, edx
mov byte [ebx + 3], dl
shr eax, 0x18
mov byte [ebx], al
mov eax, edx
shr eax, 0x10
mov byte [ebx + 1], al
mov eax, edx
shr eax, 8
mov byte [ebx + 2], al
mov ebx, esi
mov eax, dword [ebp - 0x1c]
shr eax, 0x18
mov edx, dword [eax*4 + 0x4d4d40]
movzx eax, byte [ebp - 0x20]
and edx, 0xff000000
movzx eax, byte [eax*4 + 0x4d4940]
xor edx, eax
mov eax, dword [ecx + 4]
xor edx, eax
mov eax, dword [ebp - 0x18]
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4d5140]
and eax, 0xff0000
xor edx, eax
movzx eax, bh
mov ebx, dword [ebp + 0xc]
mov eax, dword [eax*4 + 0x4d4540]
and eax, 0xff00
xor edx, eax
mov eax, edx
mov byte [ebx + 7], dl
shr eax, 0x18
mov byte [ebx + 4], al
mov eax, edx
shr eax, 0x10
mov byte [ebx + 5], al
mov eax, edx
shr eax, 8
mov byte [ebx + 6], al
mov eax, dword [ebp - 0x18]
mov edi, dword [ecx + 8]
shr eax, 0x18
mov ebx, dword [ebp - 0x20]
mov eax, dword [eax*4 + 0x4d4d40]
and eax, 0xff000000
movzx edx, byte [ebp - 0x1c]
shr esi, 0x10
movzx edx, byte [edx*4 + 0x4d4940]
xor eax, edx
mov edx, esi
and edx, 0xff
xor eax, edi
shr esi, 8
mov edx, dword [edx*4 + 0x4d5140]
and edx, 0xff0000
xor eax, edx
movzx edx, bh
mov ebx, dword [ebp + 0xc]
mov edx, dword [edx*4 + 0x4d4540]
and edx, 0xff00
xor eax, edx
mov edx, eax
shr edx, 0x18
mov byte [ebx + 8], dl
mov edx, eax
shr edx, 0x10
mov byte [ebx + 0xb], al
mov byte [ebx + 9], dl
mov edx, eax
shr edx, 8
mov eax, dword [esi*4 + 0x4d4d40]
mov byte [ebx + 0xa], dl
and eax, 0xff000000
movzx edx, byte [ebp - 0x18]
mov esi, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [edx*4 + 0x4d4940]
xor eax, edx
mov edx, dword [ebp - 0x20]
shr edx, 0x10
xor eax, esi
mov dword [ebp - 0x20], edx
movzx edx, byte [ebp - 0x20]
mov edx, dword [edx*4 + 0x4d5140]
and edx, 0xff0000
xor eax, edx
movzx edx, ch
mov edx, dword [edx*4 + 0x4d4540]
and edx, 0xff00
xor eax, edx
mov edx, eax
mov byte [ebx + 0xf], al
shr edx, 0x18
mov byte [ebx + 0xc], dl
mov edx, eax
shr edx, 0x10
mov byte [ebx + 0xd], dl
mov edx, eax
shr edx, 8
mov byte [ebx + 0xe], dl
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret