Function at 0x4450e0
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 ecx, dword [esp + 0x44]
mov ebp, 1
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov eax, dword [ecx + 0xf0]
bswap edi
bswap esi
bswap edx
bswap ebx
shr eax, 1
xor edx, dword [ecx + 8]
xor edi, dword [ecx]
xor esi, dword [ecx + 4]
xor ebx, dword [ecx + 0xc]
sub ebp, eax
shl eax, 3
lea ecx, [ecx + 0x2c]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
jmp 0x44524c
mov esi, ecx
inc dword [esp + 0x14]
shr esi, 0xe
and esi, 0x3fc
mov edi, dword [esi + 0x57dc68]
mov esi, edx
shr esi, 0xe
and esi, 0x3fc
mov esi, dword [esi + 0x57dc68]
xor edi, dword [ebx*4 + 0x57d868]
mov ebx, ebp
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x57d868]
mov ebx, eax
shr ebx, 0x18
mov dword [esp], esi
mov esi, ebp
shr esi, 0xe
and esi, 0x3fc
mov ebp, dword [esi + 0x57dc68]
movzx esi, cl
mov dword [esp + 8], esi
movzx esi, ch
shr ecx, 0x18
mov dword [esp + 4], esi
movzx esi, al
mov dword [esp + 0x20], esi
movzx esi, ah
shr eax, 0xe
and eax, 0x3fc
xor ebp, dword [ebx*4 + 0x57d868]
xor edi, dword [esi*4 + 0x57e068]
mov esi, dword [esp + 4]
mov ebx, dword [eax + 0x57dc68]
movzx eax, dl
mov dword [esp + 0x1c], eax
movzx eax, dh
mov edx, dword [esp + 0xc]
xor ebp, dword [eax*4 + 0x57e068]
xor ebx, dword [ecx*4 + 0x57d868]
movzx ecx, dl
movzx edx, dh
mov dword [esp + 0x18], ecx
mov ecx, dword [esp]
mov eax, dword [esp + 0x18]
xor ebx, dword [edx*4 + 0x57e068]
mov edx, dword [esp + 0x10]
xor ecx, dword [esi*4 + 0x57e068]
xor edi, dword [eax*4 + 0x57e468]
mov eax, dword [esp + 0x20]
xor ecx, dword [eax*4 + 0x57e468]
mov eax, dword [esp + 8]
xor edi, dword [edx - 0xc]
xor ebp, dword [eax*4 + 0x57e468]
mov eax, dword [esp + 0x1c]
xor ecx, dword [edx - 8]
xor ebx, dword [eax*4 + 0x57e468]
xor ebp, dword [edx - 4]
mov esi, ecx
xor ebx, dword [edx]
add edx, 0x20
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
mov ecx, ebx
mov ebp, edi
mov eax, edi
mov dword [esp + 8], edi
mov edi, esi
mov dword [esp], esi
shr ecx, 0xe
shr eax, 0x18
and ecx, 0x3fc
mov edx, dword [ecx + 0x57dc68]
mov ecx, ebp
mov ebp, ebx
shr ecx, 0xe
and ecx, 0x3fc
xor edx, dword [eax*4 + 0x57d868]
mov eax, esi
mov esi, dword [ecx + 0x57dc68]
mov ecx, dword [esp + 0xc]
shr eax, 0x18
xor esi, dword [eax*4 + 0x57d868]
mov eax, edi
mov ebx, ecx
shr eax, 0xe
shr ebx, 0x18
and eax, 0x3fc
mov eax, dword [eax + 0x57dc68]
xor eax, dword [ebx*4 + 0x57d868]
mov ebx, ebp
movzx edi, bl
mov dword [esp + 4], edi
movzx edi, bh
shr ebx, 0x18
mov dword [esp + 0x20], edi
movzx edi, cl
mov dword [esp + 0x1c], edi
movzx edi, ch
shr ecx, 0xe
and ecx, 0x3fc
xor edx, dword [edi*4 + 0x57e068]
mov ecx, dword [ecx + 0x57dc68]
xor ecx, dword [ebx*4 + 0x57d868]
mov ebx, dword [esp + 8]
movzx ebp, bl
mov dword [esp + 0x18], ebp
movzx ebp, bh
mov ebx, dword [esp]
xor eax, dword [ebp*4 + 0x57e068]
movzx edi, bl
movzx ebx, bh
mov dword [esp], ebx
mov ebx, dword [esp + 0x20]
xor edx, dword [edi*4 + 0x57e468]
mov edi, dword [esp + 0x1c]
xor esi, dword [ebx*4 + 0x57e068]
mov ebx, dword [esp + 0x10]
xor esi, dword [edi*4 + 0x57e468]
mov edi, dword [esp + 4]
xor edx, dword [ebx - 0x1c]
xor eax, dword [edi*4 + 0x57e468]
mov edi, dword [esp]
xor esi, dword [ebx - 0x18]
mov ebp, esi
xor ecx, dword [edi*4 + 0x57e068]
mov esi, dword [esp + 0x18]
xor eax, dword [ebx - 0x14]
mov dword [esp + 0xc], ebp
xor ecx, dword [esi*4 + 0x57e468]
xor ecx, dword [ebx - 0x10]
mov ebx, edx
shr ebx, 0x18
cmp dword [esp + 0x14], 0
jne 0x445140
movzx edi, byte [ebx + 0x57e868]
mov ebx, ecx
mov dword [esp + 8], edx
shr ebx, 0x10
movzx esi, bl
mov ebx, ebp
shr ebx, 0x18
mov dword [esp], esi
movzx esi, byte [ebx + 0x57e868]
mov ebx, edx
mov edx, ebp
shl edi, 0x18
shr edx, 0x10
shr ebx, 0x10
movzx edx, dl
mov dword [esp + 4], edx
mov edx, dword [esp]
mov dword [esp + 0x10], esi
movzx esi, bl
mov ebx, eax
shr ebx, 0x18
mov dword [esp + 0x14], esi
movzx esi, byte [ebx + 0x57e868]
mov ebx, ebp
mov ebp, dword [esp + 0x24]
movzx edx, byte [edx + 0x57e868]
shl esi, 0x18
shl edx, 0x10
or edx, edi
movzx edi, ah
movzx edi, byte [edi + 0x57e868]
shl edi, 8
or edi, edx
movzx edx, bl
movzx edx, byte [edx + 0x57e868]
or edx, edi
mov edi, dword [esp + 0x44]
mov ebx, edi
mov edi, dword [esp + 0x40]
xor edx, dword [ebx + ebp*4]
bswap edx
mov dword [edi], edx
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
movzx edx, byte [edx + 0x57e868]
shl edi, 0x18
shl edx, 0x10
or edx, edi
movzx edi, ch
movzx edi, byte [edi + 0x57e868]
shl edi, 8
or edi, edx
movzx edx, al
shr eax, 0x10
movzx edx, byte [edx + 0x57e868]
movzx eax, al
movzx eax, byte [eax + 0x57e868]
or edx, edi
mov edi, dword [esp + 0x40]
xor edx, dword [ebx + ebp*4 + 4]
mov ebx, dword [esp + 8]
shl eax, 0x10
bswap edx
mov dword [edi + 4], edx
mov edx, dword [esp + 4]
movzx edx, byte [edx + 0x57e868]
shl edx, 0x10
or edx, esi
movzx esi, bh
movzx esi, byte [esi + 0x57e868]
shl esi, 8
or esi, edx
movzx edx, cl
shr ecx, 0x18
movzx edx, byte [edx + 0x57e868]
movzx ecx, byte [ecx + 0x57e868]
or edx, esi
mov esi, dword [esp + 0x44]
shl ecx, 0x18
or eax, ecx
xor edx, dword [esi + ebp*4 + 8]
movzx esi, bl
movzx ebx, byte [esi + 0x57e868]
bswap edx
mov dword [edi + 8], edx
mov edx, dword [esp + 0xc]
movzx edx, dh
movzx ecx, byte [edx + 0x57e868]
mov edx, dword [esp + 0x44]
shl ecx, 8
or ecx, eax
or ebx, ecx
xor ebx, dword [edx + ebp*4 + 0xc]
bswap ebx
mov dword [edi + 0xc], ebx
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret