Function at 0x1400d8370
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rsi, rcx
mov eax, dword [0x141dd77e8]
imul eax, dword [0x141dd77ec]
add eax, 0xd9ab3e56
mov ecx, 0x84009e01
imul rcx, rax
shr rcx, 0x3f
cmp ecx, 0xd17ea13c
je 0x1400d83c3
mov eax, 0x20
call fcn.1400eeec0
sub rsp, rax
mov rbx, rsp
xor eax, eax
test al, al
je 0x1400d83d2
mov eax, 0x20
call fcn.1400eeec0
sub rsp, rax
jmp 0x1400d83ad
mov rcx, qword [rsi]
cmp rcx, 0xffffffffffffffff
je 0x1400d8684
lea rax, [rcx + 1]
xor edx, edx
nop word cs:[rax + rax]
test dl, dl
jne 0x1400d83f0
lea rdx, [rcx + rcx]
cmp rdx, rax
cmova rax, rdx
cmp rax, 5
mov edi, 4
cmovae rdi, rax
movabs r8, 0x7ffffffffffffff8
mov eax, dword [0x141dd77f0]
xor edx, edx
div dword [0x141dd77f4]
mov r9d, 0x70
nop word [rax + rax]
mov r10d, dword [0x141dd77f8]
sub r10d, dword [0x141dd77fc]
add r10d, 0x48a80335
or r10d, 0x6972a8a3
mov rax, rdi
mul r9
mov r14, rax
seto al
cmp r14, r8
seta dl
cmp r10d, 0x1944128c
je 0x1400d8430
or al, dl
jne 0x1400d8684
nop
mov eax, dword [0x141dd7800]
add eax, dword [str.oV]
imul eax, eax, 0x7042681f
and eax, 0x793bdcfa
imul rax, rax, 0x1b48cdab
shr rax, 0x3b
cmp eax, 0x3d5a9fc7
je 0x1400d8470
xor eax, eax
nop dword [rax + rax]
test al, al
jne 0x1400d84a0
test rcx, rcx
je 0x1400d850d
mov eax, dword [0x141dd7808]
xor edx, edx
div dword [0x141dd780c]
nop word [rax + rax]
mov eax, dword [0x141dd7810]
add eax, dword [0x141dd7814]
or eax, 0x18d1800c
xor eax, 0x22b9c440
or eax, 0x41063a33
cmp eax, 0xa2199486
je 0x1400d84c0
mov rax, qword [rsi + 8]
mov edx, dword [0x141dd7818]
imul edx, dword [0x141dd781c]
imul rcx, rcx, 0x70
add edx, 0x1630d522
and edx, 0x8c3adee2
cmp edx, 0x9a60e367
jbe 0x1400d8512
jmp 0x1400d8540
xor r15d, r15d
jmp 0x1400d8550
mov edx, dword [0x141dd7820]
sub edx, dword [0x141dd7824]
or edx, 0x82828703
and edx, 0x9a96c72f
add edx, 0xb3702c32
mov qword [rbp - 0x18], rax
mov qword [rbp - 8], rcx
cmp edx, 0x887a6c26
jbe 0x1400d854a
mov qword [rbp - 0x18], rax
mov qword [rbp - 8], rcx
jmp 0x1400d8512
mov r15d, 8
mov eax, dword [0x141dd7828]
imul eax, dword [0x141dd782c]
add eax, 0x56969d83
or eax, 0xba3891e5
imul eax, eax, 0x3414db03
cmp eax, 0x51da46d6
jb 0x1400d85b6
mov eax, dword [0x141dd7830]
imul eax, dword [0x141dd7834]
xor eax, 0x954483a8
imul r12d, eax, 0x6616a2ef
mov qword [rbp - 0x10], r15
sub rsp, 0x20
lea r9, [rbp - 0x18]
mov edx, 8
mov rcx, rbx
mov r8, r14
call fcn.1400c0610
add rsp, 0x20
cmp r12d, 0x11fc277d
jne 0x1400d85d8
mov qword [rbp - 0x10], r15
sub rsp, 0x20
lea r9, [rbp - 0x18]
mov edx, 8
mov rcx, rbx
mov r8, r14
call fcn.1400c0610
add rsp, 0x20
jmp 0x1400d8574
cmp qword [rbx], 0
jne 0x1400d8660
mov rax, qword [rbx + 8]
mov qword [rsi + 8], rax
mov eax, dword [0x141dd7850]
sub eax, dword [0x141dd7854]
xor eax, 0xcab2042
add eax, 0x6df836b1
and eax, 0x6b090729
cmp eax, 0x1e3decc5
jbe 0x1400d8610
mov qword [rsi], rdi
nop
mov eax, dword [0x141dd7858]
add eax, dword [0x141dd785c]
xor eax, 0x8ae3ed8a
add eax, 0x8aef83ba
imul rcx, rax, 0x3065119
shr rcx, 0x20
sub eax, ecx
shr eax, 1
add eax, ecx
shr eax, 0x1f
mov qword [rsi], rdi
cmp eax, 0xb7d026bf
je 0x1400d8610
mov rsp, rbp
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
mov eax, dword [0x141dd7838]
imul eax, dword [0x141dd783c]
imul eax, eax, 0xa557232a
and eax, 0x8cfa08ec
xor eax, 0x51942dd3
cmp eax, 0x91d979d2
ja 0x1400d8660
mov eax, dword [0x141dd7840]
imul eax, dword [0x141dd7844]
or eax, 0xa9b5f959
mov ecx, 0x95331623
imul rcx, rax
shr rcx, 0x3e
or ecx, 0x9c17a530
cmp ecx, 0x96c882ed
jne 0x1400d86c0
ud2
mov eax, dword [0x141dd7848]
imul eax, dword [0x141dd784c]
add eax, 0x1cec3276
or eax, 0xc14e10bf
add eax, 0x68a7f36d
ud2