Function at 0x550a00
Capabilities:
Encrypt data using aes

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