Function at 0x140111494
Capabilities:
Encode data using xor

Disassembly:
xchg r13, rsp
mov rax, r13
xchg rsp, r13
xchg rbx, r10
mov qword [rax + 0x10], r10
xchg r10, rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rsp, rsp
nop
sub rsp, 8
mov qword [rsp], rbp
lea rbp, [rax - 0x5f]
add rsp, 0xffffffffffffff50
xchg rsi, rsi
xor esi, esi
mov dword [rbp - 0x29], 0x157cbb2f
xor dword [rbp - 0x29], 0x33a571ca
xor dword [rbp - 0x29], 0x3b225546
sub dword [rbp - 0x29], 0x1dd19f4b
mov dword [rbp - 0x25], 0x60094857
add dword [rbp - 0x25], 0x1373bfe
xor dword [rbp - 0x25], 0x6e0e3481
add dword [rbp - 0x25], 0x1d8b95ea
xor dword [rbp - 0x25], 0x2c934685
mov edi, 0x2ff8c8fb
add edi, 0x469fd908
sub edi, 0x2ba92ad1
add edi, 0x3183c905
sub edi, 0x4f1dfd28
mov dword [rbp - 0x21], 0x36d2bb02
add dword [rbp - 0x21], 0x2418ae1c
add dword [rbp - 0x21], 0x3a1929a
xor dword [rbp - 0x21], 0x3605bec4
xor dword [rbp - 0x21], 0x68bd451c
mov qword [rbp + 0x67], rsi
xchg rsp, rsp
mov rax, qword [rbp + 0x67]
lea ebx, [rsi + 1]
mov rcx, qword [rbp + 0x67]
xchg rdx, rdx
xchg r14, rax
mov r14, qword [rbp + 0x67]
xchg r14, rax
and cl, 3
shl cl, 3
movzx edx, word [rbp + rax*2 - 0x29]
xchg r13, r13
mov eax, edi
shr eax, cl
movzx ecx, al
mov r10, r10
mov rax, qword [rbp + 0x67]
xor cx, dx
mov word [rbp + rax*2 - 0x19], cx
mov rax, qword [rbp + 0x67]
mov dword [rsp - 0x18], esi
add rax, rbx
xchg r14, rax
mov qword [rbp + 0x67], r14
xchg r14, rax
mov rax, qword [rbp + 0x67]
cmp rax, 6
mov dword [rsp - 0x38], 0x4cc6e53
jb 0x140111558
lea rax, [rbp - 0x19]
mov word [rbp - 0xd], si
xchg r8, rax
mov qword [rbp - 1], r8
xchg r8, rax
mov ecx, 0x4d45326d
add ecx, 0x1b0e71eb
add ecx, 0x5bed872
sub ecx, 0x6e127c4d
mov word [rbp + 0x2f], cx
mov dword [rsp - 0x40], 0x4dac410e
mov dword [rbp - 9], 0x38fc7aae
sub dword [rbp - 9], 0x36e0383b
xor dword [rbp - 9], 0x3fd2f614
xor dword [rbp - 9], 0x4328bb22
sub dword [rbp - 9], 0x7ed80f39
mov dword [rbp + 0x17], 0x45f1910a
sub dword [rbp + 0x17], 0x13d25a20
sub dword [rbp + 0x17], 0x1b8ad5c6
sub dword [rbp + 0x17], 0x166e60e2
mov dword [rbp + 0x1b], 0x7f32cd91
sub dword [rbp + 0x1b], 0x5ed5a5b1
xor dword [rbp + 0x1b], 0x79ebd16c
xor dword [rbp + 0x1b], 0x4e21ebb7
xor dword [rbp + 0x1b], 0x17d51d03
mov dword [rbp + 0x1f], 0x28575942
xor dword [rbp + 0x1f], 0x26977e29
add dword [rbp + 0x1f], 0x2f95cb10
xor dword [rbp + 0x1f], 0x3e6ff206
mov dword [rbp + 0x23], 0xe079dd6
xor dword [rbp + 0x23], 0x17c90dcc
xor dword [rbp + 0x23], 0x6deb0067
sub dword [rbp + 0x23], 0x6f40c646
xor dword [rbp + 0x23], 0x49fca42
mov dword [rbp + 0x27], 0x67f2bc07
xor dword [rbp + 0x27], 0x640e77f9
add dword [rbp + 0x27], 0x5e50ab98
sub dword [rbp + 0x27], 0x56ef5f94
xor dword [rbp + 0x27], 0xb781864
mov dword [rbp + 0x2b], 0x6edfaf38
sub dword [rbp + 0x2b], 0x5b6acb6b
xor dword [rbp + 0x2b], 0x5c0d3eb1
sub dword [rbp + 0x2b], 0x2e148009
xor dword [rbp + 0x2b], 0x212d5d51
mov qword [rbp + 0x67], rsi
xchg r11, rax
mov r11, qword [rbp + 0x67]
xchg r11, rax
xchg r15, rcx
mov r15, qword [rbp + 0x67]
xchg rcx, r15
mov rax, qword [rbp + 0x67]
and cl, 3
shl cl, 3
mov dword [rsp - 0x24], 0x3d2d8e8e
movzx edx, word [rbp + rax*2 + 0x17]
mov eax, edi
shr eax, cl
movzx ecx, al
mov dword [rsp - 0x24], esi
mov rax, qword [rbp + 0x67]
xor cx, dx
mov word [rbp + rax*2 + 0x37], cx
mov dword [rsp - 0x18], esi
xchg r15, rax
mov r15, qword [rbp + 0x67]
xchg r15, rax
add rax, rbx
mov qword [rbp + 0x67], rax
xchg r8, rax
mov r8, qword [rbp + 0x67]
xchg r8, rax
cmp rax, 0xd
mov dword [rsp - 0x30], edi
jb 0x1401116da
lea rax, [rbp + 0x37]
mov word [rbp + 0x51], si
lea r9, [rbp + 7]
mov dword [rsp - 0x14], edi
mov qword [rbp + 0xf], rax
lea r8, [rbp - 9]
mov dword [rbp + 7], 0xcbf1dec
add dword [rbp + 7], 0x6ec654ad
sub dword [rbp + 7], 0x4d721650
sub dword [rbp + 7], 0x1f7b1551
sub dword [rbp + 7], 0xe7c46de
xor edx, edx
mov dword [rsp - 0x44], edx
mov dword [rsp + 0x20], esi
xor ecx, ecx
call fcn.1401340d0
xchg rdx, rax
mov rdi, rdx
xchg rdx, rax
test rax, rax
mov dword [rsp - 0x3c], 0x6cd262ab
je 0x1401117e9
xchg rcx, rax
mov rax, rcx
xchg rcx, rax
call fcn.14010f270
test al, al
xchg r8, r8
je 0x1401117e9
lea rdx, [rbp - 9]
mov rcx, rdi
xchg rbx, rbx
call fcn.14010e0ec
test al, al
je 0x1401117e9
lea rdx, [rbp + 7]
mov dword [rsp - 0x24], edi
mov rcx, rdi
call fcn.14010f0e4
test al, al
jne 0x1401117ec
mov dword [rsp - 0xc], ebp
mov bl, sil
xor eax, eax
lea r11, [rsp + 0xb0]
mov rsp, rsp
mov rsi, qword [r11 + 0x20]
lea rdi, [rbp + 0x37]
lea ecx, [rax + 0xd]
rep stosb byte [rdi], al
mov dword [rsp - 0x18], 0x15efb85b
lea ecx, [rax + 6]
lea rdi, [rbp - 0x19]
rep stosb byte [rdi], al
mov rbx, rbx
mov rdi, qword [r11 + 0x28]
mov al, bl
mov rbx, qword [r11 + 0x18]
mov rsp, r11
mov dword [rsp - 0x14], edx
nop
mov rbp, qword [rsp]
add rsp, 8
ret