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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
movzx edx, byte [eax + 5]
movzx ecx, byte [eax + 1]
push ebx
movzx ebx, byte [eax + 4]
shl ebx, 8
xor ebx, edx
movzx edx, byte [eax + 6]
push esi
movzx esi, byte [eax]
push edi
movzx edi, byte [eax + 9]
shl ebx, 8
xor ebx, edx
movzx edx, byte [eax + 7]
shl esi, 8
xor esi, ecx
movzx ecx, byte [eax + 2]
shl ebx, 8
xor ebx, edx
movzx edx, byte [eax + 8]
shl edx, 8
xor edx, edi
movzx edi, byte [eax + 0xa]
shl edx, 8
xor edx, edi
movzx edi, byte [eax + 0xb]
shl edx, 8
xor edx, edi
movzx edi, byte [eax + 0xd]
shl esi, 8
xor esi, ecx
movzx ecx, byte [eax + 3]
shl esi, 8
xor esi, ecx
mov ecx, dword [ebp + 0x10]
xor edx, dword [ecx + 8]
xor esi, dword [ecx]
mov dword [ebp - 4], edx
movzx edx, byte [eax + 0xc]
shl edx, 8
xor edx, edi
movzx edi, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
xor ebx, dword [ecx + 4]
shl edx, 8
xor edx, edi
mov edi, dword [ebp - 4]
shl edx, 8
xor edx, eax
xor edx, dword [ecx + 0xc]
shr edi, 8
mov dword [ebp - 8], edx
shr edx, 0x10
mov eax, 0xff
and edi, eax
and edx, eax
mov edx, dword [edx*4 + 0x60ddc8]
xor edx, dword [edi*4 + 0x60e1c8]
mov edi, esi
shr edi, 0x18
xor edx, dword [edi*4 + 0x60d9c8]
mov edi, ebx
and edi, eax
xor edx, dword [edi*4 + 0x60e5c8]
mov edi, dword [ebp - 8]
xor edx, dword [ecx + 0x10]
mov dword [ebp + 8], esi
shr edi, 8
shr esi, 0x10
and edi, eax
and esi, eax
mov dword [ebp - 0x10], esi
mov esi, dword [edi*4 + 0x60e1c8]
mov edi, dword [ebp - 0x10]
xor esi, dword [edi*4 + 0x60ddc8]
mov edi, ebx
shr edi, 0x18
xor esi, dword [edi*4 + 0x60d9c8]
mov edi, dword [ebp - 4]
mov dword [ebp - 0xc], edx
and edi, eax
xor esi, dword [edi*4 + 0x60e5c8]
mov edi, dword [ebp + 8]
xor esi, dword [ecx + 0x14]
mov ecx, ebx
shr ecx, 0x10
and ecx, eax
shr edi, 8
and edi, eax
mov dword [ebp - 0x10], edi
mov edi, dword [ecx*4 + 0x60ddc8]
mov ecx, dword [ebp - 0x10]
xor edi, dword [ecx*4 + 0x60e1c8]
mov ecx, dword [ebp - 4]
shr ecx, 0x18
xor edi, dword [ecx*4 + 0x60d9c8]
mov ecx, dword [ebp - 8]
and ecx, eax
xor edi, dword [ecx*4 + 0x60e5c8]
mov ecx, dword [ebp + 0x10]
xor edi, dword [ecx + 0x18]
mov ecx, dword [ebp - 4]
shr ebx, 8
shr ecx, 0x10
and ebx, eax
and ecx, eax
mov ecx, dword [ecx*4 + 0x60ddc8]
xor ecx, dword [ebx*4 + 0x60e1c8]
mov ebx, dword [ebp - 8]
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x60d9c8]
mov ebx, dword [ebp + 8]
and ebx, eax
xor ecx, dword [ebx*4 + 0x60e5c8]
mov ebx, dword [ebp + 0x10]
xor ecx, dword [ebx + 0x1c]
add ebx, 0x20
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx + 0xf0]
sar ebx, 1
dec ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp - 8], ecx
mov ebx, edi
je 0x4d2ffe
shr ebx, 8
and ebx, eax
shr ecx, 0x10
and ecx, eax
mov ecx, dword [ecx*4 + 0x60ddc8]
xor ecx, dword [ebx*4 + 0x60e1c8]
mov ebx, edx
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x60d9c8]
mov ebx, esi
and ebx, eax
xor ecx, dword [ebx*4 + 0x60e5c8]
mov ebx, dword [ebp - 4]
xor ecx, dword [ebx]
mov ebx, edx
shr ebx, 0x10
and ebx, eax
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, eax
mov ecx, dword [ecx*4 + 0x60e1c8]
xor ecx, dword [ebx*4 + 0x60ddc8]
mov ebx, esi
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x60d9c8]
mov ebx, edi
and ebx, eax
xor ecx, dword [ebx*4 + 0x60e5c8]
mov ebx, dword [ebp - 4]
xor ecx, dword [ebx + 4]
mov ebx, esi
shr ebx, 0x10
and ebx, eax
shr edx, 8
and edx, eax
mov dword [ebp - 0x10], edx
mov edx, dword [ebx*4 + 0x60ddc8]
mov ebx, dword [ebp - 0x10]
xor edx, dword [ebx*4 + 0x60e1c8]
mov ebx, edi
shr edi, 0x10
and edi, eax
shr esi, 8
and esi, eax
mov dword [ebp - 0x10], esi
mov esi, dword [edi*4 + 0x60ddc8]
mov edi, dword [ebp - 0x10]
xor esi, dword [edi*4 + 0x60e1c8]
mov edi, dword [ebp - 8]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x60d9c8]
mov ebx, dword [ebp - 8]
shr edi, 0x18
xor esi, dword [edi*4 + 0x60d9c8]
mov edi, dword [ebp - 0xc]
and ebx, eax
xor edx, dword [ebx*4 + 0x60e5c8]
mov ebx, dword [ebp - 4]
xor edx, dword [ebx + 8]
and edi, eax
xor esi, dword [edi*4 + 0x60e5c8]
xor esi, dword [ebx + 0xc]
mov ebx, edx
shr ebx, 8
mov edi, esi
shr edi, 0x10
and edi, eax
mov edi, dword [edi*4 + 0x60ddc8]
and ebx, eax
xor edi, dword [ebx*4 + 0x60e1c8]
mov ebx, dword [ebp + 8]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x60d9c8]
mov ebx, ecx
and ebx, eax
xor edi, dword [ebx*4 + 0x60e5c8]
mov dword [ebp - 8], esi
mov ebx, edi
mov edi, dword [ebp - 4]
xor ebx, dword [edi + 0x10]
shr esi, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 8]
shr ebx, 0x10
and ebx, eax
and esi, eax
mov esi, dword [esi*4 + 0x60e1c8]
xor esi, dword [ebx*4 + 0x60ddc8]
mov ebx, ecx
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x60d9c8]
mov ebx, edx
and ebx, eax
xor esi, dword [ebx*4 + 0x60e5c8]
mov ebx, dword [ebp + 8]
xor esi, dword [edi + 0x14]
mov edi, ecx
shr edi, 0x10
shr ebx, 8
and edi, eax
mov edi, dword [edi*4 + 0x60ddc8]
and ebx, eax
xor edi, dword [ebx*4 + 0x60e1c8]
mov ebx, edx
shr edx, 0x10
and edx, eax
mov edx, dword [edx*4 + 0x60ddc8]
shr ecx, 8
and ecx, eax
xor edx, dword [ecx*4 + 0x60e1c8]
mov ecx, dword [ebp - 8]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x60d9c8]
mov ebx, dword [ebp - 8]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x60d9c8]
mov ecx, dword [ebp + 8]
and ebx, eax
xor edi, dword [ebx*4 + 0x60e5c8]
mov ebx, dword [ebp - 4]
xor edi, dword [ebx + 0x18]
and ecx, eax
xor edx, dword [ecx*4 + 0x60e5c8]
add ebx, 0x20
xor edx, dword [ebx - 4]
dec dword [ebp + 0x10]
mov ecx, edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], ebx
jmp 0x4d2e11
shr ebx, 8
and ebx, eax
mov ebx, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
and ebx, 0xff00
shr ecx, 0x10
and ecx, eax
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff0000
xor ecx, ebx
mov ebx, edx
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
and ebx, 0xff000000
xor ecx, ebx
mov ebx, esi
and ebx, eax
movzx ebx, byte [ebx*4 + str.RRRR_t_t_t_tjjjj]
xor ecx, ebx
mov ebx, dword [ebp - 4]
xor ecx, dword [ebx]
shr edx, 0x10
mov dword [ebp + 8], ecx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
shr ebx, 0x18
mov byte [ecx], bl
mov ebx, dword [ebp + 8]
shr ebx, 0x10
mov byte [ecx + 1], bl
mov ebx, dword [ebp + 8]
shr ebx, 8
mov byte [ecx + 2], bl
mov bl, byte [ebp + 8]
mov byte [ecx + 3], bl
mov ebx, dword [ebp - 8]
shr ebx, 8
and ebx, eax
mov ebx, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
and ebx, 0xff00
and edx, eax
mov edx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff0000
xor edx, ebx
mov ebx, esi
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
and ebx, 0xff000000
xor edx, ebx
mov ebx, edi
and ebx, eax
movzx ebx, byte [ebx*4 + str.RRRR_t_t_t_tjjjj]
xor edx, ebx
mov ebx, dword [ebp - 4]
xor edx, dword [ebx + 4]
mov ebx, edx
shr ebx, 0x18
mov byte [ecx + 4], bl
mov ebx, edx
shr ebx, 0x10
mov byte [ecx + 5], bl
mov ebx, edx
shr ebx, 8
mov byte [ecx + 6], bl
mov ebx, dword [ebp - 0xc]
mov byte [ecx + 7], dl
shr ebx, 8
and ebx, eax
mov ebx, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
mov edx, esi
shr edx, 0x10
and edx, eax
mov edx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and ebx, 0xff00
and edx, 0xff0000
xor edx, ebx
mov ebx, edi
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
and ebx, 0xff000000
xor edx, ebx
mov ebx, dword [ebp - 8]
and ebx, eax
movzx ebx, byte [ebx*4 + str.RRRR_t_t_t_tjjjj]
xor edx, ebx
mov ebx, dword [ebp - 4]
xor edx, dword [ebx + 8]
shr esi, 8
mov ebx, edx
shr ebx, 0x18
mov byte [ecx + 8], bl
and esi, eax
mov ebx, edx
shr ebx, 0x10
mov byte [ecx + 9], bl
mov ebx, edx
mov byte [ecx + 0xb], dl
shr edi, 0x10
and edi, eax
shr ebx, 8
mov byte [ecx + 0xa], bl
mov esi, dword [esi*4 + str.RRRR_t_t_t_tjjjj]
mov edx, dword [edi*4 + str.RRRR_t_t_t_tjjjj]
and esi, 0xff00
and edx, 0xff0000
xor edx, esi
mov esi, dword [ebp - 8]
shr esi, 0x18
mov esi, dword [esi*4 + str.RRRR_t_t_t_tjjjj]
and esi, 0xff000000
xor edx, esi
mov esi, dword [ebp - 0xc]
and esi, eax
movzx eax, byte [esi*4 + str.RRRR_t_t_t_tjjjj]
xor edx, eax
mov eax, dword [ebp - 4]
xor edx, dword [eax + 0xc]
pop edi
mov eax, edx
shr eax, 0x18
mov byte [ecx + 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 0xd], al
mov eax, edx
shr eax, 8
pop esi
mov byte [ecx + 0xe], al
mov byte [ecx + 0xf], dl
pop ebx
leave
ret