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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1009d1c0
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x1009d810
mov eax, dword [ebp - 0x10]
jmp 0x1009db4c
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0xf0]
shl edx, 2
mov dword [ebp - 0xc], edx
jmp 0x1009d840
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
sub ecx, 4
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
jge 0x1009d905
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov edx, dword [esi + edx*4]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*4 + 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov edx, dword [esi + edx*4 + 4]
mov dword [ecx + eax*4 + 4], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + eax*4 + 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*4 + 8]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov edx, dword [esi + edx*4 + 8]
mov dword [ecx + eax*4 + 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + eax*4 + 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*4 + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov edx, dword [esi + edx*4 + 0xc]
mov dword [ecx + eax*4 + 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + eax*4 + 0xc], edx
jmp 0x1009d82e
mov dword [ebp - 8], 1
jmp 0x1009d917
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx + 0xf0]
jge 0x1009db4a
mov eax, dword [ebp - 4]
add eax, 0x10
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
shr edx, 0x18
mov eax, dword [edx*4 + 0x100fa5c8]
and eax, 0xff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
shr edx, 0x10
and edx, 0xff
mov ecx, dword [edx*4 + 0x100fa5c8]
and ecx, 0xff
mov edx, dword [eax*4 + 0x100fb1c8]
xor edx, dword [ecx*4 + 0x100fb5c8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
shr ecx, 8
and ecx, 0xff
mov eax, dword [ecx*4 + 0x100fa5c8]
and eax, 0xff
xor edx, dword [eax*4 + 0x100fb9c8]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
and eax, 0xff
mov ecx, dword [eax*4 + 0x100fa5c8]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x100fbdc8]
mov eax, dword [ebp - 4]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
shr edx, 0x18
mov eax, dword [edx*4 + 0x100fa5c8]
and eax, 0xff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
shr edx, 0x10
and edx, 0xff
mov ecx, dword [edx*4 + 0x100fa5c8]
and ecx, 0xff
mov edx, dword [eax*4 + 0x100fb1c8]
xor edx, dword [ecx*4 + 0x100fb5c8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
shr ecx, 8
and ecx, 0xff
mov eax, dword [ecx*4 + 0x100fa5c8]
and eax, 0xff
xor edx, dword [eax*4 + 0x100fb9c8]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 4]
and eax, 0xff
mov ecx, dword [eax*4 + 0x100fa5c8]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x100fbdc8]
mov eax, dword [ebp - 4]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
shr edx, 0x18
mov eax, dword [edx*4 + 0x100fa5c8]
and eax, 0xff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xff
mov ecx, dword [edx*4 + 0x100fa5c8]
and ecx, 0xff
mov edx, dword [eax*4 + 0x100fb1c8]
xor edx, dword [ecx*4 + 0x100fb5c8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
shr ecx, 8
and ecx, 0xff
mov eax, dword [ecx*4 + 0x100fa5c8]
and eax, 0xff
xor edx, dword [eax*4 + 0x100fb9c8]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 8]
and eax, 0xff
mov ecx, dword [eax*4 + 0x100fa5c8]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x100fbdc8]
mov eax, dword [ebp - 4]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
shr edx, 0x18
mov eax, dword [edx*4 + 0x100fa5c8]
and eax, 0xff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0xff
mov ecx, dword [edx*4 + 0x100fa5c8]
and ecx, 0xff
mov edx, dword [eax*4 + 0x100fb1c8]
xor edx, dword [ecx*4 + 0x100fb5c8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
shr ecx, 8
and ecx, 0xff
mov eax, dword [ecx*4 + 0x100fa5c8]
and eax, 0xff
xor edx, dword [eax*4 + 0x100fb9c8]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0xc]
and eax, 0xff
mov ecx, dword [eax*4 + 0x100fa5c8]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x100fbdc8]
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], edx
jmp 0x1009d90e
xor eax, eax
pop esi
add esp, 0x14
cmp ebp, esp
call fcn.100c8ed9
mov esp, ebp
pop ebp
ret