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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
push ebx
push esi
push edi
lea edi, [ebp - 0xfc]
mov ecx, 0x3f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10044fa0
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jge 0x10045553
mov eax, dword [ebp - 0x2c]
jmp 0x1004588f
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0xf0]
shl ecx, 2
mov dword [ebp - 0x20], ecx
jmp 0x10045583
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x20]
sub ecx, 4
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x20]
jge 0x10045648
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 8]
mov edx, dword [esi + edx*4]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x38]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 4]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 8]
mov edx, dword [esi + edx*4 + 4]
mov dword [ecx + eax*4 + 4], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x38]
mov dword [ecx + eax*4 + 4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 8]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 8]
mov edx, dword [esi + edx*4 + 8]
mov dword [ecx + eax*4 + 8], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x38]
mov dword [ecx + eax*4 + 8], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 0xc]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 8]
mov edx, dword [esi + edx*4 + 0xc]
mov dword [ecx + eax*4 + 0xc], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x38]
mov dword [ecx + eax*4 + 0xc], edx
jmp 0x10045571
mov dword [ebp - 0x14], 1
jmp 0x1004565a
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax + 0xf0]
jge 0x1004588d
mov eax, dword [ebp - 8]
add eax, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
shr ecx, 0x18
mov edx, dword [ecx*4 + 0x101513b0]
and edx, 0xff
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
shr ecx, 0x10
and ecx, 0xff
mov eax, dword [ecx*4 + 0x101513b0]
and eax, 0xff
mov ecx, dword [edx*4 + 0x10151fb0]
xor ecx, dword [eax*4 + 0x101523b0]
mov edx, dword [ebp - 8]
mov eax, dword [edx]
shr eax, 8
and eax, 0xff
mov edx, dword [eax*4 + 0x101513b0]
and edx, 0xff
xor ecx, dword [edx*4 + 0x101527b0]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
and edx, 0xff
mov eax, dword [edx*4 + 0x101513b0]
and eax, 0xff
xor ecx, dword [eax*4 + 0x10152bb0]
mov edx, dword [ebp - 8]
mov dword [edx], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
shr ecx, 0x18
mov edx, dword [ecx*4 + 0x101513b0]
and edx, 0xff
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
shr ecx, 0x10
and ecx, 0xff
mov eax, dword [ecx*4 + 0x101513b0]
and eax, 0xff
mov ecx, dword [edx*4 + 0x10151fb0]
xor ecx, dword [eax*4 + 0x101523b0]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
shr eax, 8
and eax, 0xff
mov edx, dword [eax*4 + 0x101513b0]
and edx, 0xff
xor ecx, dword [edx*4 + 0x101527b0]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 4]
and edx, 0xff
mov eax, dword [edx*4 + 0x101513b0]
and eax, 0xff
xor ecx, dword [eax*4 + 0x10152bb0]
mov edx, dword [ebp - 8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
shr ecx, 0x18
mov edx, dword [ecx*4 + 0x101513b0]
and edx, 0xff
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xff
mov eax, dword [ecx*4 + 0x101513b0]
and eax, 0xff
mov ecx, dword [edx*4 + 0x10151fb0]
xor ecx, dword [eax*4 + 0x101523b0]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
shr eax, 8
and eax, 0xff
mov edx, dword [eax*4 + 0x101513b0]
and edx, 0xff
xor ecx, dword [edx*4 + 0x101527b0]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 8]
and edx, 0xff
mov eax, dword [edx*4 + 0x101513b0]
and eax, 0xff
xor ecx, dword [eax*4 + 0x10152bb0]
mov edx, dword [ebp - 8]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
shr ecx, 0x18
mov edx, dword [ecx*4 + 0x101513b0]
and edx, 0xff
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xff
mov eax, dword [ecx*4 + 0x101513b0]
and eax, 0xff
mov ecx, dword [edx*4 + 0x10151fb0]
xor ecx, dword [eax*4 + 0x101523b0]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
shr eax, 8
and eax, 0xff
mov edx, dword [eax*4 + 0x101513b0]
and edx, 0xff
xor ecx, dword [edx*4 + 0x101527b0]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0xc]
and edx, 0xff
mov eax, dword [edx*4 + 0x101513b0]
and eax, 0xff
xor ecx, dword [eax*4 + 0x10152bb0]
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], ecx
jmp 0x10045651
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0xfc
cmp ebp, esp
call fcn.101354d4
mov esp, ebp
pop ebp
ret