Function at 0x1001de40
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
mov eax, 0x10
call fcn.10086e00
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
mov eax, dword [ebx]
push edi
mov edi, dword [esp + 0x2c]
mov ecx, eax
ror ecx, 8
mov esi, dword [edi]
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov eax, dword [ebx + 4]
xor ecx, esi
mov esi, eax
ror esi, 8
and esi, 0xff00ff00
mov dword [esp + 0x1c], ecx
rol eax, 8
and eax, 0xff00ff
or esi, eax
mov eax, dword [edi + 4]
xor esi, eax
mov eax, dword [ebx + 8]
mov edx, eax
mov ebx, dword [ebx + 0xc]
ror edx, 8
and edx, 0xff00ff00
mov dword [esp + 0x2c], esi
rol eax, 8
and eax, 0xff00ff
or edx, eax
mov eax, dword [edi + 8]
xor edx, eax
mov eax, ebx
ror eax, 8
and eax, 0xff00ff00
mov dword [esp + 0x10], edx
rol ebx, 8
and ebx, 0xff00ff
or eax, ebx
mov ebx, dword [edi + 0xc]
xor eax, ebx
xor ebx, ebx
mov bl, dh
xor edx, edx
mov dl, byte [esp + 0x2e]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], edx
mov edx, dword [ebx*4 + 0x1008d3f8]
mov ebx, dword [esp + 0x24]
shr esi, 0x18
mov ebp, dword [ebx*4 + 0x1008cff8]
mov ebx, ecx
shr ebx, 0x18
xor edx, ebp
mov ebp, dword [ebx*4 + 0x1008cbf8]
mov ebx, eax
and ebx, 0xff
xor edx, ebp
mov ebp, dword [ebx*4 + 0x1008d7f8]
xor ebx, ebx
mov bl, ah
xor edx, ebp
mov ebp, dword [edi + 0x10]
xor eax, eax
mov al, byte [esp + 0x12]
xor edx, ebp
mov ebp, dword [ebx*4 + 0x1008d3f8]
mov dword [esp + 0x18], edx
mov ebx, dword [eax*4 + 0x1008cff8]
mov eax, ecx
xor ebp, ebx
mov ebx, dword [esi*4 + 0x1008cbf8]
xor ebp, ebx
and eax, 0xff
mov ebx, dword [eax*4 + 0x1008d7f8]
xor ebp, ebx
xor eax, eax
mov al, byte [esp + 0x16]
xor ebx, ebx
mov esi, dword [edi + 0x14]
mov bl, ch
mov eax, dword [eax*4 + 0x1008cff8]
xor ebp, esi
mov ecx, dword [ebx*4 + 0x1008d3f8]
mov dword [esp + 0x24], ebp
xor eax, ecx
mov ecx, dword [esp + 0x10]
shr ecx, 0x18
mov esi, dword [ecx*4 + 0x1008cbf8]
mov ecx, dword [esp + 0x2c]
xor eax, esi
mov esi, ecx
and esi, 0xff
mov ebx, dword [esi*4 + 0x1008d7f8]
xor eax, ebx
mov ebx, dword [edi + 0x18]
xor eax, ebx
xor ebx, ebx
mov bl, ch
xor ecx, ecx
mov cl, byte [esp + 0x1e]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx*4 + 0x1008d3f8]
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebx*4 + 0x1008cff8]
xor ecx, esi
mov esi, dword [esp + 0x14]
shr esi, 0x18
mov ebx, dword [esi*4 + 0x1008cbf8]
mov esi, dword [esp + 0x10]
and esi, 0xff
xor ecx, ebx
mov ebx, dword [esi*4 + 0x1008d7f8]
mov esi, dword [edi + 0x1c]
xor ecx, ebx
xor ecx, esi
lea esi, [edi + 0x20]
mov edi, dword [edi + 0xf0]
mov dword [esp + 0x14], ecx
sar edi, 1
dec edi
je 0x1001e249
mov ebp, edi
xor edx, edx
xor ebx, ebx
mov bl, byte [esp + 0x26]
mov dl, ah
mov edi, dword [edx*4 + 0x1008d3f8]
mov edx, dword [ebx*4 + 0x1008cff8]
xor edi, edx
mov edx, dword [esp + 0x18]
mov ebx, edx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x1008cbf8]
mov ebx, ecx
and ebx, 0xff
xor edi, dword [ebx*4 + 0x1008d7f8]
mov ebx, dword [esi]
xor edi, ebx
xor ebx, ebx
mov bl, ch
xor ecx, ecx
mov cl, byte [esp + 0x2e]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx*4 + 0x1008d3f8]
mov ebx, dword [esp + 0x2c]
mov edi, dword [ebx*4 + 0x1008cff8]
xor ecx, edi
mov edi, dword [esp + 0x24]
shr edi, 0x18
mov ebx, dword [edi*4 + 0x1008cbf8]
mov edi, edx
and edi, 0xff
xor ecx, ebx
mov ebx, dword [edi*4 + 0x1008d7f8]
mov edi, dword [esi + 4]
xor ecx, ebx
xor ebx, ebx
xor ecx, edi
mov bl, dh
mov dword [esp + 0x2c], ecx
xor ecx, ecx
mov cl, byte [esp + 0x16]
mov edx, dword [ebx*4 + 0x1008d3f8]
mov ecx, dword [ecx*4 + 0x1008cff8]
xor ecx, edx
mov edx, eax
shr edx, 0x18
and eax, 0xff
mov edi, dword [edx*4 + 0x1008cbf8]
mov edx, dword [esp + 0x24]
xor ecx, edi
mov edi, edx
and edi, 0xff
mov ebx, dword [edi*4 + 0x1008d7f8]
xor ecx, ebx
mov ebx, dword [esi + 8]
xor ecx, ebx
xor ebx, ebx
mov bl, dh
xor edx, edx
mov dl, byte [esp + 0x1a]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], edx
mov edx, dword [ebx*4 + 0x1008d3f8]
mov ebx, dword [esp + 0x24]
mov edi, dword [ebx*4 + 0x1008cff8]
xor edx, edi
mov edi, dword [esp + 0x14]
shr edi, 0x18
mov ebx, dword [edi*4 + 0x1008cbf8]
mov edi, dword [esi + 0xc]
xor edx, ebx
mov ebx, dword [eax*4 + 0x1008d7f8]
xor edx, ebx
xor eax, eax
xor edx, edi
xor ebx, ebx
mov bl, byte [esp + 0x2e]
mov al, ch
mov dword [esp + 0x14], edx
mov edi, dword [eax*4 + 0x1008d3f8]
mov eax, dword [ebx*4 + 0x1008cff8]
xor edi, eax
mov eax, dword [esp + 0x1c]
mov ebx, eax
add esi, 0x20
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x1008cbf8]
mov ebx, edx
and ebx, 0xff
xor edi, dword [ebx*4 + 0x1008d7f8]
mov ebx, dword [esi - 0x10]
xor edi, ebx
xor ebx, ebx
mov bl, dh
xor edx, edx
mov dl, byte [esp + 0x12]
mov dword [esp + 0x18], edi
mov edi, dword [ebx*4 + 0x1008d3f8]
mov ebx, dword [edx*4 + 0x1008cff8]
mov edx, dword [esp + 0x2c]
shr edx, 0x18
xor edi, ebx
mov ebx, dword [edx*4 + 0x1008cbf8]
mov edx, eax
and edx, 0xff
xor edi, ebx
mov ebx, dword [edx*4 + 0x1008d7f8]
xor edx, edx
mov dl, byte [esp + 0x16]
xor edi, ebx
mov ebx, dword [esi - 0xc]
xor edi, ebx
xor ebx, ebx
mov bl, ah
mov eax, dword [edx*4 + 0x1008cff8]
mov dword [esp + 0x24], edi
mov edx, dword [ebx*4 + 0x1008d3f8]
xor eax, edx
mov edx, ecx
shr edx, 0x18
and ecx, 0xff
mov edi, dword [edx*4 + 0x1008cbf8]
mov edx, dword [esp + 0x2c]
xor eax, edi
mov edi, edx
and edi, 0xff
mov ebx, dword [edi*4 + 0x1008d7f8]
mov edi, dword [esi - 8]
xor eax, ebx
xor ebx, ebx
mov bl, dh
xor edx, edx
mov dl, byte [esp + 0x1e]
xor eax, edi
mov edi, dword [ebx*4 + 0x1008d3f8]
mov dword [esp + 0x2c], eax
mov ebx, dword [edx*4 + 0x1008cff8]
mov edx, dword [esp + 0x14]
shr edx, 0x18
xor edi, ebx
mov ebx, dword [edx*4 + 0x1008cbf8]
mov edx, dword [ecx*4 + 0x1008d7f8]
xor edi, ebx
mov ebx, dword [esi - 4]
xor edi, edx
xor edi, ebx
dec ebp
mov ecx, edi
mov dword [esp + 0x14], ecx
jne 0x1001e00b
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
xor ebx, ebx
mov bl, byte [esp + 0x26]
shr ebp, 0x18
mov edi, dword [ebx*4 + str.ccccwwww]
xor ebx, ebx
mov bl, ah
and edi, 0xff0000