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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.00554050
add esp, 0xc
test eax, eax
jl 0x5546e1
mov eax, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0xf0]
shl edx, 2
mov dword [ebp - 8], edx
mov edx, eax
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
cmp ebx, dword [ebp - 8]
lea ecx, [eax + ecx*4]
jge 0x5544e1
mov ebx, dword [edx]
mov esi, dword [ecx]
mov dword [edx], esi
mov dword [ecx], ebx
mov ebx, dword [edx + 4]
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov dword [ecx + 4], ebx
mov ebx, dword [edx + 8]
mov esi, dword [ecx + 8]
mov dword [edx + 8], esi
mov dword [ecx + 8], ebx
mov ebx, dword [edx + 0xc]
mov esi, dword [ecx + 0xc]
mov dword [edx + 0xc], esi
mov dword [ecx + 0xc], ebx
add dword [ebp - 4], 4
sub dword [ebp - 8], 4
mov ebx, dword [ebp - 4]
add ecx, 0xfffffff0
add edx, 0x10
cmp ebx, dword [ebp - 8]
jl 0x55449f
mov dword [ebp - 4], 1
jmp 0x5546cd
add eax, 0x10
mov edx, dword [eax]
mov ecx, edx
mov ebx, edx
shr ebx, 0x10
shr ecx, 0x18
and ebx, 0xff
mov ecx, dword [ecx*4 + 0x61e658]
mov ebx, dword [ebx*4 + 0x61e658]
and ecx, 0xff
and ebx, 0xff
mov ecx, dword [ecx*4 + 0x61f258]
xor ecx, dword [ebx*4 + 0x61f658]
mov ebx, edx
shr ebx, 8
and edx, 0xff
and ebx, 0xff
mov edx, dword [edx*4 + 0x61e658]
and edx, 0xff
mov ebx, dword [ebx*4 + 0x61e658]
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x61fa58]
xor ecx, dword [edx*4 + 0x61fe58]
mov dword [eax], ecx
mov edx, dword [eax + 4]
mov ecx, edx
mov ebx, edx
shr ebx, 0x10
shr ecx, 0x18
and ebx, 0xff
mov ecx, dword [ecx*4 + 0x61e658]
mov ebx, dword [ebx*4 + 0x61e658]
and ecx, 0xff
and ebx, 0xff
mov ecx, dword [ecx*4 + 0x61f258]
xor ecx, dword [ebx*4 + 0x61f658]
mov ebx, edx
shr ebx, 8
and edx, 0xff
and ebx, 0xff
mov edx, dword [edx*4 + 0x61e658]
and edx, 0xff
mov ebx, dword [ebx*4 + 0x61e658]
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x61fa58]
xor ecx, dword [edx*4 + 0x61fe58]
mov dword [eax + 4], ecx
mov edx, dword [eax + 8]
mov ecx, edx
mov ebx, edx
shr ebx, 0x10
shr ecx, 0x18
and ebx, 0xff
mov ecx, dword [ecx*4 + 0x61e658]
mov ebx, dword [ebx*4 + 0x61e658]
and ecx, 0xff
and ebx, 0xff
mov ecx, dword [ecx*4 + 0x61f258]
xor ecx, dword [ebx*4 + 0x61f658]
mov ebx, edx
shr ebx, 8
and edx, 0xff
and ebx, 0xff
mov edx, dword [edx*4 + 0x61e658]
and edx, 0xff
mov ebx, dword [ebx*4 + 0x61e658]
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x61fa58]
xor ecx, dword [edx*4 + 0x61fe58]
mov dword [eax + 8], ecx
mov edx, dword [eax + 0xc]
mov ecx, edx
mov ebx, edx
shr ebx, 0x10
shr ecx, 0x18
and ebx, 0xff
mov ecx, dword [ecx*4 + 0x61e658]
mov ebx, dword [ebx*4 + 0x61e658]
and ecx, 0xff
and ebx, 0xff
mov ecx, dword [ecx*4 + 0x61f258]
xor ecx, dword [ebx*4 + 0x61f658]
mov ebx, edx
shr ebx, 8
and edx, 0xff
and ebx, 0xff
mov edx, dword [edx*4 + 0x61e658]
and edx, 0xff
mov ebx, dword [ebx*4 + 0x61e658]
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x61fa58]
xor ecx, dword [edx*4 + 0x61fe58]
mov dword [eax + 0xc], ecx
inc dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0xf0]
cmp edx, dword [ebp - 4]
jg 0x5544ed
xor eax, eax
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret