Function at 0x1001e077
Capabilities:
Encode data using xor

Disassembly:
push 0x8c
mov eax, 0x100793f4
call fcn.10040a29
mov edi, ecx
movzx eax, word [edi + 0x138]
xor ebx, ebx
movzx edx, word [edi + 0x136]
mov ecx, ebx
movaps xmm0, xmmword [0x10095460]
push eax
mov word [edi + 0x13e], dx
mov word [edi + 0x140], ax
push edx
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x4f02434e
mov byte [ebp - 0x1c], bl
mov al, byte [ebp - 0x30]
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0x13
jb 0x1001e0bf
sub esp, 0x18
mov byte [ebp - 0x1c], bl
lea eax, [ebp - 0x2f]
mov ecx, esp
push eax
call fcn.10004181
lea eax, [ebp - 0x68]
push eax
call fcn.10003c4b
add esp, 0x24
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], 0x10
jb 0x1001e0f4
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x50]
call fcn.10004181
mov byte [ebp - 4], 1
lea edx, [ebp - 0x50]
mov ecx, dword [edi + 0xc]
call fcn.1000ff04
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.10004036
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
push ebx
push 1
call fcn.10004036
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.1000ad9d
test eax, eax
je 0x1001e1eb
movzx eax, word [esi + 4]
mov cl, 0x79
push eax
mov dword [ebp - 0x2c], 0x170c3179
xor eax, eax
mov dword [ebp - 0x28], 0x5954590d
mov dword [ebp - 0x24], 0x59565949
mov word [ebp - 0x20], 0x1d5c
mov byte [ebp - 0x1e], 0
xor byte [ebp + eax - 0x2b], cl
inc eax
cmp eax, 0xd
jae 0x1001e192
mov cl, byte [ebp - 0x2c]
jmp 0x1001e183
sub esp, 0x18
mov byte [ebp - 0x1e], 0
lea eax, [ebp - 0x2b]
mov ecx, esp
push eax
call fcn.10004181
lea eax, [ebp - 0x68]
push eax
call fcn.10003c4b
add esp, 0x20
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x1001e1bf
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x50]
call fcn.10004181
mov byte [ebp - 4], 3
lea edx, [ebp - 0x50]
mov ecx, dword [esi + 0xc]
call fcn.1000ff04
push 0
push 1
lea ecx, [ebp - 0x50]
call fcn.10004036
lea ecx, [ebp - 0x68]
jmp 0x1001e27e
cmp dword [esi], 1
jne 0x1001e2a4
cmp byte [esi + 6], 0
je 0x1001e2a4
movzx eax, word [esi + 4]
mov cl, 0x7b
push eax
mov dword [ebp - 0x18], 0x545b4b7b
xor eax, eax
mov dword [ebp - 0x14], 0x1f5e5b
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 6
jae 0x1001e224
mov cl, byte [ebp - 0x18]
jmp 0x1001e215
sub esp, 0x18
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x17]
mov ecx, esp
push eax
call fcn.10004181
lea eax, [ebp - 0x98]
push eax
call fcn.10003c4b
add esp, 0x20
mov dword [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x1001e254
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x80]
call fcn.10004181
mov byte [ebp - 4], 5
lea edx, [ebp - 0x80]
mov ecx, dword [esi + 0xc]
call fcn.1000ff04
push 0
push 1
lea ecx, [ebp - 0x80]
call fcn.10004036
lea ecx, [ebp - 0x98]
or dword [ebp - 4], 0xffffffff
push 0
push 1
call fcn.10004036
mov ecx, dword [esi + 0xc]
or edx, 0xffffffff
call fcn.1000ff4a
movzx eax, word [esi + 4]
mov ecx, dword [esi + 0x10]
push eax
call fcn.1000fd52
pop ecx
add ebx, 2
add esi, 0x18
sub dword [ebp - 0x34], 1
jne 0x1001e136
call fcn.100409f2
ret