Function at 0x1008ef00
Capabilities:
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], 0
push 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call fcn.100cadeb
add esp, 8
mov esi, eax
and esi, 0xff00ff
push 8
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
call fcn.100caddd
add esp, 8
and eax, 0xff00ff00
or esi, eax
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
push 8
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
push eax
call fcn.100cadeb
add esp, 8
mov esi, eax
and esi, 0xff00ff
push 8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
push edx
call fcn.100caddd
add esp, 8
and eax, 0xff00ff00
or esi, eax
mov eax, dword [ebp + 8]
mov dword [eax + 4], esi
push 8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
push edx
call fcn.100cadeb
add esp, 8
mov esi, eax
and esi, 0xff00ff
push 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
push ecx
call fcn.100caddd
add esp, 8
and eax, 0xff00ff00
or esi, eax
mov edx, dword [ebp + 8]
mov dword [edx + 8], esi
push 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.100cadeb
add esp, 8
mov esi, eax
and esi, 0xff00ff
push 8
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
push eax
call fcn.100caddd
add esp, 8
and eax, 0xff00ff00
or esi, eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], esi
cmp dword [ebp + 0x10], 0x80
jne 0x1008f0db
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [ecx*4 + str.ccccwwww]
and edx, 0xff000000
mov eax, dword [ebp + 8]
xor edx, dword [eax]
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff
mov eax, dword [ecx*4 + str.ccccwwww]
and eax, 0xff0000
xor edx, eax
mov ecx, dword [ebp - 8]
and ecx, 0xff
mov eax, dword [ecx*4 + str.ccccwwww]
and eax, 0xff00
xor edx, eax
mov ecx, dword [ebp - 8]
shr ecx, 0x18
mov eax, dword [ecx*4 + str.ccccwwww]
and eax, 0xff
xor edx, eax
mov ecx, dword [ebp - 4]
xor edx, dword [ecx*4 + 0x100f90f0]
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 4]
xor eax, dword [edx + 0x10]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 8]
xor ecx, dword [eax + 0x14]
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0xc]
xor edx, dword [ecx + 0x18]
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], edx
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0xa
jne 0x1008f0cd
mov eax, 0xa
jmp 0x1008f452
mov edx, dword [ebp + 8]
add edx, 0x10
mov dword [ebp + 8], edx
jmp 0x1008f002
push 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
push ecx
call fcn.100cadeb
add esp, 8
mov esi, eax
and esi, 0xff00ff
push 8
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x10]
push eax
call fcn.100caddd
add esp, 8
and eax, 0xff00ff00
or esi, eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], esi
push 8
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x14]
push eax
call fcn.100cadeb
add esp, 8
mov esi, eax
and esi, 0xff00ff
push 8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x14]
push edx
call fcn.100caddd
add esp, 8
and eax, 0xff00ff00
or esi, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], esi
cmp dword [ebp + 0x10], 0xc0
jne 0x1008f253
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [eax*4 + str.ccccwwww]
and ecx, 0xff000000
mov edx, dword [ebp + 8]
xor ecx, dword [edx]
mov eax, dword [ebp - 8]
shr eax, 8
and eax, 0xff
mov edx, dword [eax*4 + str.ccccwwww]
and edx, 0xff0000
xor ecx, edx
mov eax, dword [ebp - 8]
and eax, 0xff
mov edx, dword [eax*4 + str.ccccwwww]
and edx, 0xff00
xor ecx, edx
mov eax, dword [ebp - 8]
shr eax, 0x18
mov edx, dword [eax*4 + str.ccccwwww]
and edx, 0xff
xor ecx, edx
mov eax, dword [ebp - 4]
xor ecx, dword [eax*4 + 0x100f90f0]
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 4]
xor edx, dword [ecx + 0x18]
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 8]
xor eax, dword [edx + 0x1c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0xc]
xor ecx, dword [eax + 0x20]
mov edx, dword [ebp + 8]
mov dword [edx + 0x24], ecx
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 8
jne 0x1008f221
mov eax, 0xc
jmp 0x1008f452
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
xor eax, dword [edx + 0x24]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x14]
xor ecx, dword [eax + 0x28]
mov edx, dword [ebp + 8]
mov dword [edx + 0x2c], ecx
mov eax, dword [ebp + 8]
add eax, 0x18
mov dword [ebp + 8], eax
jmp 0x1008f156
push 8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
push edx
call fcn.100cadeb
add esp, 8
mov esi, eax
and esi, 0xff00ff
push 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
push ecx
call fcn.100caddd
add esp, 8
and eax, 0xff00ff00
or esi, eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], esi
push 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x1c]
push ecx
call fcn.100cadeb
add esp, 8
mov esi, eax
and esi, 0xff00ff
push 8
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x1c]
push eax
call fcn.100caddd
add esp, 8
and eax, 0xff00ff00
or esi, eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1c], esi
cmp dword [ebp + 0x10], 0x100
jne 0x1008f450
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [ecx*4 + str.ccccwwww]
and edx, 0xff000000
mov eax, dword [ebp + 8]
xor edx, dword [eax]
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff
mov eax, dword [ecx*4 + str.ccccwwww]
and eax, 0xff0000
xor edx, eax
mov ecx, dword [ebp - 8]
and ecx, 0xff
mov eax, dword [ecx*4 + str.ccccwwww]
and eax, 0xff00
xor edx, eax
mov ecx, dword [ebp - 8]
shr ecx, 0x18
mov eax, dword [ecx*4 + str.ccccwwww]
and eax, 0xff
xor edx, eax
mov ecx, dword [ebp - 4]
xor edx, dword [ecx*4 + 0x100f90f0]
mov eax, dword [ebp + 8]
mov dword [eax + 0x20], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 4]
xor eax, dword [edx + 0x20]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x24], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 8]
xor ecx, dword [eax + 0x24]
mov edx, dword [ebp + 8]
mov dword [edx + 0x28], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0xc]
xor edx, dword [ecx + 0x28]
mov eax, dword [ebp + 8]
mov dword [eax + 0x2c], edx
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 7
jne 0x1008f399
mov eax, 0xe
jmp 0x1008f452
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
shr ecx, 0x18
mov edx, dword [ecx*4 + str.ccccwwww]
and edx, 0xff000000
mov eax, dword [ebp + 8]
xor edx, dword [eax + 0x10]
mov ecx, dword [ebp - 8]
shr ecx, 0x10
and ecx, 0xff
mov eax, dword [ecx*4 + str.ccccwwww]
and eax, 0xff0000
xor edx, eax
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff
mov eax, dword [ecx*4 + str.ccccwwww]
and eax, 0xff00
xor edx, eax
mov ecx, dword [ebp - 8]
and ecx, 0xff
mov eax, dword [ecx*4 + str.ccccwwww]
and eax, 0xff
xor edx, eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], edx
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x14]
xor ecx, dword [eax + 0x30]
mov edx, dword [ebp + 8]
mov dword [edx + 0x34], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x18]
xor edx, dword [ecx + 0x34]
mov eax, dword [ebp + 8]
mov dword [eax + 0x38], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x1c]
xor eax, dword [edx + 0x38]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x3c], eax
mov edx, dword [ebp + 8]
add edx, 0x20
mov dword [ebp + 8], edx
jmp 0x1008f2ce
xor eax, eax
pop esi
add esp, 8
cmp ebp, esp
call fcn.100c8ed9
mov esp, ebp
pop ebp
ret