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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov ebp, dword [ecx]
mov ebx, dword [ecx + 4]
bswap ebp
xor ebp, dword [eax]
bswap ebx
xor ebx, dword [eax + 4]
mov edx, dword [ecx + 8]
bswap edx
xor edx, dword [eax + 8]
mov ecx, dword [ecx + 0xc]
bswap ecx
xor ecx, dword [eax + 0xc]
sar esi, 1
mov edi, 1
sub edi, esi
mov dword [esp + 0x1c], edi
shl esi, 3
mov dword [esp + 0x18], esi
lea eax, [eax + 0x2c]
mov dword [esp + 0x14], eax
jmp 0x550fb6
mov esi, edx
movzx edi, dh
mov dword [esp + 0x10], edi
movzx edi, dl
mov dword [esp + 0xc], edi
shr edx, 0x18
movzx edi, ch
movzx ebp, cl
mov dword [esp + 8], ebp
mov dword [esp + 4], ecx
shr ecx, 0xe
and ecx, 0x3fc
mov ecx, dword [ecx + 0x587c50]
xor ecx, dword [edx*4 + 0x587850]
mov dword [esp + 0x24], ecx
shr esi, 0xe
and esi, 0x3fc
mov ebp, dword [esi + 0x587c50]
xor ebp, dword [eax*4 + 0x587850]
xor ebp, dword [edi*4 + 0x588050]
movzx edx, bl
xor ebp, dword [edx*4 + 0x588450]
mov edx, ebx
shr edx, 0x18
mov eax, dword [esp]
mov esi, eax
shr esi, 0xe
and esi, 0x3fc
mov edi, ebx
movzx ecx, bh
mov dword [esp + 0x20], ecx
mov ebx, dword [esi + 0x587c50]
xor ebx, dword [edx*4 + 0x587850]
mov edx, dword [esp + 0x10]
xor ebx, dword [edx*4 + 0x588050]
mov ecx, dword [esp + 8]
xor ebx, dword [ecx*4 + 0x588450]
mov ecx, dword [esp + 4]
shr ecx, 0x18
shr edi, 0xe
and edi, 0x3fc
movzx esi, ah
movzx eax, al
mov edx, dword [edi + 0x587c50]
xor edx, dword [ecx*4 + 0x587850]
mov ecx, dword [esp + 0x24]
xor edx, dword [esi*4 + 0x588050]
mov esi, dword [esp + 0xc]
xor edx, dword [esi*4 + 0x588450]
mov esi, dword [esp + 0x20]
xor ecx, dword [esi*4 + 0x588050]
xor ecx, dword [eax*4 + 0x588450]
mov eax, dword [esp + 0x14]
xor ebp, dword [eax - 0xc]
xor ebx, dword [eax - 8]
xor edx, dword [eax - 4]
xor ecx, dword [eax]
add eax, 0x20
mov dword [esp + 0x14], eax
inc dword [esp + 0x1c]
mov eax, ecx
movzx esi, ch
mov dword [esp], esi
movzx esi, cl
mov dword [esp + 0x10], esi
shr ecx, 0x18
movzx edi, dh
movzx esi, dl
mov dword [esp + 0xc], esi
mov dword [esp + 8], edx
shr edx, 0xe
and edx, 0x3fc
mov edx, dword [edx + 0x587c50]
xor edx, dword [ecx*4 + 0x587850]
mov esi, ebp
mov ecx, esi
shr ecx, 0x18
shr eax, 0xe
and eax, 0x3fc
mov ebp, dword [eax + 0x587c50]
xor ebp, dword [ecx*4 + 0x587850]
xor ebp, dword [edi*4 + 0x588050]
movzx ecx, bl
xor ebp, dword [ecx*4 + 0x588450]
mov ecx, ebx
shr ecx, 0x18
mov edi, esi
shr edi, 0xe
and edi, 0x3fc
mov eax, ebx
movzx ebx, bh
mov dword [esp + 4], ebx
mov ebx, dword [edi + 0x587c50]
xor ebx, dword [ecx*4 + 0x587850]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x588050]
mov ecx, dword [esp + 0xc]
xor ebx, dword [ecx*4 + 0x588450]
mov edi, dword [esp + 8]
shr edi, 0x18
shr eax, 0xe
and eax, 0x3fc
mov ecx, esi
movzx esi, ch
movzx ecx, cl
mov dword [esp], ecx
mov ecx, dword [eax + 0x587c50]
xor ecx, dword [edi*4 + 0x587850]
xor ecx, dword [esi*4 + 0x588050]
mov eax, dword [esp + 0x10]
xor ecx, dword [eax*4 + 0x588450]
mov eax, dword [esp + 4]
xor edx, dword [eax*4 + 0x588050]
mov eax, dword [esp + 0x14]
xor ebp, dword [eax - 0x1c]
xor ebx, dword [eax - 0x18]
xor ecx, dword [eax - 0x14]
mov esi, dword [esp]
xor edx, dword [esi*4 + 0x588450]
xor edx, dword [eax - 0x10]
mov dword [esp], ebp
mov eax, ebp
shr eax, 0x18
cmp dword [esp + 0x1c], 0
jne 0x550eb0
mov ebp, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
mov eax, 0xff000000
and ebp, eax
mov esi, edx
shr esi, 0xe
and esi, 0x3fc
mov esi, dword [esi + str.RRRR_t_t_t_tjjjj]
mov eax, 0xff0000
and esi, eax
or esi, ebp
movzx ebp, ch
mov eax, dword [ebp*4 + str.RRRR_t_t_t_tjjjj]
mov ebp, 0xff00
and eax, ebp
mov ebp, 0xff00
or eax, esi
movzx esi, bl
movzx edi, byte [esi*4 + str.RRRR_t_t_t_tjjjj]
or edi, eax
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
xor edi, dword [eax + esi*4]
mov eax, edi
shr eax, 0x18
mov esi, dword [esp + 0x48]
mov byte [esi], al
mov eax, edi
shr eax, 0x10
mov byte [esi + 1], al
mov eax, edi
mov byte [esi + 2], ah
mov byte [esi + 3], al
mov eax, ebx
shr eax, 0x18
mov eax, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
mov esi, 0xff000000
and eax, esi
mov esi, dword [esp]
shr esi, 0xe
and esi, 0x3fc
mov esi, dword [esi + str.RRRR_t_t_t_tjjjj]
mov edi, 0xff0000
and esi, edi
or esi, eax
movzx eax, dh
mov eax, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and eax, ebp
or eax, esi
movzx esi, cl
movzx ebp, byte [esi*4 + str.RRRR_t_t_t_tjjjj]
or ebp, eax
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
xor ebp, dword [eax + edi*4 + 4]
mov eax, ebp
shr eax, 0x18
mov esi, dword [esp + 0x48]
mov byte [esi + 4], al
mov eax, ebp
shr eax, 0x10
mov byte [esi + 5], al
mov eax, ebp
mov byte [esi + 6], ah
mov byte [esi + 7], al
mov eax, ecx
shr eax, 0x18
mov eax, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
mov esi, 0xff000000
and eax, esi
mov esi, ebx
shr esi, 0xe
and esi, 0x3fc
mov esi, dword [esi + str.RRRR_t_t_t_tjjjj]
mov ebp, 0xff0000
and esi, ebp
or esi, eax
mov eax, dword [esp]
movzx eax, ah
mov eax, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
mov ebp, 0xff00
and eax, ebp
or eax, esi
movzx esi, dl
movzx ebp, byte [esi*4 + str.RRRR_t_t_t_tjjjj]
or ebp, eax
mov eax, dword [esp + 0x3c]
xor ebp, dword [eax + edi*4 + 8]
mov eax, ebp
shr eax, 0x18
mov esi, dword [esp + 0x48]
mov byte [esi + 8], al
mov eax, ebp
shr eax, 0x10
mov byte [esi + 9], al
mov eax, ebp
mov byte [esi + 0xa], ah
mov byte [esi + 0xb], al
shr edx, 0x18
mov eax, 0xff000000
and eax, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
shr ecx, 0xe
and ecx, 0x3fc
mov edx, 0xff0000
and edx, dword [ecx + str.RRRR_t_t_t_tjjjj]
or edx, eax
movzx eax, bh
mov ecx, 0xff00
and ecx, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
or ecx, edx
movzx eax, byte [esp]
movzx eax, byte [eax*4 + str.RRRR_t_t_t_tjjjj]
or eax, ecx
mov ecx, dword [esp + 0x3c]
xor eax, dword [ecx + edi*4 + 0xc]
mov ecx, eax
shr ecx, 0x18
mov byte [esi + 0xc], cl
mov ecx, eax
shr ecx, 0x10
mov byte [esi + 0xd], cl
mov byte [esi + 0xe], ah
mov byte [esi + 0xf], al
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret