Function at 0x1400820e0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x78
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rcx
call fcn.14006b577
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rdx, qword [rdx]
call fcn.14006bf90
mov rax, qword [rsp + 0x70]
mov al, byte [rax]
mov cl, 0xd3
xor cl, 0xd3
cmp al, cl
jne 0x1400824f6
mov rax, qword [rsp + 0x60]
mov r8, qword [rax]
movabs rcx, 0x3224ce47c84a2f1a
movabs rax, 0xcddb31b837b5d0e5
xor rcx, rax
mov rax, r8
add rax, rcx
mov qword [rsp + 0x58], rax
mov rcx, rax
and rcx, r8
movabs rdx, 0x3b7ee24db0649fbf
movabs r9, 0x3b7ee24db0649fbd
xor rdx, r9
imul rdx, rcx
mov rcx, rax
add rcx, r8
sub rcx, rdx
cmp rcx, 0
setl dl
movabs rcx, 0xfd777d576a71b9ca
movabs r8, 0x28882a8958e4635
xor rcx, r8
cmp rax, rcx
setg al
xor ecx, ecx
xor cl, 1
xor al, cl
xor dl, 0xff
mov cl, 1
xor cl, 1
or al, dl
or cl, 1
xor al, 0xff
and al, cl
test al, 1
jne 0x1400821d0
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x48], rax
xor eax, eax
mov qword [rsp + 0x50], rax
jmp 0x1400822a6
mov ecx, dword [0x1402040e8]
mov edx, dword [0x1402040ec]
mov eax, ecx
or eax, eax
mov r8d, 0xb46dc5a
xor r8d, 0xf4b923a5
xor eax, r8d
mov r8d, edx
or r8d, r8d
xor r8d, 0xffffffff
xor eax, 0xffffffff
xor r8d, 0xffffffff
and eax, r8d
mov r8d, 0xc5e4f7e3
xor r8d, 0x3a1b081c
xor ecx, r8d
mov r8d, 0x2187f88e
xor r8d, 0xde780771
xor edx, r8d
and ecx, edx
or eax, ecx
xor eax, 0xffffffff
add eax, 0xe8b635ad
or eax, 0xd294a337
add eax, 0xbde5acbd
cmp eax, 0xad482891
je 0x1400824fb
mov eax, dword [0x1402040f0]
mov ecx, dword [0x1402040f4]
xor ecx, 0xcbade400
xor edx, edx
div ecx
mov ecx, 0xd307680c
xor edx, edx
div ecx
mov ecx, 0x3bac3185
xor ecx, 0x537e6d48
and eax, ecx
mov ecx, 0xba84da4f
xor edx, edx
div ecx
mov dword [rsp + 0x44], eax
mov eax, 0x1846e9ca
xor eax, 0x33ceb86d
mov dword [rsp + 0x40], eax
call fcn.140007f57
mov ecx, dword [rsp + 0x40]
mov eax, dword [rsp + 0x44]
cmp eax, ecx
jae 0x140082245
jmp 0x1400824f6
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
cmp rax, rcx
jg 0x1400824f6
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rcx
cmp rax, rcx
jl 0x14008232b
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
movabs rax, 0xf0aeb63633443e4b
movabs r8, 0xf5149c9ccbbc1b4
xor rax, r8
movabs r8, 0x72c2a1b1e00715d
movabs r9, 0xf8d3d5e4e1ff8ea2
xor r8, r9
xor rax, r8
xor r8d, r8d
sub r8, 1
sub rax, r8
sub rdx, rax
call fcn.140014583
jmp 0x1400824f6
mov eax, dword [0x1402040f8]
xor eax, 0xf2d4ca64
xor edx, edx
div dword [0x1402040fc]
mov r11d, eax
mov eax, r11d
xor eax, 0xffffffff
mov edx, 0x10482e5a
xor edx, 0x3ab05d98
mov ecx, 0x9457e5c7
xor ecx, 0x6ba81a38
xor edx, ecx
mov r8d, 0xffffffff
xor r8d, 0x8767eaa0
mov ecx, eax
and ecx, 0x8767eaa0
and r11d, r8d
mov r10d, 0xb2931d6b
xor r10d, 0x35f4f7cb
mov r9d, edx
and r9d, r10d
mov r10d, 0xbc10dc62
xor r10d, 0x96e8afa0
and r10d, r8d
or ecx, r11d
or r9d, r10d
xor ecx, r9d
or eax, edx
xor eax, 0xffffffff
mov edx, 0x8a222a14
xor edx, 0xd45c0b4
or edx, r8d
and eax, edx
or ecx, eax
mov eax, 0xa682f5f3
xor eax, 0x9fd835b3
and ecx, eax
mov eax, ecx
xor eax, 0xffffffff
and eax, 0x2af97dc3
mov edx, 0xffffffff
xor edx, 0x2af97dc3
and ecx, edx
or eax, ecx
cmp eax, 0xd6a815f4
jae 0x140082504
mov rcx, qword [rsp + 0x68]
mov eax, dword [0x140204100]
xor eax, 0xdea406e4
imul eax, dword [0x140204104]
mov edx, 0x5c87a98b
xor edx, 0xa3785674
mov r8d, eax
xor r8d, edx
and r8d, 0xfe3f1f3f
mov r9d, 0x58fcc331
xor r9d, 0xa6c3dc0e
mov edx, 0x679275ca
xor edx, 0x986d8a35
xor r9d, edx
mov edx, eax
and edx, r9d
imul edx, r8d
mov r8d, eax
and r8d, 0xfe3f1f3f
mov r9d, 0x62f2c48f
xor r9d, 0x9ccddbb0
or eax, r9d
imul eax, r8d
add eax, edx
imul eax, eax, 0xe8577896
mov r8d, 0x7cac678a
xor edx, edx
div r8d
mov rdx, qword [rsp + 0x38]
mov r8d, eax
mov rax, qword [rsp + 0x48]
mov dword [rsp + 0x28], r8d
mov rax, qword [rax]
mov rdx, qword [rax + rdx*8 + 8]
call fcn.140081e70
mov rcx, qword [rsp + 0x70]
mov eax, dword [rsp + 0x28]
cmp byte [rcx], 0
sete cl
mov byte [rsp + 0x2f], cl
cmp eax, 0x9f269b83
jae 0x1400823ea
mov al, byte [rsp + 0x2f]
test al, 1
jne 0x1400824bc
jmp 0x1400824f6
mov rax, qword [rsp + 0x38]
movabs rcx, 0xa40619dc977b10a1
movabs rdx, 0x86aff646e07389d9
xor rcx, rdx
sub rax, rcx
add rax, 1
movabs rcx, 0x22a9ef9a77089978
add rax, rcx
mov qword [rsp + 0x50], rax
jmp 0x1400822a6
add rsp, 0x78
ret
add edx, dword [0x181f155e4]
std
invalid
cmp al, 0x15
or al, 0x1b
jmp 0x1400823ea