Function at 0x455180
Capabilities:
Encrypt data using aes

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
mov edx, 1
mov ebp, dword [eax]
mov edi, dword [eax + 4]
mov esi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov eax, dword [ecx + 0xf0]
bswap ebp
bswap edi
bswap esi
bswap ebx
shr eax, 1
xor ebp, dword [ecx]
xor edi, dword [ecx + 4]
xor esi, dword [ecx + 8]
xor ebx, dword [ecx + 0xc]
sub edx, eax
shl eax, 3
mov dword [esp + 0x20], eax
lea eax, [ecx + 0x2c]
mov dword [esp + 0x1c], edx
mov dword [esp + 4], eax
jmp 0x4552e0
mov esi, edi
inc dword [esp + 0x1c]
shr esi, 0xe
and esi, 0x3fc
mov ebp, dword [esi + 0x520320]
mov esi, eax
shr esi, 0xe
and esi, 0x3fc
xor ebp, dword [ebx*4 + 0x51ff20]
mov ebx, edi
mov edi, dword [esi + 0x520320]
mov esi, ecx
shr esi, 0xe
shr ebx, 0x18
and esi, 0x3fc
mov esi, dword [esi + 0x520320]
xor edi, dword [ebx*4 + 0x51ff20]
mov ebx, eax
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x51ff20]
movzx ebx, cl
mov dword [esp + 0x18], ebx
movzx ebx, ch
shr ecx, 0x18
mov dword [esp + 0x14], ebx
movzx ebx, dl
mov dword [esp + 0x10], ebx
movzx ebx, dh
shr edx, 0xe
and edx, 0x3fc
mov dword [esp + 0xc], ebx
mov ebx, dword [edx + 0x520320]
xor ebx, dword [ecx*4 + 0x51ff20]
movzx ecx, al
movzx eax, ah
xor ebp, dword [eax*4 + 0x51f720]
mov eax, dword [esp + 0x14]
mov dword [esp + 8], ecx
mov ecx, dword [esp]
xor edi, dword [eax*4 + 0x51f720]
mov eax, dword [esp + 0xc]
movzx edx, cl
movzx ecx, ch
xor ebx, dword [ecx*4 + 0x51f720]
mov ecx, dword [esp + 4]
xor esi, dword [eax*4 + 0x51f720]
mov eax, dword [esp + 0x18]
xor ebp, dword [eax*4 + 0x51fb20]
mov eax, dword [esp + 0x10]
xor esi, dword [edx*4 + 0x51fb20]
xor edi, dword [eax*4 + 0x51fb20]
mov eax, dword [esp + 8]
xor ebp, dword [ecx - 0xc]
xor esi, dword [ecx - 4]
xor ebx, dword [eax*4 + 0x51fb20]
xor edi, dword [ecx - 8]
xor ebx, dword [ecx]
add ecx, 0x20
mov dword [esp + 4], ecx
mov ecx, edi
mov eax, ebp
mov dword [esp], edi
shr ecx, 0xe
shr eax, 0x18
and ecx, 0x3fc
mov edx, dword [ecx + 0x520320]
mov ecx, esi
shr ecx, 0xe
and ecx, 0x3fc
xor edx, dword [eax*4 + 0x51ff20]
mov eax, edi
mov edi, esi
mov esi, dword [ecx + 0x520320]
shr eax, 0x18
mov ecx, edi
shr ecx, 0x18
xor esi, dword [eax*4 + 0x51ff20]
mov eax, ebx
shr eax, 0xe
and eax, 0x3fc
mov eax, dword [eax + 0x520320]
xor eax, dword [ecx*4 + 0x51ff20]
movzx ecx, bl
mov dword [esp + 0x18], ecx
movzx ecx, bh
shr ebx, 0x18
mov dword [esp + 0x14], ecx
mov ecx, ebp
movzx ebp, cl
mov dword [esp + 0x10], ebp
movzx ebp, ch
shr ecx, 0xe
and ecx, 0x3fc
mov dword [esp + 0xc], ebp
mov ecx, dword [ecx + 0x520320]
xor ecx, dword [ebx*4 + 0x51ff20]
mov ebx, edi
movzx edi, bl
movzx ebp, bh
mov ebx, dword [esp]
mov dword [esp + 8], edi
xor edx, dword [ebp*4 + 0x51f720]
movzx edi, bl
mov dword [esp + 0x24], edi
movzx edi, bh
mov ebx, dword [esp + 0x14]
xor ecx, dword [edi*4 + 0x51f720]
xor esi, dword [ebx*4 + 0x51f720]
mov ebx, dword [esp + 0xc]
xor eax, dword [ebx*4 + 0x51f720]
mov ebx, dword [esp + 0x18]
xor edx, dword [ebx*4 + 0x51fb20]
mov ebx, dword [esp + 0x10]
xor esi, dword [ebx*4 + 0x51fb20]
mov ebx, dword [esp + 0x24]
xor eax, dword [ebx*4 + 0x51fb20]
mov ebx, dword [esp + 4]
xor esi, dword [ebx - 0x18]
xor edx, dword [ebx - 0x1c]
xor eax, dword [ebx - 0x14]
mov edi, esi
mov esi, dword [esp + 8]
mov dword [esp], edi
xor ecx, dword [esi*4 + 0x51fb20]
xor ecx, dword [ebx - 0x10]
mov ebx, edx
shr ebx, 0x18
cmp dword [esp + 0x1c], 0
jne 0x4551e0
movzx ebp, byte [ebx*4 + 0x51f723]
mov ebx, edi
shr ebx, 0x18
movzx edi, byte [ebx*4 + 0x51f723]
mov ebx, eax
shr ebx, 0x18
movzx esi, byte [ebx*4 + 0x51f723]
mov ebx, dword [esp + 0x20]
shl edi, 0x18
mov dword [esp + 4], esi
mov esi, ebp
mov ebp, dword [esp]
shl esi, 0x18
shr ebp, 0xe
and ebp, 0x3fc
movzx ebp, byte [ebp + 0x51fb22]
shl ebp, 0x10
or ebp, esi
movzx esi, ah
movzx esi, byte [esi*4 + str.cc]
shl esi, 8
or esi, ebp
movzx ebp, cl
movzx ebp, byte [ebp*4 + 0x520320]
or ebp, esi
mov esi, dword [esp + 0x44]
xor ebp, dword [esi + ebx*4]
mov esi, dword [esp + 0x40]
bswap ebp
mov dword [esi], ebp
mov esi, eax
mov ebp, ebx
movzx eax, al
shr esi, 0xe
movzx eax, byte [eax*4 + 0x520320]
and esi, 0x3fc
movzx esi, byte [esi + 0x51fb22]
shl esi, 0x10
or esi, edi
movzx edi, ch
movzx edi, byte [edi*4 + str.cc]
shl edi, 8
or edi, esi
movzx esi, dl
movzx esi, byte [esi*4 + 0x520320]
or esi, edi
mov edi, dword [esp + 0x44]
xor esi, dword [edi + ebx*4 + 4]
mov edi, dword [esp + 0x40]
mov ebx, dword [esp]
bswap esi
mov dword [edi + 4], esi
mov esi, ecx
mov edi, dword [esp + 4]
shr ecx, 0x18
shr esi, 0xe
movzx ecx, byte [ecx*4 + 0x51f723]
and esi, 0x3fc
movzx esi, byte [esi + 0x51fb22]
shl edi, 0x18
shl ecx, 0x18
shl esi, 0x10
or esi, edi
movzx edi, dh
shr edx, 0xe
movzx edi, byte [edi*4 + str.cc]
and edx, 0x3fc
movzx edx, byte [edx + 0x51fb22]
shl edi, 8
or edi, esi
movzx esi, bl
shl edx, 0x10
movzx esi, byte [esi*4 + 0x520320]
or edx, ecx
or esi, edi
mov edi, dword [esp + 0x44]
xor esi, dword [edi + ebp*4 + 8]
mov edi, dword [esp + 0x40]
bswap esi
mov dword [edi + 8], esi
movzx esi, bh
movzx ecx, byte [esi*4 + str.cc]
shl ecx, 8
or ecx, edx
mov edx, dword [esp + 0x44]
or eax, ecx
xor eax, dword [edx + ebp*4 + 0xc]
bswap eax
mov dword [edi + 0xc], eax
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret