Function at 0x14006fcba
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x78
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], rcx
call fcn.14006611a
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
call fcn.140032271
mov cl, al
mov rax, qword [rsp + 0x68]
mov byte [rsp + 0x77], cl
cmp byte [rax], 0
jne 0x14006fc90
mov eax, dword [0x1401cb4b8]
xor edx, edx
div dword [0x1401cb4bc]
mov ecx, 0x38283ce4
xor ecx, 0xb7291757
xor edx, edx
div ecx
mov ecx, 0xa21abbad
xor ecx, 0x27847288
add eax, ecx
mov edx, eax
xor edx, 0xffffffff
and edx, 0x472ba74f
mov r8d, 0x383d4d38
xor r8d, 0x7f16ea77
mov ecx, 0x864cf9d9
xor ecx, 0x79b30626
xor r8d, ecx
mov ecx, eax
and ecx, r8d
imul ecx, edx
mov r8d, 0xf1422b6a
xor r8d, 0xb6698c25
mov edx, eax
and edx, r8d
or eax, 0x472ba74f
imul eax, edx
add eax, ecx
cmp eax, 0x74f937ae
jb 0x14006fc96
mov cl, byte [rsp + 0x77]
mov eax, dword [0x1401cb4c0]
xor eax, 0xa746ed75
mov r8d, dword [0x1401cb4c4]
xor r8d, 0xc510abb4
mov edx, eax
xor edx, r8d
xor edx, 0xffffffff
or eax, r8d
and eax, edx
and eax, 0xa03a9375
xor edx, edx
sub edx, 0xd2d0f1a
sub eax, edx
mov r8d, 0xd39a52f
xor edx, edx
div r8d
mov dl, 0x9c
xor dl, 0x5c
cmp cl, dl
sete cl
mov byte [rsp + 0x57], cl
cmp eax, 0xc622ca02
je 0x14006f915
mov al, byte [rsp + 0x57]
test al, 1
jne 0x14006f983
jmp 0x14006fa7f
mov eax, dword [0x1401cb4c8]
add eax, dword [0x1401cb4cc]
mov ecx, 0xed7c025d
xor edx, edx
div ecx
xor eax, 0xc5d6dff8
mov ecx, 0xd7eb9ae6
xor ecx, 0xd7eb9ae6
sub ecx, eax
mov eax, 0xe74f9215
xor eax, 0xe74f9215
mov edx, 0x8edb18b4
xor edx, 0xe1d9ec
sub eax, edx
add ecx, eax
mov eax, 0xca1bf8d9
xor eax, 0xca1bf8d9
sub eax, ecx
mov ecx, 0xc719df09
xor ecx, 0xb4c72b4
cmp eax, ecx
jae 0x14006fc9f
mov rcx, qword [rsp + 0x60]
mov eax, dword [0x1401cb4d0]
mov edx, dword [0x1401cb4d4]
xor edx, 0x6807208e
or eax, edx
mov r8d, 0xc72e4659
xor edx, edx
div r8d
or eax, 0x192def84
mov r9d, 0xffffffff
xor r9d, 0x2a1268dc
mov r8d, eax
and r8d, r9d
mov edx, eax
or edx, r9d
xor edx, 0xffffffff
imul edx, r8d
mov r9d, 0x689ef762
xor r9d, 0x428c9fbe
mov r8d, eax
and r8d, r9d
mov r9d, 0xd54de7b7
xor r9d, 0xff5f8f6b
or eax, r9d
imul eax, r8d
add eax, edx
mov dword [rsp + 0x50], eax
mov eax, 0x4223e0ed
xor eax, 0xc6a74607
mov dword [rsp + 0x4c], eax
call fcn.14006a3e0
mov ecx, dword [rsp + 0x4c]
mov eax, dword [rsp + 0x50]
cmp eax, ecx
je 0x14006f9e2
jmp 0x14006fc90
mov eax, dword [0x1401cb4d8]
mov edx, dword [0x1401cb4dc]
mov ecx, eax
and ecx, edx
or eax, edx
add ecx, eax
mov eax, 0xd15000e3
xor eax, 0x8eafff99
sub ecx, eax
sub ecx, 0xf34fdd73
add ecx, 0x5fffff7a
mov edx, 0xffffffff
xor edx, 0x75b58f68
mov eax, ecx
xor eax, edx
and eax, ecx
imul eax, eax, 0x7d154069
cmp eax, 0xc79bd1c
jb 0x14006fca8
mov rcx, qword [rsp + 0x58]
mov eax, dword [0x1401cb4e0]
xor eax, 0xdb50f9b6
mov r8d, dword [0x1401cb4e4]
xor edx, edx
sub edx, eax
xor eax, eax
sub eax, r8d
add edx, eax
xor eax, eax
sub eax, edx
and eax, 0xac58de5
mov edx, 0x7bded27
xor edx, 0xed5f2508
add eax, edx
xor edx, edx
sub edx, 0xc0fc4b55
sub eax, edx
mov rcx, qword [rcx]
mov qword [rsp + 0x40], rcx
cmp rcx, 0
sete cl
mov byte [rsp + 0x4b], cl
cmp eax, 0x52b85977
jb 0x14006facd
mov rax, qword [rsp + 0x40]
mov cl, byte [rsp + 0x4b]
test cl, 1
mov qword [rsp + 0x38], rax
jne 0x14006fb49
jmp 0x14006fc81
xor eax, eax
mov ecx, eax
call fcn.1400ce0d0
mov rax, qword [rsp + 0x68]
cmp byte [rax], 0
jne 0x14006fc90
mov eax, dword [0x1401cb4e8]
mov ecx, dword [0x1401cb4ec]
mov edx, 0xa16c5006
xor edx, 0xfc541f56
sub eax, edx
sub eax, ecx
add eax, 0x5d384f50
xor eax, 0x81df5d3
add eax, 0x9b95468a
mov ecx, 0x3fcf8d6a
xor ecx, 0x2578131b
add eax, ecx
sub eax, 0x9b95468a
mov ecx, 0x5babc0c9
xor ecx, 0x58458a9c
xor edx, edx
div ecx
cmp eax, 0x2a57cd2d
ja 0x14006fcb1
mov eax, dword [0x1401cb4f0]
xor edx, edx
div dword [0x1401cb4f4]
mov ecx, eax
mov eax, 0x867e8cdd
xor eax, 0xc179ef0e
mov edx, 0xc412569
xor edx, 0xf3beda96
xor eax, edx
add ecx, eax
add ecx, 1
mov eax, ecx
and eax, eax
xor eax, 0xffffffff
xor eax, 0xffffffff
mov edx, 0xffffffff
xor edx, 0x150ce7d4
or eax, edx
mov edx, 0xffffffff
xor edx, 0x150ce7d4
mov r8d, 0xffffffff
xor r8d, 0x150ce7d4
or edx, r8d
xor ecx, 0xffffffff
xor edx, 0xffffffff
or ecx, edx
xor eax, 0xffffffff
xor ecx, 0xffffffff
or eax, ecx
mov ecx, 0x8fded983
xor ecx, 0x223ed93a
and eax, ecx
mov dword [rsp + 0x2c], eax
mov eax, 0x989a5ef7
xor eax, 0x49c6b812
mov dword [rsp + 0x28], eax
mov ecx, 0x38
mov edx, 8
call fcn.14001217d
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x28]
mov r8, rax
mov eax, dword [rsp + 0x2c]
mov qword [rsp + 0x30], r8
mov qword [rdx], r8
cmp eax, ecx
ja 0x14006fcb1
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
jmp 0x14006fc81
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x38]
call fcn.14006f760
nop
add rsp, 0x78
ret
jmp 0x12991ef87
mov dh, 0x8e
pop rbx
in eax, dx
jmp 0x14006f9e2
invalid
scasb al, byte [rdi]
invalid
sub rsp, 0x38
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
call fcn.14006611a
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
add rsp, 0x38
jmp 0x14006f860