Function at 0x1001adc7
Capabilities:
Encode data using xor

Disassembly:
push 0x8c
mov eax, 0x100737b1
call fcn.1003bf6c
mov edi, ecx
movzx eax, word [edi + 0x138]
xor ebx, ebx
movzx edx, word [edi + 0x136]
movaps xmm0, xmmword [0x1008a3f0]
push eax
mov word [edi + 0x13e], dx
push edx
mov word [edi + 0x140], ax
mov edx, ebx
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x5f12535e
mov byte [ebp - 0x1c], bl
mov cl, byte [ebp - 0x30]
xor byte [ebp + edx - 0x2f], cl
inc edx
cmp edx, 0x13
jb 0x1001ae0f
sub esp, 0x18
mov byte [ebp - 0x1c], bl
lea eax, [ebp - 0x2f]
mov ecx, esp
push eax
call fcn.10004179
lea eax, [ebp - 0x68]
push eax
call fcn.10003c43
add esp, 0x24
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], 0x10
jb 0x1001ae44
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x50]
call fcn.10004179
mov byte [ebp - 4], 1
lea edx, [ebp - 0x50]
mov ecx, dword [edi + 0xc]
call fcn.1000de6f
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.1000402e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
push ebx
push 1
call fcn.1000402e
lea esi, [edi + 0x44]
mov dword [ebp - 0x34], 3
lea ebx, [edi + 0x12a]
movzx eax, word [ebx - 6]
mov dword [esi], eax
mov ax, word [ebx]
mov ecx, dword [esi]
mov word [esi + 4], ax
mov al, byte [edi + 0x13b]
mov byte [esi + 6], al
call fcn.10008ebd
test eax, eax
je 0x1001af3f
movzx eax, word [esi + 4]
mov cl, 0x61
push eax
mov dword [ebp - 0x2c], 0xf142961
xor edx, edx
mov dword [ebp - 0x28], 0x414c4115
mov dword [ebp - 0x24], 0x414e4151
mov word [ebp - 0x20], 0x544
mov byte [ebp - 0x1e], 0
xor cl, byte [ebp + edx - 0x2b]
mov byte [ebp + edx - 0x2b], cl
inc edx
cmp edx, 0xd
jae 0x1001aee6
mov cl, byte [ebp - 0x2c]
jmp 0x1001aed3
sub esp, 0x18
mov byte [ebp - 0x1e], 0
lea eax, [ebp - 0x2b]
mov ecx, esp
push eax
call fcn.10004179
lea eax, [ebp - 0x68]
push eax
call fcn.10003c43
add esp, 0x20
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x1001af13
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x50]
call fcn.10004179
mov byte [ebp - 4], 3
lea edx, [ebp - 0x50]
mov ecx, dword [esi + 0xc]
call fcn.1000de6f
push 0
push 1
lea ecx, [ebp - 0x50]
call fcn.1000402e
lea ecx, [ebp - 0x68]
jmp 0x1001afd6
cmp dword [esi], 1
jne 0x1001affc
cmp byte [esi + 6], 0
je 0x1001affc
movzx eax, word [esi + 4]
mov cl, 0x41
push eax
mov dword [ebp - 0x18], 0x6e617141
xor edx, edx
mov dword [ebp - 0x14], 0x256461
xor cl, byte [ebp + edx - 0x17]
mov byte [ebp + edx - 0x17], cl
inc edx
cmp edx, 6
jae 0x1001af7c
mov cl, byte [ebp - 0x18]
jmp 0x1001af69
sub esp, 0x18
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x17]
mov ecx, esp
push eax
call fcn.10004179
lea eax, [ebp - 0x98]
push eax
call fcn.10003c43
add esp, 0x20
mov dword [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x1001afac
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x80]
call fcn.10004179
mov byte [ebp - 4], 5
lea edx, [ebp - 0x80]
mov ecx, dword [esi + 0xc]
call fcn.1000de6f
push 0
push 1
lea ecx, [ebp - 0x80]
call fcn.1000402e
lea ecx, [ebp - 0x98]
or dword [ebp - 4], 0xffffffff
push 0
push 1
call fcn.1000402e
mov ecx, dword [esi + 0xc]
or edx, 0xffffffff
call fcn.1000deb5
movzx eax, word [esi + 4]
mov ecx, dword [esi + 0x10]
push eax
call fcn.1000dcbd
pop ecx
add ebx, 2
add esi, 0x18
sub dword [ebp - 0x34], 1
jne 0x1001ae86
call fcn.1003bf35
ret