Function at 0x1400aeba0
Capabilities:
Encode data using xor

Disassembly:
test rcx, rcx
je 0x1400aefa8
push rbp
push rdi
push rsi
push rbx
mov rbx, rcx
sub rsp, 0x48
mov rcx, qword [0x1403eb540]
test rcx, rcx
je 0x1400aef50
movzx eax, byte [rbx + 8]
movzx edx, byte [rbx + 5]
movzx r8d, byte [rbx + 1]
mov rcx, qword [rcx + 0x40]
shl eax, 0x18
lea edx, [rax + rdx - 0x61c88647]
movzx eax, byte [rbx + 7]
shl eax, 0x10
add edx, eax
movzx eax, byte [rbx + 6]
shl eax, 8
add edx, eax
movzx eax, byte [rbx + 4]
shl eax, 0x18
lea eax, [rax + r8 - 0x60b6453e]
movzx r8d, byte [rbx + 3]
shl r8d, 0x10
add eax, r8d
movzx r8d, byte [rbx + 2]
shl r8d, 8
add eax, r8d
lea r8d, [rdx + 0x1124109]
sub eax, edx
xor eax, 0x7f76d
mov edx, eax
sub r8d, eax
shl edx, 8
xor edx, r8d
mov r8d, 0xfeedbef7
sub r8d, eax
mov r9d, edx
sub eax, edx
sub r8d, edx
shr r9d, 0xd
xor r9d, r8d
mov r8d, r9d
sub eax, r9d
sub edx, r9d
shr r8d, 0xc
xor r8d, eax
mov eax, edx
mov edx, r8d
sub eax, r8d
sub r9d, r8d
shl edx, 0x10
xor edx, eax
mov eax, edx
sub r9d, edx
sub r8d, edx
shr eax, 5
xor eax, r9d
mov r9d, eax
sub r8d, eax
sub edx, eax
shr r9d, 3
xor r9d, r8d
sub edx, r9d
sub eax, r9d
mov r8d, edx
mov edx, r9d
shl edx, 0xa
xor edx, r8d
sub eax, edx
shr edx, 0xf
xor edx, eax
mov eax, dword [rcx + 8]
sub eax, 1
and eax, edx
shl rax, 4
add rax, qword [rcx]
mov rax, qword [rax]
test rax, rax
je 0x1400aef50
mov r8, qword [rcx + 0x20]
mov rcx, r8
sub rax, r8
neg rcx
jmp 0x1400aece0
mov rax, qword [rax + 0x60]
test rax, rax
je 0x1400aef50
add rax, rcx
cmp dword [rax + 0x74], edx
jne 0x1400aecd0
cmp dword [rax + 0x70], 8
jne 0x1400aecd0
mov r8, qword [rax + 0x68]
mov rdi, qword [r8]
cmp qword [rbx + 1], rdi
jne 0x1400aecd0
mov r10, qword [rax + 0x28]
test r10, r10
je 0x1400aef98
lea r9, [rbx + 0x48]
mov r8, rbx
mov esi, 0x9e3779b9
mov r11d, 0x9e3779b9
mov ecx, 0xfeedbeef
nop dword [rax]
movzx edx, byte [r8 + 5]
movzx eax, byte [r8 + 6]
shl edx, 8
shl eax, 0x10
add edx, eax
movzx eax, byte [r8 + 4]
add edx, eax
movzx eax, byte [r8 + 7]
shl eax, 0x18
add edx, eax
movzx eax, byte [r8 + 9]
add edx, esi
movzx esi, byte [r8 + 0xa]
shl eax, 8
shl esi, 0x10
add eax, esi
movzx esi, byte [r8 + 8]
add eax, esi
movzx esi, byte [r8 + 0xb]
shl esi, 0x18
add eax, esi
movzx esi, byte [r8 + 2]
add eax, ecx
movzx ecx, byte [r8 + 1]
shl esi, 0x10
shl ecx, 8
add ecx, esi
movzx esi, byte [r8]
add ecx, esi
movzx esi, byte [r8 + 3]
shl esi, 0x18
add ecx, esi
sub ecx, edx
sub edx, eax
sub ecx, eax
add ecx, r11d
mov r11d, eax
shr r11d, 0xd
xor ecx, r11d
sub edx, ecx
sub eax, ecx
mov r11d, edx
mov edx, ecx
shl edx, 8
xor edx, r11d
sub eax, edx
mov r11d, eax
mov eax, edx
shr eax, 0xd
xor eax, r11d
sub ecx, edx
add r8, 0xc
sub ecx, eax
sub edx, eax
mov r11d, ecx
mov ecx, eax
shr ecx, 0xc
xor ecx, r11d
sub edx, ecx
sub eax, ecx
mov r11d, edx
mov edx, ecx
shl edx, 0x10
xor edx, r11d
sub eax, edx
sub ecx, edx
mov r11d, eax
mov eax, edx
shr eax, 5
xor eax, r11d
mov r11d, eax
sub ecx, eax
sub edx, eax
shr r11d, 3
xor r11d, ecx
mov esi, r11d
sub edx, r11d
sub eax, r11d
shl esi, 0xa
xor esi, edx
mov ecx, esi
sub eax, esi
shr ecx, 0xf
xor ecx, eax
cmp r8, r9
jne 0x1400aed20
movzx eax, byte [rbx + 0x4b]
movzx r8d, byte [rbx + 0x4a]
add ecx, 0x4d
movzx edx, byte [rbx + 0x4c]
shl r8d, 0x10
shl eax, 0x18
add eax, r8d
movzx r8d, byte [rbx + 0x48]
add edx, esi
add eax, r8d
movzx r8d, byte [rbx + 0x49]
shl r8d, 8
add eax, r8d
mov r8d, ecx
add eax, r11d
shr r8d, 0xd
sub eax, edx
sub edx, ecx
sub eax, ecx
xor r8d, eax
mov eax, edx
mov edx, r8d
sub eax, r8d
sub ecx, r8d
shl edx, 8
xor edx, eax
mov eax, edx
sub ecx, edx
sub r8d, edx
shr eax, 0xd
xor eax, ecx
mov ecx, eax
sub r8d, eax
sub edx, eax
shr ecx, 0xc
xor ecx, r8d
sub edx, ecx
sub eax, ecx
mov r8d, edx
mov edx, ecx
shl edx, 0x10
xor edx, r8d
sub eax, edx
mov r8d, eax
mov eax, edx
shr eax, 5
xor eax, r8d
sub ecx, edx
mov r8d, eax
sub ecx, eax
sub edx, eax
shr r8d, 3
xor ecx, r8d
mov edi, ecx
sub edx, ecx
sub eax, ecx
shl edi, 0xa
xor edi, edx
mov rdx, qword [r10 + 0x118]
sub eax, edi
shr edi, 0xf
xor edi, eax
mov eax, dword [rdx + 8]
sub eax, 1
and eax, edi
shl rax, 4
add rax, qword [rdx]
mov rsi, qword [rax]
xor eax, eax
test rsi, rsi
je 0x1400aef89
mov rax, qword [rdx + 0x20]
mov rbp, rax
sub rsi, rax
neg rbp
jmp 0x1400aef13
mov rsi, qword [rsi + 0x138]
test rsi, rsi
je 0x1400aef98
add rsi, rbp
cmp dword [rsi + 0x14c], edi
jne 0x1400aef00
cmp dword [rsi + 0x148], 0x4d
jne 0x1400aef00
mov rcx, qword [rsi + 0x140]
mov r8d, 0x4d
mov rdx, rbx
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1400aef00
cmp byte [rsi], 1
sbb eax, eax
add rsp, 0x48
pop rbx
or eax, 1
pop rsi
pop rdi
pop rbp
ret
mov rax, qword [rbx + 1]
mov r9d, 7
xor edx, edx
xor ecx, ecx
lea r8, [0x1402a1cc0]
mov qword [rsp + 0x30], rax
lea rax, str.dap_chain_net_srv_stake_key_delegated
mov qword [rsp + 0x28], rax
lea rax, str.__s__Stake_table_for_net_id_0x_llX_is_not_initialized
mov qword [rsp + 0x20], rax
call fcn.14005a150
xor eax, eax
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
add rsp, 0x48
xor eax, eax
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor eax, eax
ret