Function at 0x14007ea90
Capabilities:
Encode data using xor

Disassembly:
push r15
xor r9d, r9d
lea r8, str.consensus
push r14
push r13
lea r13, [0x1402aa542]
push r12
mov r12, rdx
mov rdx, r13
push rbp
push rdi
push rsi
push rbx
mov rbx, rcx
mov rcx, r12
sub rsp, 0x48
call fcn.1400bd830
test rax, rax
je 0x14007ede8
mov rcx, rax
mov rdi, rax
call sub.msvcrt.dll_strlen
mov r11, qword [0x1403e87b8]
mov r8, rax
mov esi, eax
test r11, r11
je 0x14007ede8
mov r9, rdi
cmp eax, 0xb
jbe 0x14007edcd
mov r10d, eax
mov r14d, 0x9e3779b9
mov ebp, 0x9e3779b9
mov ecx, 0xfeedbeef
nop word [rax + rax]
movzx edx, byte [r9 + 5]
movzx eax, byte [r9 + 6]
shl edx, 8
shl eax, 0x10
add edx, eax
movzx eax, byte [r9 + 4]
add edx, eax
movzx eax, byte [r9 + 7]
shl eax, 0x18
add edx, eax
movzx eax, byte [r9 + 9]
add edx, r14d
movzx r14d, byte [r9 + 0xa]
shl eax, 8
shl r14d, 0x10
add eax, r14d
movzx r14d, byte [r9 + 8]
add eax, r14d
movzx r14d, byte [r9 + 0xb]
shl r14d, 0x18
add eax, r14d
movzx r14d, byte [r9 + 2]
add eax, ecx
movzx ecx, byte [r9 + 1]
shl r14d, 0x10
shl ecx, 8
add ecx, r14d
movzx r14d, byte [r9]
add ecx, r14d
movzx r14d, byte [r9 + 3]
shl r14d, 0x18
add ecx, r14d
sub ecx, edx
sub edx, eax
sub ecx, eax
add ecx, ebp
mov ebp, eax
shr ebp, 0xd
xor ecx, ebp
sub edx, ecx
sub eax, ecx
mov ebp, edx
mov edx, ecx
shl edx, 8
xor edx, ebp
sub eax, edx
mov ebp, eax
mov eax, edx
shr eax, 0xd
xor eax, ebp
sub ecx, edx
sub r10d, 0xc
add r9, 0xc
sub ecx, eax
sub edx, eax
mov ebp, ecx
mov ecx, eax
shr ecx, 0xc
xor ecx, ebp
sub edx, ecx
sub eax, ecx
mov ebp, edx
mov edx, ecx
shl edx, 0x10
xor edx, ebp
sub eax, edx
sub ecx, edx
mov ebp, eax
mov eax, edx
shr eax, 5
xor eax, ebp
mov ebp, eax
sub ecx, eax
sub edx, eax
shr ebp, 3
xor ebp, ecx
mov r14d, ebp
sub edx, ebp
sub eax, ebp
shl r14d, 0xa
xor r14d, edx
mov ecx, r14d
sub eax, r14d
shr ecx, 0xf
xor ecx, eax
cmp r10d, 0xb
ja 0x14007eb10
add ecx, r8d
cmp r10d, 0xb
ja case.0x14007ec24.0
lea rdx, [0x1402aa5fc]
movsxd rax, dword [rdx + r10*4]
add rax, rdx
jmp rax
movzx eax, byte [r9 + 0xa]
shl eax, 0x18
add ecx, eax
movzx eax, byte [r9 + 9]
shl eax, 0x10
add ecx, eax
movzx eax, byte [r9 + 8]
shl eax, 8
add ecx, eax
movzx eax, byte [r9 + 7]
shl eax, 0x18
add r14d, eax
movzx eax, byte [r9 + 6]
shl eax, 0x10
add r14d, eax
movzx eax, byte [r9 + 5]
shl eax, 8
add r14d, eax
movzx eax, byte [r9 + 4]
add r14d, eax
movzx eax, byte [r9 + 3]
shl eax, 0x18
add ebp, eax
movzx eax, byte [r9 + 2]
shl eax, 0x10
add ebp, eax
movzx eax, byte [r9 + 1]
shl eax, 8
add ebp, eax
movzx eax, byte [r9]
add ebp, eax
lea eax, [rcx + r14]
mov edx, ecx
sub r14d, ecx
sub ebp, eax
shr edx, 0xd
xor edx, ebp
mov r9d, edx
sub r14d, edx
sub ecx, edx
shl r9d, 8
xor r9d, r14d
mov eax, r9d
sub ecx, r9d
sub edx, r9d
shr eax, 0xd
xor eax, ecx
mov ecx, eax
sub edx, eax
sub r9d, eax
shr ecx, 0xc
xor ecx, edx
mov edx, ecx
sub r9d, ecx
sub eax, ecx
shl edx, 0x10
xor edx, r9d
sub eax, edx
sub ecx, edx
mov r9d, eax
mov eax, edx
shr eax, 5
xor eax, r9d
mov r9d, eax
sub ecx, eax
sub edx, eax
shr r9d, 3
xor ecx, r9d
mov r14d, ecx
sub edx, ecx
sub eax, ecx
shl r14d, 0xa
xor r14d, edx
mov rdx, qword [r11 + 0x28]
sub eax, r14d
shr r14d, 0xf
xor r14d, eax
mov eax, dword [rdx + 8]
sub eax, 1
and eax, r14d
shl rax, 4
add rax, qword [rdx]
mov rbp, qword [rax]
test rbp, rbp
je 0x14007ede8
mov rax, qword [rdx + 0x20]
mov r8d, r8d
mov r15, rax
sub rbp, rax
neg r15
jmp 0x14007ed50
mov rbp, qword [rbp + 0x48]
test rbp, rbp
je 0x14007ede8
add rbp, r15
cmp dword [rbp + 0x5c], r14d
jne 0x14007ed40
cmp dword [rbp + 0x58], esi
jne 0x14007ed40
mov rcx, qword [rbp + 0x50]
mov rdx, rdi
mov qword [rsp + 0x38], r8
call sub.msvcrt.dll_memcmp
mov r8, qword [rsp + 0x38]
test eax, eax
jne 0x14007ed40
mov dword [rsp + 0x38], eax
lea rax, str.Consensus___s__found__prepare_to_parse_config_file
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov r9d, 2
lea r8, str.dap_chain_cs
mov qword [rsp + 0x28], rbp
call fcn.14005aec0
mov rdx, r12
mov rcx, rbx
call qword [rbp + 0x20]
mov rax, qword [rbx + 0x1b0]
mov r10d, dword [rsp + 0x38]
mov qword [rax + 0x10], rbp
add rsp, 0x48
mov eax, r10d
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r10d, eax
mov r14d, 0x9e3779b9
mov ebp, 0x9e3779b9
mov ecx, 0xfeedbeef
jmp 0x14007ec0d
xor r9d, r9d
lea r8, str.consensus
mov rdx, r13
mov rcx, r12
call fcn.1400bd830
mov r9d, 7
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rax
lea rax, str.Cant_find_consensus___s_
lea r8, str.dap_chain_cs
mov qword [rsp + 0x20], rax
call fcn.14005aec0
mov r10d, 0xffffffff
jmp 0x14007edb9