Function at 0x18022b530
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xd0
mov rdi, r9
mov r14, r8
mov r15, rdx
mov r13, rcx
mov rbx, qword [rdx + 8]
sub rbx, qword [rdx]
mov r12, qword [rbp + 0x7f]
mov rcx, qword [r12]
mov rax, qword [rcx]
call qword [rax]
cmp rbx, rax
jne 0x18022b8c5
lea rax, [r14 + rdi]
mov qword [rbp + 0x7f], rax
cmp rax, qword [r13 + 0x50]
jae 0x18022b8ef
mov rcx, qword [r12]
mov rax, qword [rcx]
call qword [rax]
mov rsi, rax
xor edi, edi
mov qword [rsp + 0x30], rdi
mov qword [rbp - 0x79], rdi
mov qword [rbp - 0x71], rdi
test rax, rax
je 0x18022b5ee
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x18022b895
lea edx, [rdi + 1]
mov rcx, rsi
call fcn.18009de10
mov rdi, rax
mov qword [rsp + 0x30], rax
lea rbx, [rax + rsi]
mov qword [rbp - 0x71], rbx
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.180283390
mov qword [rbp - 0x79], rbx
cmp r14, qword [rbp + 0x7f]
jae 0x18022b859
mov rsi, qword [rbp + 0x6f]
nop dword [rax]
cmp r14, qword [r13 + 0x50]
jae 0x18022b859
mov rcx, qword [rsi]
cmp byte [rcx + 0xf], 0
jne 0x18022b89b
mov eax, r14d
shr eax, 0x18
mov byte [rcx + 0x18], al
mov rcx, qword [rsi]
mov eax, r14d
shr eax, 0x10
mov byte [rcx + 0x19], al
mov rcx, qword [rsi]
mov eax, r14d
shr eax, 8
mov byte [rcx + 0x1a], al
mov rax, qword [rsi]
mov byte [rax + 0x1b], r14b
mov rax, qword [rsi]
mov byte [rax + 0x1f], 1
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
sub rcx, rax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rcx
movaps xmm0, xmmword [rbp - 0x21]
movdqa xmmword [rbp - 0x41], xmm0
mov rax, qword [rbp + 0x77]
movups xmm1, xmmword [rax]
movaps xmmword [rbp - 0x61], xmm1
lea rax, [rbp - 0x41]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x61]
lea r8, [rsp + 0x30]
mov dl, 3
mov rcx, r12
call fcn.18022ab80
mov r9, qword [r15]
mov r8, qword [r15 + 8]
sub r8, r9
mov rdi, r8
and edi, 0x1f
mov rdx, r8
mov r10, qword [rsp + 0x30]
sub rdx, rdi
je 0x18022b72d
mov rcx, r9
mov r11, r10
sub r11, r9
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [rcx]
movups xmmword [rbp - 0x61], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rbp - 0x51], xmm1
movups xmm0, xmmword [r11 + rcx]
movups xmmword [rbp - 0x41], xmm0
movups xmm1, xmmword [r11 + rcx + 0x10]
movups xmmword [rbp - 0x31], xmm1
xor eax, eax
nop dword [rax]
nop dword [rax + rax]
movdqu xmm1, xmmword [rbp + rax - 0x41]
movdqu xmm0, xmmword [rbp + rax - 0x61]
xorps xmm1, xmm0
movdqu xmmword [rbp + rax - 0x61], xmm1
add rax, 0x10
cmp rax, 0x20
jl 0x18022b6f0
movups xmm0, xmmword [rbp - 0x61]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rbp - 0x51]
movups xmmword [rcx + 0x10], xmm1
add rcx, 0x20
mov rax, rcx
sub rax, r9
cmp rax, rdx
jne 0x18022b6c0
cmp rdx, r8
je 0x18022b7b1
cmp rdi, 8
jb 0x18022b793
lea rcx, [rdx + r9]
lea r11, [r9 - 1]
add r11, r8
lea rbx, [rdx + r10]
lea rax, [r10 - 1]
add rax, r8
cmp rcx, rax
ja 0x18022b758
cmp r11, rbx
jae 0x18022b793
and edi, 7
mov rax, r8
sub rax, rdi
mov r11, r10
sub r11, r9
nop word [rax + rax]
movq xmm1, qword [rcx + r11]
movq xmm0, qword [rcx]
xorps xmm1, xmm0
movq qword [rcx], xmm1
add rdx, 8
lea rcx, [rcx + 8]
cmp rdx, rax
jne 0x18022b770
cmp rdx, r8
je 0x18022b7b1
lea rcx, [rdx + r9]
sub r10, r9
sub r8, rdx
nop dword [rax]
movzx eax, byte [rcx + r10]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub r8, 1
jne 0x18022b7a0
mov rax, qword [rsi]
mov byte [rax + 0x1f], 0
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
sub rcx, rax
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rcx
movaps xmm0, xmmword [rbp - 0x11]
movdqa xmmword [rbp - 0x61], xmm0
mov rax, qword [rbp + 0x77]
movups xmm1, xmmword [rax]
movaps xmmword [rbp - 0x41], xmm1
lea rax, [rbp - 0x61]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x41]
lea r8, [rsp + 0x30]
mov dl, 3
mov rcx, r12
call fcn.18022ab80
mov rax, qword [r15]
mov rcx, qword [r15 + 8]
sub rcx, rax
mov qword [rbp - 1], rax
mov qword [rbp + 7], rcx
mov rax, qword [rbp - 0x79]
mov rdi, qword [rsp + 0x30]
sub rax, rdi
mov qword [rbp + 0xf], rdi
mov qword [rbp + 0x17], rax
movaps xmm0, xmmword [rbp - 1]
movdqa xmmword [rbp - 0x61], xmm0
movaps xmm1, xmmword [rbp + 0xf]
movdqa xmmword [rbp - 0x41], xmm1
lea rax, [rbp - 0x61]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x41]
mov r8, r15
xor edx, edx
mov rcx, r12
call fcn.18022ab80
inc r14
cmp r14, qword [rbp + 0x7f]
jb 0x18022b600
test rdi, rdi
je 0x18022b874
mov rdx, qword [rbp - 0x71]
sub rdx, rdi
mov r8d, 1
mov rcx, rdi
call fcn.18009df10
nop
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1800030ee
nop
mov dword [rsp + 0x20], 0xf7
lea r9, [0x1803e48b0]
lea r8, str.set_hash_address
lea rdx, str.set_hash_address___requires_XMSS_Address::Type::OTS_Hash_Address.
lea rcx, str.get_type____Type::OTS_Hash_Address
call fcn.1800d1f70
nop
mov dword [rsp + 0x20], gethostname
lea r9, [0x1803e2700]
lea r8, str.chain
lea rdx, [0x1803c6beb]
lea rcx, str.result.size____hash.output_length__
call fcn.1800d1f70
int3
mov dword [rsp + 0x20], gethostname
lea r9, [0x1803e2700]
lea r8, str.chain
lea rdx, [0x1803c6beb]
lea rcx, str.start_idx__steps___params.wots_parameter__
call fcn.1800d1f70
int3