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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004713e0
add esp, 0xc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
jge 0x4719d5
mov eax, dword [ebp - 0x10]
jmp 0x471d19
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], edx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 0xf0]
shl edx, 2
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp ecx, eax
jge 0x471ac7
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + eax*4 + 4]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + eax*4 + 4]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + eax*4 + 4], ecx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [eax + ecx*4 + 4], edx
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + ecx*4 + 8]
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov edx, dword [eax + ecx*4 + 8]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov dword [ecx + edx*4 + 8], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + edx*4 + 0xc]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + edx*4 + 0xc]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ecx + edx*4 + 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [edx + eax*4 + 0xc], ecx
add dword [ebp - 8], 4
sub dword [ebp - 0xc], 4
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
cmp eax, edx
jl 0x4719fd
mov dword [ebp - 8], 1
jmp 0x471d03
add dword [ebp - 4], 0x10
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
shr eax, 0x18
mov edx, dword [eax*4 + 0x4d54cc]
and edx, 0xff
mov ecx, dword [edx*4 + 0x4d58cc]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
shr edx, 0x10
and edx, 0xff
mov eax, dword [edx*4 + 0x4d54cc]
and eax, 0xff
mov edx, dword [eax*4 + 0x4d5ccc]
xor ecx, edx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
shr edx, 8
and edx, 0xff
mov eax, dword [edx*4 + 0x4d54cc]
and eax, 0xff
mov edx, dword [eax*4 + 0x4d60cc]
xor ecx, edx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
and edx, 0xff
mov eax, dword [edx*4 + 0x4d54cc]
and eax, 0xff
mov edx, dword [eax*4 + 0x4d64cc]
xor ecx, edx
mov eax, dword [ebp - 4]
mov dword [eax], ecx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 4]
shr ecx, 0x18
mov eax, dword [ecx*4 + 0x4d54cc]
and eax, 0xff
mov edx, dword [eax*4 + 0x4d58cc]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 4]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [eax*4 + 0x4d54cc]
and ecx, 0xff
mov eax, dword [ecx*4 + 0x4d5ccc]
xor edx, eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 4]
shr eax, 8
and eax, 0xff
mov ecx, dword [eax*4 + 0x4d54cc]
and ecx, 0xff
mov eax, dword [ecx*4 + 0x4d60cc]
xor edx, eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 4]
and eax, 0xff
mov ecx, dword [eax*4 + 0x4d54cc]
and ecx, 0xff
mov eax, dword [ecx*4 + 0x4d64cc]
xor edx, eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
shr eax, 0x18
mov edx, dword [eax*4 + 0x4d54cc]
and edx, 0xff
mov ecx, dword [edx*4 + 0x4d58cc]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
shr edx, 0x10
and edx, 0xff
mov eax, dword [edx*4 + 0x4d54cc]
and eax, 0xff
mov edx, dword [eax*4 + 0x4d5ccc]
xor ecx, edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
shr edx, 8
and edx, 0xff
mov eax, dword [edx*4 + 0x4d54cc]
and eax, 0xff
mov edx, dword [eax*4 + 0x4d60cc]
xor ecx, edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
and edx, 0xff
mov eax, dword [edx*4 + 0x4d54cc]
and eax, 0xff
mov edx, dword [eax*4 + 0x4d64cc]
xor ecx, edx
mov eax, dword [ebp - 4]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0xc]
shr ecx, 0x18
mov eax, dword [ecx*4 + 0x4d54cc]
and eax, 0xff
mov edx, dword [eax*4 + 0x4d58cc]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0xc]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [eax*4 + 0x4d54cc]
and ecx, 0xff
mov eax, dword [ecx*4 + 0x4d5ccc]
xor edx, eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0xc]
shr eax, 8
and eax, 0xff
mov ecx, dword [eax*4 + 0x4d54cc]
and ecx, 0xff
mov eax, dword [ecx*4 + 0x4d60cc]
xor edx, eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0xc]
and eax, 0xff
mov ecx, dword [eax*4 + 0x4d54cc]
and ecx, 0xff
mov eax, dword [ecx*4 + 0x4d64cc]
xor edx, eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], edx
inc dword [ebp - 8]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0xf0]
mov edx, dword [ebp - 8]
cmp eax, edx
jg 0x471ad3
xor eax, eax
mov esp, ebp
pop ebp
ret