Function at 0x140111970
Capabilities:
Encode data using xor

Disassembly:
xchg r12, rsp
mov rax, r12
xchg rsp, r12
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r12, r12
nop
sub rsp, 8
mov qword [rsp], rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xcfcb109
add rsp, 0xcfcb059
xor esi, esi
mov dword [rsp - 0x40], edi
mov dword [rbp - 0x29], 0x51ac9bae
xor dword [rbp - 0x29], 0xa993222
xor dword [rbp - 0x29], 0x6b56658b
xor dword [rbp - 0x29], 0x7f98d624
sub dword [rbp - 0x29], 0x4fc5193f
mov dword [rbp - 0x25], 0xa947166
add dword [rbp - 0x25], 0x3d035fcf
sub dword [rbp - 0x25], 0x3fb4b9aa
add dword [rbp - 0x25], 0x684a86a4
sub dword [rbp - 0x25], 0x6fb09d84
mov edi, 0xcacfd32
xor edi, 0x179cc1b4
xor edi, 0x3aae6f11
xor edi, 0x385b0c24
mov dword [rbp - 0x21], 0x1736a78a
xor dword [rbp - 0x21], 0x610c70d
add dword [rbp - 0x21], 0x26552c77
xor dword [rbp - 0x21], 0x65e85bc5
sub dword [rbp - 0x21], 0x526bd65f
xchg rsi, rcx
mov qword [rbp + 0x67], rcx
xchg rcx, rsi
xchg rsi, rax
mov rsi, qword [rbp + 0x67]
xchg rsi, rax
lea ebx, [rsi + 1]
mov dword [rsp - 0x30], ecx
xchg r15, rcx
mov r15, qword [rbp + 0x67]
xchg r15, rcx
xchg r13, rax
mov r13, qword [rbp + 0x67]
xchg r13, rax
and cl, 3
shl cl, 1
shl cl, 1
shl cl, 1
movzx edx, word [rbp + rax*2 - 0x29]
mov eax, edi
mov dword [rsp - 0x30], esp
shr eax, cl
movzx ecx, al
xchg r14, rax
mov r14, qword [rbp + 0x67]
xchg r14, rax
xor cx, dx
mov word [rbp + rax*2 - 0x19], cx
mov rax, qword [rbp + 0x67]
xchg r11, r11
add rax, rbx
mov qword [rbp + 0x67], rax
mov rax, qword [rbp + 0x67]
mov dword [rsp - 0x24], edi
cmp rax, 6
jb 0x140111a42
lea rax, [rbp - 0x19]
mov word [rbp - 0xd], si
xchg rbp, rbp
mov qword [rbp - 1], rax
mov ecx, 0x7f7c32a5
sub ecx, 0x44fcb344
add ecx, 0xf63d855
sub ecx, 0xf11935c
sub ecx, 0x3ad1c399
mov word [rbp + 0x2f], cx
mov dword [rsp - 0x30], 0x68e80e48
mov dword [rbp - 9], 0x4375743e
xor dword [rbp - 9], 0xa9684d7
sub dword [rbp - 9], 0x3f7144c7
sub dword [rbp - 9], 0xa64ac16
mov dword [rbp + 0x17], 0x230992b8
add dword [rbp + 0x17], 0x38d1b797
xor dword [rbp + 0x17], 0x2a8bf548
xor dword [rbp + 0x17], 0x716abff9
mov dword [rbp + 0x1b], 0x28be6d5b
sub dword [rbp + 0x1b], 0xa1a76a3
add dword [rbp + 0x1b], 0x5075fa19
sub dword [rbp + 0x1b], 0x5cf69741
sub dword [rbp + 0x1b], 0x11ad58e8
mov dword [rbp + 0x1f], 0x6cc2ebe3
sub dword [rbp + 0x1f], 0x3c30d672
add dword [rbp + 0x1f], 0x7b3a590
sub dword [rbp + 0x1f], 0x187d2922
xor dword [rbp + 0x1f], 0x1fee911e
mov dword [rbp + 0x23], 0x195c877c
add dword [rbp + 0x23], 0x1a15649c
xor dword [rbp + 0x23], 0x38b0a2b8
sub dword [rbp + 0x23], 0x8cb341a
xor dword [rbp + 0x23], 0x2b91a63
mov dword [rbp + 0x27], 0x1ee8363a
sub dword [rbp + 0x27], 0x8c68744
sub dword [rbp + 0x27], 0xd070459
add dword [rbp + 0x27], 0x3c5cb58d
sub dword [rbp + 0x27], 0x453d5f50
mov dword [rbp + 0x2b], 0x71e5eed5
xor dword [rbp + 0x2b], 0x5b1b15b2
xor dword [rbp + 0x2b], 0x3354e2ee
xor dword [rbp + 0x2b], 0x19d6193b
mov qword [rbp + 0x67], rsi
mov rax, qword [rbp + 0x67]
mov rdi, rdi
mov rcx, qword [rbp + 0x67]
mov rax, qword [rbp + 0x67]
and cl, 3
mov rdi, rdi
shl cl, 3
movzx edx, word [rbp + rax*2 + 0x17]
mov eax, edi
shr eax, cl
mov dword [rsp - 0x1c], ecx
movzx ecx, al
xchg rsp, rax
mov rsp, qword [rbp + 0x67]
xchg rsp, rax
xor cx, dx
mov word [rbp + rax*2 + 0x37], cx
mov dword [rsp - 0xc], 0x520ccc5f
mov rax, qword [rbp + 0x67]
add rax, rbx
mov qword [rbp + 0x67], rax
mov dword [rsp - 0x2c], 0x2945b599
mov rax, qword [rbp + 0x67]
cmp rax, 0xd
jb 0x140111bc0
mov r11, r11
lea rax, [rbp + 0x37]
mov word [rbp + 0x51], si
lea r9, [rbp + 7]
xchg rcx, rax
mov qword [rbp + 0xf], rcx
xchg rcx, rax
lea r8, [rbp - 9]
xchg rcx, rcx
mov dword [rbp + 7], 0x3af69e3d
sub dword [rbp + 7], 0x2fbc2309
add dword [rbp + 7], 0x6f7a2f50
xor dword [rbp + 7], 0x16be7f13
sub dword [rbp + 7], 0x6beed57d
xor edx, edx
mov dword [rsp - 0x18], ebp
mov dword [rsp + 0x20], esi
xor ecx, ecx
call fcn.140133ad0
xchg r9, r9
xchg rbx, rdi
mov rbx, rax
xchg rdi, rbx
test rax, rax
mov rbx, rbx
je 0x140111cdb
xchg rcx, rax
mov rax, rcx
xchg rcx, rax
call fcn.14010f6dc
mov dword [rsp - 0x20], 0x270a52c1
test al, al
je 0x140111cdb
lea rdx, [rbp - 9]
xchg rcx, r10
mov r10, rdi
xchg r10, rcx
call fcn.14010e5f4
test al, al
je 0x140111cdb
mov r8, r8
lea rdx, [rbp + 7]
xchg rdi, rcx
mov rdi, rcx
xchg rdi, rcx
call fcn.14010f5a0
test al, al
mov dword [rsp - 0x2c], esi
jne 0x140111cde
mov bl, sil
xor eax, eax
mov dword [rsp - 0x30], 0x5039f3bf
lea r11, [rsp + 0xb0]
mov rsi, qword [r11 + 0x20]
lea rdi, [rbp + 0x37]
lea ecx, [rax + 0xd]
mov rcx, rcx
rep stosb byte [rdi], al
lea ecx, [rax + 6]
lea rdi, [rbp - 0x19]
rep stosb byte [rdi], al
mov dword [rsp - 0x44], ecx
xchg rbx, rdi
mov rbx, qword [r11 + 0x28]
xchg rdi, rbx
mov al, bl
mov dword [rsp - 0xc], ecx
xchg rbx, rdi
mov rdi, qword [r11 + 0x18]
xchg rbx, rdi
xchg r14, rsp
mov r14, r11
xchg r14, rsp
pop rbp
xchg r14, r14
ret