Function at 0x14001a230
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x88
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x68], rcx
call fcn.14000a534
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
add rax, 0x60
mov qword [rsp + 0x78], rax
mov rax, qword [rcx]
mov qword [rsp + 0x80], rax
cmp rax, rdx
jle 0x14001a281
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call fcn.140019f80
jmp 0x14001a623
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
cmp rax, rcx
jge 0x14001a623
mov rax, qword [rsp + 0x68]
mov rcx, rax
add rcx, 8
mov qword [rsp + 0x58], rcx
mov rax, qword [rax + 8]
mov qword [rsp + 0x60], rax
cmp rax, 0
je 0x14001a2db
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x60]
movabs rax, 0xbfffffffffffffff
and rax, qword [rdx]
cmp rax, rcx
jge 0x14001a3bf
mov rdx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x70]
movabs r8, 0xb7e3362c58d707ab
mov rcx, rax
sub rcx, r8
sub rcx, rdx
movabs r8, 0x7cd4b91b3f6e9d02
movabs r9, 0xcb378f3767b99aa9
xor r8, r9
add rcx, r8
mov qword [rsp + 0x50], rcx
mov r8, rcx
xor r8, rax
xor r8, 0xffffffffffffffff
mov r9, rax
and r9, r8
movabs r8, 0xfdfe04fef3e95697
movabs r10, 0xfdfe04fef3e95695
xor r8, r10
imul r8, r9
sub r8, rax
mov rax, rcx
sub rax, r8
movabs r8, 0x3209ec256e6c6db0
movabs r9, 0x3209ec256e6c6db0
xor r8, r9
cmp rax, r8
setl al
xor rcx, rdx
cmp rcx, 0xffffffffffffffff
setg cl
and al, cl
test al, 1
jne 0x14001a3b5
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x80]
mov r9d, 8
mov qword [rsp + 0x20], 8
call fcn.1400109f0
mov rcx, rax
mov rax, qword [rsp + 0x58]
mov qword [rax], rcx
jmp 0x14001a3bf
call fcn.140007bb8
jmp 0x14001a623
mov eax, dword [0x1401d8b98]
mov ecx, dword [0x1401d8b9c]
xor ecx, 0xb7fc52d9
imul eax, ecx
mov ecx, 0xbfe86d2a
xor ecx, 0x9986c1b5
and eax, ecx
mov edx, 0x3bf56669
xor edx, 0xd77bae60
mov ecx, eax
and ecx, edx
shl ecx, 1
add eax, 0xec8ec809
sub eax, ecx
sub eax, 0xad711d6b
add eax, 0xda9af81b
mov ecx, 0x636f37c3
xor ecx, 0xce1e2aa8
add eax, ecx
cmp eax, 0xd1423474
ja 0x14001a62c
mov r8, qword [rsp + 0x70]
mov eax, dword [0x1401d8ba0]
and eax, dword [0x1401d8ba4]
mov ecx, eax
add ecx, 1
xor eax, 0xffffffff
or eax, 0x3091075e
add eax, ecx
or eax, 0x51fdb053
mov ecx, 0xb50b6763
xor edx, edx
div ecx
mov rdx, qword [rsp + 0x68]
mov ecx, 0x2a1ff204
xor ecx, 0x1e9f0858
mov qword [rdx], r8
cmp eax, ecx
ja 0x14001a62c
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
jmp 0x14001a477
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
cmp rax, rcx
jge 0x14001a623
mov ecx, dword [0x1401d8ba8]
and ecx, dword [0x1401d8bac]
mov eax, ecx
xor eax, 0xffffffff
mov r8d, 0x7acc84e6
xor r8d, 0x85337b19
mov edx, ecx
xor edx, r8d
and eax, edx
mov edx, 0xcd24c50a
or edx, 0xcd24c50a
xor edx, 0xffffffff
xor eax, 0xffffffff
xor edx, 0xffffffff
and eax, edx
mov edx, 0x6c7f291e
xor edx, 0xa15bec14
or ecx, edx
mov edx, 0x35d8965
xor edx, 0xfca2769a
xor ecx, edx
mov edx, 0x8cce293
xor edx, 0xf7331d6c
xor eax, edx
xor ecx, 0xffffffff
and eax, ecx
add eax, 0x741284c0
mov edx, 0xffffffff
xor edx, 0xffa680ed
mov ecx, eax
and ecx, edx
mov edx, eax
xor edx, 0xffa680ed
add eax, edx
sub eax, ecx
cmp eax, 0xf017827e
je 0x14001a635
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
mov edx, dword [0x1401d8bb0]
mov r8d, dword [0x1401d8bb4]
mov r9d, 0xadf7d231
xor r9d, 0xef561a99
xor r8d, r9d
add edx, r8d
add edx, 0xc8bfb619
sub edx, 0xd746f00f
sub edx, 0x332758fb
add edx, 0xd746f00f
mov r8d, 0x2e3a3f2e
xor r8d, 0xa4ba9e8c
imul edx, r8d
mov dword [rsp + 0x38], edx
mov edx, 0xe4cafdd3
xor edx, 0x1844ab37
mov dword [rsp + 0x34], edx
mov rcx, qword [rcx]
add rcx, 8
shl rax, 3
add rcx, rax
xor eax, eax
mov edx, eax
call fcn.1400c984a
mov rdx, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x34]
mov eax, dword [rsp + 0x38]
cmp byte [rdx], 0
sete dl
mov byte [rsp + 0x3f], dl
cmp eax, ecx
je 0x14001a521
mov al, byte [rsp + 0x3f]
test al, 1
jne 0x14001a5ce
jmp 0x14001a623
mov r8, qword [rsp + 0x40]
mov rax, r8
add rax, 1
xor r8, 0xffffffffffffffff
mov rcx, rax
and rcx, r8
xor rcx, 0xffffffffffffffff
mov rdx, rax
and rdx, r8
movabs r8, 0x9afd253dc748ec40
movabs r9, 0x6502dac238b713bf
xor r8, r9
xor rdx, r8
and rcx, rdx
xor rcx, 0xffffffffffffffff
cmp rcx, 0
mov qword [rsp + 0x48], rax
jge 0x14001a477
call fcn.140007bb8
nop
add rsp, 0x88
ret
invalid
sub dl, bh
stosb byte [rdi], al
insd dword [rdi], dx
jmp 0x14001a521