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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 8]
movzx ecx, byte [ecx + 1]
movzx edx, byte [edx]
shl edx, 0x18
mov eax, dword [ebp + 0x10]
shl ecx, 0x10
movzx ebx, byte [ebx + 5]
xor edx, ecx
mov ecx, dword [ebp + 8]
shl ebx, 0x10
movzx ecx, byte [ecx + 2]
shl ecx, 8
movzx edi, byte [edi + 0xd]
xor edx, ecx
mov ecx, dword [ebp + 8]
shl edi, 0x10
movzx ecx, byte [ecx + 3]
xor edx, ecx
mov ecx, dword [ebp + 8]
xor edx, dword [eax]
movzx ecx, byte [ecx + 4]
shl ecx, 0x18
xor ecx, ebx
mov ebx, dword [ebp + 8]
movzx ebx, byte [ebx + 6]
shl ebx, 8
xor ecx, ebx
mov ebx, dword [ebp + 8]
movzx ebx, byte [ebx + 7]
xor ecx, ebx
mov ebx, dword [ebp + 8]
xor ecx, dword [eax + 4]
movzx esi, byte [ebx + 8]
mov ebx, dword [ebp + 8]
shl esi, 0x18
movzx ebx, byte [ebx + 9]
shl ebx, 0x10
xor esi, ebx
mov ebx, dword [ebp + 8]
movzx ebx, byte [ebx + 0xa]
shl ebx, 8
xor esi, ebx
mov ebx, dword [ebp + 8]
movzx ebx, byte [ebx + 0xb]
xor esi, ebx
mov ebx, dword [ebp + 8]
xor esi, dword [eax + 8]
movzx ebx, byte [ebx + 0xc]
shl ebx, 0x18
xor ebx, edi
mov edi, dword [ebp + 8]
movzx edi, byte [edi + 0xe]
shl edi, 8
xor ebx, edi
mov edi, dword [ebp + 8]
movzx edi, byte [edi + 0xf]
xor ebx, edi
xor ebx, dword [eax + 0xc]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx + 0xf0]
sar ebx, 1
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp - 4]
mov ebx, edx
shr ebx, 0x18
shr edi, 0x10
and edi, 0xff
mov ebx, dword [ebx*4 + 0x61f258]
xor ebx, dword [edi*4 + 0x61f658]
mov edi, esi
shr edi, 8
and edi, 0xff
xor ebx, dword [edi*4 + 0x61fa58]
mov edi, ecx
and edi, 0xff
xor ebx, dword [edi*4 + 0x61fe58]
mov edi, edx
xor ebx, dword [eax + 0x10]
mov dword [ebp - 8], ebx
mov ebx, ecx
shr ebx, 0x18
shr edi, 0x10
and edi, 0xff
mov ebx, dword [ebx*4 + 0x61f258]
xor ebx, dword [edi*4 + 0x61f658]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, 0xff
xor ebx, dword [edi*4 + 0x61fa58]
mov edi, esi
and edi, 0xff
xor ebx, dword [edi*4 + 0x61fe58]
mov edi, ecx
xor ebx, dword [eax + 0x14]
mov dword [ebp - 0xc], ebx
mov ebx, esi
shr ebx, 0x18
shr edi, 0x10
and edi, 0xff
mov ebx, dword [ebx*4 + 0x61f258]
shr esi, 0x10
and esi, 0xff
xor ebx, dword [edi*4 + 0x61f658]
mov edi, edx
and edx, 0xff
shr edi, 8
and edi, 0xff
shr ecx, 8
and ecx, 0xff
xor ebx, dword [edi*4 + 0x61fa58]
mov edi, dword [ebp - 4]
and edi, 0xff
xor ebx, dword [edi*4 + 0x61fe58]
xor ebx, dword [eax + 0x18]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 4]
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x61f258]
xor ebx, dword [esi*4 + 0x61f658]
xor ebx, dword [ecx*4 + 0x61fa58]
xor ebx, dword [edx*4 + 0x61fe58]
xor ebx, dword [eax + 0x1c]
add eax, 0x20
mov dword [ebp - 0x14], ebx
dec dword [ebp - 0x18]
je 0x554f44
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
shr ecx, 0x10
mov ebx, dword [ebp - 8]
shr edx, 0x18
and ecx, 0xff
shr ebx, 0x10
mov edi, dword [ebp - 0x10]
mov edx, dword [edx*4 + 0x61f258]
and ebx, 0xff
xor edx, dword [ecx*4 + 0x61f658]
mov ecx, dword [ebp - 0x10]
shr ecx, 8
and ecx, 0xff
shr edi, 0x10
and edi, 0xff
xor edx, dword [ecx*4 + 0x61fa58]
mov ecx, dword [ebp - 0xc]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x61fe58]
mov ecx, dword [ebp - 0xc]
shr ecx, 0x18
xor edx, dword [eax]
mov ecx, dword [ecx*4 + 0x61f258]
xor ecx, dword [ebx*4 + 0x61f658]
mov ebx, dword [ebp - 0x14]
shr ebx, 8
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x61fa58]
mov ebx, dword [ebp - 0x10]
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x61fe58]
mov ebx, dword [ebp - 0x10]
shr ebx, 0x18
xor ecx, dword [eax + 4]
mov esi, dword [ebx*4 + 0x61f258]
mov ebx, dword [ebp - 0xc]
shr ebx, 0x10
and ebx, 0xff
xor esi, dword [ebx*4 + 0x61f658]
mov ebx, dword [ebp - 8]
shr ebx, 8
and ebx, 0xff
xor esi, dword [ebx*4 + 0x61fa58]
mov ebx, dword [ebp - 0x14]
and ebx, 0xff
xor esi, dword [ebx*4 + 0x61fe58]
mov ebx, dword [ebp - 0x14]
shr ebx, 0x18
xor esi, dword [eax + 8]
mov ebx, dword [ebx*4 + 0x61f258]
xor ebx, dword [edi*4 + 0x61f658]
mov edi, dword [ebp - 0xc]
shr edi, 8
and edi, 0xff
xor ebx, dword [edi*4 + 0x61fa58]
mov edi, dword [ebp - 8]
and edi, 0xff
xor ebx, dword [edi*4 + 0x61fe58]
xor ebx, dword [eax + 0xc]
mov dword [ebp - 4], ebx
jmp 0x554d07
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
shr ecx, 0x10
mov ebx, dword [ebp + 0xc]
shr edx, 0x18
and ecx, 0xff
movzx ecx, byte [ecx + 0x620258]
movzx edx, byte [edx + 0x620258]
shl edx, 0x18
shl ecx, 0x10
xor edx, ecx
mov ecx, dword [ebp - 0x10]
shr ecx, 8
and ecx, 0xff
movzx ecx, byte [ecx + 0x620258]
shl ecx, 8
xor edx, ecx
mov ecx, dword [ebp - 0xc]
and ecx, 0xff
movzx ecx, byte [ecx + 0x620258]
xor edx, ecx
xor edx, dword [eax]
mov ecx, edx
shr ecx, 0x18
mov byte [ebx], cl
mov ecx, edx
mov ebx, dword [ebp + 0xc]
shr ecx, 0x10
mov byte [ebx + 1], cl
mov ecx, edx
mov ebx, dword [ebp + 0xc]
shr ecx, 8
mov byte [ebx + 2], cl
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 3], dl
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp + 0xc]
shr edx, 0x18
mov cl, byte [edx + 0x620258]
mov edx, dword [ebp - 8]
shr edx, 0x10
and edx, 0xff
shl ecx, 0x18
movzx edx, byte [edx + 0x620258]
shl edx, 0x10
xor ecx, edx
mov edx, dword [ebp - 0x14]
shr edx, 8
and edx, 0xff
movzx edx, byte [edx + 0x620258]
shl edx, 8
xor ecx, edx
mov edx, dword [ebp - 0x10]
and edx, 0xff
movzx edx, byte [edx + 0x620258]
xor ecx, edx
xor ecx, dword [eax + 4]
mov edx, ecx
shr edx, 0x18
mov byte [ebx + 4], dl
mov edx, ecx
mov ebx, dword [ebp + 0xc]
shr edx, 0x10
mov byte [ebx + 5], dl
mov edx, ecx
mov ebx, dword [ebp + 0xc]
shr edx, 8
mov byte [ebx + 6], dl
mov edx, dword [ebp + 0xc]
mov byte [edx + 7], cl
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
shr ecx, 0x18
shr edx, 0x10
movzx esi, byte [ecx + 0x620258]
and edx, 0xff
xor ecx, ecx
shl esi, 0x18
mov cl, byte [edx + 0x620258]
mov edx, dword [ebp - 8]
shr edx, 8
shl ecx, 0x10
and edx, 0xff
xor esi, ecx
xor ecx, ecx
mov cl, byte [edx + 0x620258]
mov edx, dword [ebp - 0x14]
shl ecx, 8
and edx, 0xff
xor esi, ecx
xor ecx, ecx
mov cl, byte [edx + 0x620258]
xor esi, ecx
mov ecx, dword [ebp + 0xc]
xor esi, dword [eax + 8]
mov edx, esi
shr edx, 0x18
mov byte [ecx + 8], dl
mov edx, esi
mov ecx, dword [ebp + 0xc]
shr edx, 0x10
mov byte [ecx + 9], dl
mov edx, esi
mov ecx, dword [ebp + 0xc]
shr edx, 8
mov byte [ecx + 0xa], dl
mov edx, esi
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0xb], dl
xor ecx, ecx
mov edx, dword [ebp - 0x14]
shr edx, 0x18
mov cl, byte [edx + 0x620258]
mov edx, dword [ebp - 0x10]
shr edx, 0x10
and edx, 0xff
shl ecx, 0x18
movzx edx, byte [edx + 0x620258]
shl edx, 0x10
xor ecx, edx
mov edx, dword [ebp - 0xc]
shr edx, 8
and edx, 0xff
movzx edx, byte [edx + 0x620258]
shl edx, 8
xor ecx, edx
mov edx, dword [ebp - 8]
and edx, 0xff
movzx edx, byte [edx + 0x620258]
xor ecx, edx
xor ecx, dword [eax + 0xc]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
shr eax, 0x18
mov byte [ecx + 0xc], al
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
shr eax, 0x10
mov byte [edx + 0xd], al
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
shr ecx, 8
mov byte [eax + 0xe], cl
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 4]
mov byte [ecx + 0xf], dl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret