Function at 0x14007e070
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
movzx r10d, byte [rdx]
xor edi, edi
mov rbp, r9
mov rsi, r8
mov r14, rdx
mov rbx, rcx
mov eax, 1
mov r11d, edi
test r10b, r10b
je 0x14007e13f
movzx ecx, r10b
nop dword [rax]
movsx r8d, cl
mov r9d, eax
lea ecx, [r8 - 0x21]
cmp ecx, 0x1f
jbe 0x14007e0cd
lea ecx, [r8 - 0x5b]
cmp ecx, 0x23
ja 0x14007e5e9
shr eax, 0x19
inc r11
mov edx, eax
sar r8d, 5
shr eax, 4
mov ecx, edx
shr ecx, 1
and eax, 1
and ecx, 1
shl r9d, 5
neg ecx
neg eax
and ecx, 0x26508e6d
and eax, 0x2a1462b3
xor eax, ecx
mov ecx, edx
shr ecx, 3
and ecx, 1
neg ecx
and ecx, 0x3d4233dd
xor eax, ecx
mov ecx, edx
shr ecx, 2
and edx, 1
and ecx, 1
neg edx
neg ecx
and edx, 0x3b6a57b2
and ecx, 0x1ea119fa
xor eax, ecx
movzx ecx, byte [r11 + r14]
xor eax, edx
xor eax, r8d
xor eax, r9d
test cl, cl
jne 0x14007e0b0
lea rcx, [rbp + 7]
add rcx, r11
cmp rcx, 0x5a
ja 0x14007e5e9
mov edx, eax
and eax, 0x1ffffff
shr edx, 0x19
mov r8d, edx
shl eax, 5
shr r8d, 4
mov ecx, edx
shr ecx, 1
and r8d, 1
and ecx, 1
neg r8d
neg ecx
and r8d, 0x2a1462b3
and ecx, 0x26508e6d
xor r8d, ecx
mov ecx, edx
shr ecx, 3
and ecx, 1
neg ecx
and ecx, 0x3d4233dd
xor r8d, ecx
mov ecx, edx
shr ecx, 2
and edx, 1
and ecx, 1
neg edx
neg ecx
and edx, 0x3b6a57b2
and ecx, 0x1ea119fa
xor r8d, ecx
xor r8d, edx
xor r8d, eax
test r10b, r10b
je 0x14007e24e
sub r14, rbx
nop word [rax + rax]
mov ecx, r8d
mov byte [rbx], r10b
shr ecx, 0x19
and r8d, 0x1ffffff
mov edx, ecx
mov eax, ecx
shr eax, 3
inc rbx
and eax, 1
shr edx, 1
neg eax
and edx, 1
and eax, 0x3d4233dd
neg edx
and edx, 0x26508e6d
xor edx, eax
mov eax, ecx
shr eax, 2
and eax, 1
neg eax
and eax, 0x1ea119fa
xor edx, eax
mov eax, ecx
shr eax, 4
and ecx, 1
neg eax
neg ecx
and eax, 0x2a1462b3
and ecx, 0x3b6a57b2
xor edx, eax
movsx eax, r10b
movzx r10d, byte [r14 + rbx]
and eax, 0x1f
xor edx, eax
mov eax, r8d
xor edx, ecx
shl eax, 5
mov r8d, edx
xor r8d, eax
test r10b, r10b
jne 0x14007e1d0
mov byte [rbx], 0x31
lea r14, str.qpzry9x8gf2tvdw0s3jn54khce6mua7l
inc rbx
test rbp, rbp
je 0x14007e2ff
nop dword [rax]
nop dword [rax + rax]
movzx r9d, byte [rsi]
cmp r9b, 0x20
jae 0x14007e5e9
mov ecx, r8d
inc rsi
shr ecx, 0x19
and r8d, 0x1ffffff
mov edx, ecx
mov eax, ecx
shr eax, 3
inc rdi
and eax, 1
shr edx, 1
neg eax
and edx, 1
and eax, 0x3d4233dd
neg edx
and edx, 0x26508e6d
xor edx, eax
mov eax, ecx
shr eax, 2
and eax, 1
neg eax
and eax, 0x1ea119fa
xor edx, eax
mov eax, ecx
shr eax, 4
and ecx, 1
neg eax
neg ecx
and eax, 0x2a1462b3
and ecx, 0x3b6a57b2
xor edx, eax
mov eax, r8d
shl eax, 5
xor edx, ecx
mov r8d, edx
xor r8d, eax
movzx eax, byte [r9 + r14]
mov byte [rbx], al
xor r8d, r9d
inc rbx
cmp rdi, rbp
jb 0x14007e270
mov ecx, r8d
and r8d, 0x1ffffff
shr ecx, 0x19
mov edx, ecx
shl r8d, 5
shr edx, 1
mov eax, ecx
shr eax, 3
and edx, 1
and eax, 1
neg edx
neg eax
and edx, 0x26508e6d
and eax, 0x3d4233dd
xor edx, eax
mov eax, ecx
shr eax, 2
and eax, 1
neg eax
and eax, 0x1ea119fa
xor edx, eax
mov eax, ecx
shr eax, 4
and ecx, 1
neg eax
neg ecx
and eax, 0x2a1462b3
and ecx, 0x3b6a57b2
xor edx, eax
xor edx, ecx
xor edx, r8d
mov ecx, edx
and edx, 0x1ffffff
shr ecx, 0x19
shl edx, 5
mov r8d, ecx
shr r8d, 1
mov eax, ecx
shr eax, 3
and r8d, 1
and eax, 1
neg r8d
neg eax
and r8d, 0x26508e6d
and eax, 0x3d4233dd
xor r8d, eax
mov eax, ecx
shr eax, 2
and eax, 1
neg eax
and eax, 0x1ea119fa
xor r8d, eax
mov eax, ecx
shr eax, 4
and ecx, 1
neg eax
neg ecx
and eax, 0x2a1462b3
and ecx, 0x3b6a57b2
xor r8d, eax
xor r8d, ecx
xor r8d, edx
mov ecx, r8d
shr ecx, 0x19
mov edx, ecx
mov eax, ecx
shr eax, 3
and eax, 1
shr edx, 1
neg eax
and edx, 1
and eax, 0x3d4233dd
neg edx
and edx, 0x26508e6d
xor edx, eax
mov eax, ecx
shr eax, 2
and eax, 1
neg eax
and eax, 0x1ea119fa
xor edx, eax
mov eax, ecx
and r8d, 0x1ffffff
shr eax, 4
and ecx, 1
neg eax
shl r8d, 5
and eax, 0x2a1462b3
neg ecx
xor edx, eax
and ecx, 0x3b6a57b2
xor edx, ecx
xor edx, r8d
mov ecx, edx
and edx, 0x1ffffff
shr ecx, 0x19
mov r8d, ecx
shl edx, 5
mov eax, ecx
shr r8d, 1
shr eax, 3
and r8d, 1
and eax, 1
neg r8d
neg eax
and r8d, 0x26508e6d
and eax, 0x3d4233dd
xor r8d, eax
mov eax, ecx
shr eax, 2
and eax, 1
neg eax
and eax, 0x1ea119fa
xor r8d, eax
mov eax, ecx
shr eax, 4
and ecx, 1
neg eax
neg ecx
and eax, 0x2a1462b3
and ecx, 0x3b6a57b2
xor r8d, eax
xor r8d, ecx
xor r8d, edx
mov ecx, r8d
and r8d, 0x1ffffff
shr ecx, 0x19
mov edx, ecx
shl r8d, 5
shr edx, 1
mov eax, ecx
shr eax, 3
and edx, 1
and eax, 1
neg edx
neg eax
and edx, 0x26508e6d
and eax, 0x3d4233dd
xor edx, eax
mov eax, ecx
shr eax, 2
and eax, 1
neg eax
and eax, 0x1ea119fa
xor edx, eax
mov eax, ecx
and ecx, 1
shr eax, 4
neg ecx
neg eax
and ecx, 0x3b6a57b2
and eax, 0x2a1462b3
xor edx, eax
xor edx, ecx
xor edx, r8d
mov ecx, edx
shr ecx, 0x19
mov edi, ecx
shr edi, 1
and edi, 1
neg edi
and edi, 0x26508e6d
mov eax, ecx
and edx, 0x1ffffff
shr eax, 3
and eax, 1
shl edx, 5
neg eax
and eax, 0x3d4233dd
xor edi, eax
mov eax, ecx
shr eax, 2
and eax, 1
neg eax
and eax, 0x1ea119fa
xor edi, eax
mov eax, ecx
shr eax, 4
and ecx, 1
neg eax
neg ecx
and eax, 0x2a1462b3
and ecx, 0x3b6a57b2
xor edi, eax
mov eax, dword [rsp + 0x60]
xor edi, ecx
xor edi, edx
cmp eax, 1
jne 0x14007e552
jmp 0x14007e57b
cmp eax, 2
jne 0x14007e55e
mov eax, 0x2bc830a3
jmp 0x14007e57b
mov r8d, 0x2a
lea rdx, str.bech32.c
lea rcx, [0x14009017c]
call fcn.14003f170
mov eax, dword [rsp + 0x48]
xor edi, eax
mov eax, edi
shr rax, 0x19
and eax, 0x1f
mov edx, edi
mov ecx, edi
shr rcx, 5
and ecx, 0x1f
movzx eax, byte [rax + r14]
mov byte [rbx], al
mov eax, edi
shr rax, 0x14
and eax, 0x1f
movzx eax, byte [rax + r14]
mov byte [rbx + 1], al
mov eax, edi
shr rax, 0xf
and eax, 0x1f
movzx eax, byte [rax + r14]
mov byte [rbx + 2], al
mov eax, edi
shr rax, 0xa
and eax, 0x1f
and edx, 0x1f
movzx eax, byte [rax + r14]
mov byte [rbx + 3], al
mov eax, 1
movzx ecx, byte [rcx + r14]
mov byte [rbx + 4], cl
movzx ecx, byte [rdx + r14]
mov byte [rbx + 5], cl
mov byte [rbx + 6], 0
jmp 0x14007e5eb
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret