Function at 0x140112354
Capabilities:
Encode data using xor

Disassembly:
xchg rsp, rax
mov rsp, rax
xchg rsp, rax
mov qword [rax + 0x10], rbx
xchg rdx, rsi
mov qword [rax + 0x18], rdx
xchg rdx, rsi
xchg r8, rdi
mov qword [rax + 0x20], r8
xchg r8, rdi
push rbp
mov rbp, rbp
push rax
mov qword [rsp], r14
push r15
lea rbp, [rax - 0x5f]
mov rbp, rbp
add rsp, 0x179a1e4c
sub rsp, 0x179a1efc
xor esi, esi
mov dword [rsp - 0x38], 0x63efd4fd
mov dword [rbp - 0x39], 0x29e3a116
xor dword [rbp - 0x39], 0x5bff02f4
xor dword [rbp - 0x39], 0x7c930b36
sub dword [rbp - 0x39], 0xe62a8d2
mov dword [rbp - 0x35], 0x2919bc5a
sub dword [rbp - 0x35], 0x21bf0964
xor dword [rbp - 0x35], 0x74fc1b42
sub dword [rbp - 0x35], 0x2abb4ab9
sub dword [rbp - 0x35], 0x48e55e1c
mov r14d, 0x6dfde944
xor r14d, 0x21c80389
sub r14d, 0x2f6f230e
add r14d, 0x17ee92dc
sub r14d, 0x34b55a95
mov dword [rbp - 0x31], 0x34c5189c
sub dword [rbp - 0x31], 0xbce9bb8
xor dword [rbp - 0x31], 0x13af34ca
xor dword [rbp - 0x31], 0x3045d92c
xor dword [rbp - 0x31], 0xb2f9138
mov edi, 0x6eaacaa0
xor edi, 0x31d042ac
xor edi, 0x4bdbbb81
xor edi, 0x761077d8
xchg r12, rsi
mov qword [rbp + 0x67], r12
xchg r12, rsi
xchg r11, rax
mov r11, qword [rbp + 0x67]
xchg r11, rax
lea ebx, [rsi + 1]
xchg r14, rcx
mov r14, qword [rbp + 0x67]
xchg r14, rcx
mov rax, qword [rbp + 0x67]
and cl, 3
xchg r13, r13
shl cl, 1
shl cl, 2
movzx edx, word [rbp + rax*2 - 0x39]
xchg r14, r14
mov eax, edi
shr eax, cl
movzx ecx, al
mov dword [rsp - 0x24], 0x542769a0
xchg r15, rax
mov r15, qword [rbp + 0x67]
xchg r15, rax
xor cx, dx
mov word [rbp + rax*2 - 0x29], cx
xchg rdx, rax
mov rdx, qword [rbp + 0x67]
xchg rdx, rax
add rax, rbx
xchg r11, rax
mov qword [rbp + 0x67], r11
xchg r11, rax
mov rax, qword [rbp + 0x67]
cmp rax, r14
mov dword [rsp - 0x14], esi
jb 0x14011244d
lea rax, [rbp - 0x29]
mov word [rbp - 0x1d], si
mov dword [rsp - 0x44], 0x783511e2
mov ecx, 0x7c9e24d7
xor ecx, 0x1e0916ff
xor ecx, 0x693fc595
xor ecx, 0xba8f79a
xchg rsi, rax
mov qword [rbp - 0x11], rsi
xchg rsi, rax
mov word [rbp + 0x1f], cx
mov dword [rsp - 0x34], edi
mov dword [rbp - 0x19], 0x38fd6b73
xor dword [rbp - 0x19], 0x887a0e6
xor dword [rbp - 0x19], 0x7b84e70a
sub dword [rbp - 0x19], 0x3530f147
sub dword [rbp - 0x19], 0x16bf3b4c
mov dword [rbp + 7], 0x19c1a798
xor dword [rbp + 7], 0x3b857392
add dword [rbp + 7], 0x4dbc7ed3
sub dword [rbp + 7], 0x6fe052c5
mov dword [rbp + 0xb], 0x38390f67
add dword [rbp + 0xb], 0x25598733
sub dword [rbp + 0xb], 0x145d6963
add dword [rbp + 0xb], 0x27ed221c
sub dword [rbp + 0xb], 0x71154e77
lea r15d, [rcx - 0x1a]
mov dword [rbp + 0xf], 0x1266f54b
add dword [rbp + 0xf], 0x39ec0787
xor dword [rbp + 0xf], 0x57663471
sub dword [rbp + 0xf], 0xac51ea0
sub dword [rbp + 0xf], 0x1032a9dc
mov dword [rbp + 0x13], 0x5c53020e
xor dword [rbp + 0x13], 0x7e499dfd
add dword [rbp + 0x13], 0xca1ce58
xor dword [rbp + 0x13], 0x2e886eda
mov dword [rbp + 0x17], 0x7199118c
sub dword [rbp + 0x17], 0x1ac3bd30
sub dword [rbp + 0x17], 0x152acfe
xor dword [rbp + 0x17], 0x55a3a762
mov dword [rbp + 0x1b], 0x56e3a933
xor dword [rbp + 0x1b], 0x65d0df53
xor dword [rbp + 0x1b], 0x58690379
sub dword [rbp + 0x1b], 0x6b537453
mov qword [rbp + 0x67], rsi
mov r15, r15
mov rax, qword [rbp + 0x67]
mov rcx, qword [rbp + 0x67]
xchg rdx, rax
mov rdx, qword [rbp + 0x67]
xchg rdx, rax
and cl, 3
xchg rdi, rdi
shl cl, 1
shl cl, 1
shl cl, 1
movzx edx, word [rbp + rax*2 + 7]
mov dword [rsp - 0x34], ebx
mov eax, edi
shr eax, cl
movzx ecx, al
mov dword [rsp - 0x44], edx
mov rax, qword [rbp + 0x67]
xor cx, dx
mov word [rbp + rax*2 + 0x27], cx
mov dword [rsp - 0x44], 0x6d0ecb7b
xchg rdx, rax
mov rdx, qword [rbp + 0x67]
xchg rdx, rax
add rax, rbx
mov rcx, rcx
xchg r9, rax
mov qword [rbp + 0x67], r9
xchg r9, rax
mov rax, qword [rbp + 0x67]
xchg r9, r9
cmp rax, r15
jb 0x1401125d0
lea rax, [rbp + 0x27]
mov word [rbp + 0x41], si
mov dword [rsp - 0x3c], 0x70de3655
lea r9, [rbp - 9]
xchg r9, rax
mov qword [rbp - 1], r9
xchg r9, rax
lea r8, [rbp - 0x19]
mov dword [rsp - 0x2c], esi
mov dword [rbp - 9], 0x19319059
xor dword [rbp - 9], 0x702764c0
sub dword [rbp - 9], 0x456716ca
add dword [rbp - 9], 0x5483627e
sub dword [rbp - 9], 0x78174033
xor edx, edx
xchg rsp, rsp
mov dword [rsp + 0x20], esi
xor ecx, ecx
call fcn.140134150
xchg rdi, r13
mov r13, rax
xchg rdi, r13
test rax, rax
je 0x1401126f9
xchg rcx, rax
mov rax, rcx
xchg rcx, rax
call fcn.14010ff18
test al, al
je 0x1401126f9
xchg rbp, rbp
lea rdx, [rbp - 0x19]
xchg rcx, rdi
mov rdi, rcx
xchg rcx, rdi
call fcn.14010ee3c
mov dword [rsp - 0x2c], 0x2d68c18
test al, al
je 0x1401126f9
lea rdx, [rbp - 9]
mov dword [rsp - 0x44], edi
xchg rsp, rdi
mov rcx, rsp
xchg rdi, rsp
call fcn.14010fda8
xchg rbx, rbx
test al, al
jne 0x140112704
mov bl, sil
mov dword [rsp - 0x14], 0x6871641a
xor eax, eax
lea r11, [rsp + 0xb0]
mov rsi, qword [r11 + 0x30]
lea rdi, [rbp + 0x27]
xchg r8, r8
xchg rsp, rcx
mov rsp, r15
xchg rcx, rsp
rep stosb byte [rdi], al
lea rdi, [rbp - 0x29]
xchg r15, rcx
mov r15, r14
xchg rcx, r15
rep stosb byte [rdi], al
mov dword [rsp - 0x38], esi
mov rdi, qword [r11 + 0x38]
mov al, bl
xchg rbx, rsi
mov rsi, qword [r11 + 0x28]
xchg rbx, rsi
xchg r11, rsp
mov r11, rsp
xchg r11, rsp
nop
add rsp, 8
mov r15, qword [rsp - 8]
nop
add rsp, 8
mov r14, qword [rsp - 8]
pop rbp
mov rbx, rbx
ret