Function at 0x140013d10
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x68
mov qword [rsp + 0x48], rcx
mov rax, rcx
add rax, 8
mov qword [rsp + 0x50], rax
mov rax, qword [rcx + 8]
mov qword [rsp + 0x58], rax
mov rdx, qword [rcx]
mov qword [rsp + 0x60], rdx
xor eax, eax
sub rax, 1
mov rcx, rdx
sub rcx, rax
mov rax, rdx
and rax, 0xffffffffffffffff
shl rax, 1
movabs r8, 0x2a65cb6bd4a89374
movabs r9, 0xd59a34942b576c8b
xor r8, r9
add rdx, r8
sub rdx, rax
movabs rax, 0x6a69a6a7d1f25d49
movabs r8, 0x959659582e0da2b6
xor rax, r8
xor rdx, rax
mov rax, rcx
xor rax, rdx
and rax, rcx
cmp rax, 0
jge 0x140013da1
call fcn.140008024
jmp 0x1400140e2
mov eax, dword [0x1401c8a38]
xor edx, edx
div dword [0x1401c8a3c]
mov ecx, eax
mov eax, ecx
xor eax, 0xffffffff
mov r8d, 0x69ca32db
xor r8d, 0x9635cd24
mov edx, ecx
xor edx, r8d
or eax, edx
and eax, 0xe5f8cb9
xor eax, 0xffffffff
mov edx, 0xaa22e3bf
xor edx, 0xa47d6f06
mov r8d, 0x2272e96f
xor r8d, 0x2c2d65d6
and edx, r8d
xor edx, 0xffffffff
xor ecx, 0xffffffff
xor edx, 0xffffffff
or ecx, edx
mov edx, 0xc626a323
xor edx, 0x39d95cdc
xor eax, edx
xor ecx, 0xffffffff
or eax, ecx
add eax, 0xf87064e8
mov ecx, 0xda60c5da
xor edx, edx
div ecx
cmp eax, 0xa1d7e7e1
je 0x1400140e8
mov rcx, qword [rsp + 0x60]
mov eax, dword [0x1401c8a40]
xor eax, 0x12c40121
or eax, dword [0x1401c8a44]
xor edx, edx
sub edx, 0x29b324bb
add eax, edx
imul eax, eax, 0xce7061a4
or eax, 0xfd6aab24
movabs r8, 0x20cc63ddfe50572f
movabs rdx, 0x20cc63ddfe505726
xor r8, rdx
mov rdx, rcx
add rdx, r8
mov qword [rsp + 0x38], rdx
movabs r8, 0x4957a8116218d33d
movabs r9, 0xb6a857ee9de72cc3
xor r8, r9
movabs r9, 0x16382b12c3eec38b
movabs r10, 0xe2561cb8447dd219
xor r9, r10
sub r8, r9
sub r8, rcx
movabs rcx, 0xf46e37aa87931192
add r8, rcx
xor r8, 0xffffffffffffffff
mov rcx, rdx
xor rcx, r8
and rcx, rdx
cmp rcx, 0
setl cl
mov byte [rsp + 0x47], cl
cmp eax, 0xcd2a8172
jbe 0x140013e23
mov al, byte [rsp + 0x47]
test al, 1
jne 0x140013ee5
jmp 0x140013fd4
mov eax, dword [0x1401c8a48]
xor edx, edx
div dword [0x1401c8a4c]
mov ecx, 0xccefc459
xor ecx, 0x33103ba6
xor eax, ecx
mov ecx, 0x5b66bf11
xor ecx, 0x75b1a10b
mov edx, 0xa0c12dc2
xor edx, 0x5f3ed23d
xor ecx, edx
mov edx, 0xffffffff
xor edx, 0xd24e195f
or eax, ecx
mov ecx, 0xe59d6429
xor ecx, 0x37d37d76
or ecx, edx
mov edx, 0xe68691f3
xor edx, 0x19796e0c
xor eax, edx
and eax, ecx
add eax, 0xfbffd845
mov r8d, 0xffffffff
xor r8d, 0xe8dee48d
mov edx, eax
and edx, r8d
mov ecx, eax
or ecx, r8d
xor ecx, 0xffffffff
imul ecx, edx
mov edx, eax
and edx, 0xe8dee48d
or eax, 0xe8dee48d
imul eax, edx
add eax, ecx
mov ecx, 0x7c906a25
xor ecx, 0x7f6b4957
cmp eax, ecx
jb 0x1400140f1
mov eax, dword [0x1401c8a50]
mov ecx, dword [0x1401c8a54]
xor ecx, 0xa28415fd
xor edx, edx
div ecx
sub eax, 0x857ef8e9
and eax, 0xf725be62
add eax, 0xf5a68efd
add eax, 0xea00aa21
sub eax, 0xf5a68efd
mov dword [rsp + 0x34], eax
call fcn.140008024
mov eax, dword [rsp + 0x34]
cmp eax, 0x179044a0
jbe 0x140013f88
jmp 0x1400140e2
mov rax, qword [rsp + 0x38]
movabs rcx, 0x598fdf3fd4c4618a
movabs rdx, 0x598fdf3fd4c4618a
xor rcx, rdx
cmp rax, rcx
jge 0x140014009
mov rcx, r8
mov rdx, r8
call fcn.14000c8ac
jmp 0x1400140e2
mov rcx, qword [rsp + 0x38]
call fcn.14000b1b3
mov rdx, qword [rsp + 0x50]
mov rcx, rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov qword [rdx], rcx
mov rdx, qword [rax]
mov qword [rcx], rdx
mov rcx, qword [rax]
movabs rdx, 0x8a3dced69c000acb
movabs rax, 0x8a3dced69c000aca
xor rdx, rax
movabs rax, 0x5d5d484d85a1b82e
movabs r8, 0xa2a2b7b27a5e47d1
xor rax, r8
xor rdx, rax
xor eax, eax
sub rax, 1
sub rdx, rax
mov rax, rcx
sub rax, rdx
mov qword [rsp + 0x28], rax
movabs rdx, 0xac258182d23ba352
movabs r8, 0x53da7e7d2dc45cad
xor rdx, r8
xor rcx, rdx
and rax, rcx
cmp rax, 0
jge 0x1400140a7
movabs dword [0xb849ac258182d23b], eax
lodsd eax, dword [rsi]
pop rsp
invalid
call fcn.140008024
jmp 0x1400140e2
mov rax, qword [rsp + 0x28]
cmp rax, 0
jge 0x1400140c6
mov rcx, r8
mov rdx, r8
call fcn.14000c8ac
jmp 0x1400140e2
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x20]
add rcx, 8
add rdx, 8
call fcn.14002f75a
nop
add rsp, 0x68
ret
jmp 0x140014079
invalid