Function at 0x180108980
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rcx
cmp r8, 0xe
jne 0x180108ac1
movabs rax, 0x5f6c616d69636544
xor rax, qword [rdx]
movabs rcx, 0x7265626d754e5f6c
xor rcx, qword [rdx + 6]
or rcx, rax
jne 0x180108bce
movzx eax, byte [0x1802800c9]
mov ecx, 0x238
mov edx, 4
call fcn.180047b30
test rax, rax
je 0x180109021
xor ecx, ecx
lea rdx, [0x1801d9fe8]
movdqa xmm0, xmmword [0x1801a3f50]
nop
movdqu xmm1, xmmword [rcx + rdx]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
movdqa xmm3, xmm4
pandn xmm3, xmm1
movdqa xmm5, xmm4
pandn xmm5, xmm2
pand xmm2, xmm4
por xmm2, xmm3
pand xmm4, xmm1
por xmm4, xmm5
punpckldq xmm2, xmm4
movdqu xmmword [rax + rcx], xmm2
add rcx, 0x10
cmp rcx, 0x230
jne 0x180108a00
movabs rcx, 0x1fbf90001fbf0
mov qword [rax + 0x230], rcx
mov rcx, rax
add rcx, 0x238
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], 0x47
mov qword [rbp - 8], rcx
lea r8, str._rustc_7442931d49b199ad0a1cc0f8ca54e327b5139b66librarycore_srciter_traitsiterator.rsp
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x20]
call fcn.180100ab0
mov rax, qword [rbp - 0x30]
test rax, rax
mov qword [rbp - 0x10], rax
movups xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp - 0x20], xmm0
sete byte [rbp - 8]
lea rcx, [rbp - 0x20]
call fcn.18010dbf0
jmp 0x180108e7a
cmp r8, 3
je 0x180108bb6
cmp r8, 8
je 0x180108b75
cmp r8, 5
jne 0x180108bce
mov eax, 0x49435341
xor eax, dword [rdx]
movzx ecx, byte [rdx + 4]
xor ecx, 0x49
or ecx, eax
jne 0x180108bce
movzx eax, byte [0x1802800c9]
mov ecx, 8
mov edx, 4
call fcn.180047b30
test rax, rax
je 0x18010904b
movabs rcx, 0x7f00000000
mov qword [rax], rcx
mov rcx, rax
add rcx, 8
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], 1
mov qword [rbp - 8], rcx
lea r8, str._rustc_7442931d49b199ad0a1cc0f8ca54e327b5139b66librarycore_srciter_traitsiterator.rsp
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x20]
call fcn.180100ab0
mov rax, qword [rbp - 0x30]
test rax, rax
mov qword [rbp - 0x10], rax
movups xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp - 0x20], xmm0
sete byte [rbp - 8]
lea rcx, [rbp - 0x20]
call fcn.18010dbf0
jmp 0x180108e7a
movabs rax, 0x64656e6769737341
cmp qword [rdx], rax
jne 0x180108bce
lea rdx, [0x1801dd80f]
lea rcx, [rbp - 0x20]
mov r8d, 0xa
call fcn.180108980
mov rax, qword [rbp - 0x20]
mov rcx, rax
neg rcx
movzx ecx, byte [rbp - 0x18]
jno 0x180108ff4
mov byte [rsi + 8], cl
jmp 0x180108d4f
movzx eax, word [rdx]
xor eax, 0x6e41
movzx ecx, byte [rdx + 2]
xor ecx, 0x79
or cx, ax
je 0x180108f74
mov r14, r8
sub r14, 0xf
mov eax, 0xf
cmovb rax, r8
neg r14
lea rcx, [0x1801de1ec]
mov rbx, rdx
mov rdi, r8
mov r8, rax
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne r14, rax
xor eax, eax
test r14, r14
mov r15d, 0x12
cmovg r15, rax
lea r12, [r15 + 9]
mov eax, r12d
shl eax, 5
lea r14, [0x1801f3900]
mov rcx, qword [rax + r14]
mov r8, qword [rax + r14 + 8]
mov r13, r8
sub r13, rdi
cmovae r8, rdi
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne r13, rax
test r13, r13
cmovle r15, r12
lea r12, [r15 + 5]
mov eax, r12d
shl eax, 5
mov rcx, qword [rax + r14]
mov r8, qword [rax + r14 + 8]
mov r13, r8
sub r13, rdi
cmovae r8, rdi
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne r13, rax
test r13, r13
cmovle r15, r12
lea r12, [r15 + 2]
mov rax, r12
shl rax, 5
mov rcx, qword [rax + r14]
mov r8, qword [rax + r14 + 8]
mov r13, r8
sub r13, rdi
cmovae r8, rdi
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne r13, rax
test r13, r13
cmovg r12, r15
lea r13, [r12 + 1]
mov rax, r13
shl rax, 5
mov rcx, qword [rax + r14]
mov r8, qword [rax + r14 + 8]
mov r15, r8
sub r15, rdi
cmovae r8, rdi
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne r15, rax
test r15, r15
cmovg r13, r12
lea r15, [r13 + 1]
mov rax, r15
shl rax, 5
mov rcx, qword [rax + r14]
mov r8, qword [rax + r14 + 8]
mov r12, r8
sub r12, rdi
cmovae r8, rdi
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne r12, rax
test r12, r12
cmovg r15, r13
shl r15, 5
mov rcx, qword [r15 + r14]
mov rax, qword [r15 + r14 + 8]
mov r12, rax
sub r12, rdi
cmovb rdi, rax
mov rdx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne r12, rax
test r12, r12
je 0x180108d61
mov byte [rsi + 8], 1
movabs rax, 0x8000000000000000
mov qword [rsi], rax
jmp 0x180108e89
mov rbx, qword [r15 + r14 + 0x18]
test rbx, rbx
je 0x180108e2d
mov r14, qword [r15 + r14 + 0x10]
lea rdi, [rbx*8]
movzx eax, byte [0x1802800c9]
mov edx, 4
mov rcx, rdi
call fcn.180047b30
test rax, rax
je 0x180109037
cmp rbx, 0x13
ja 0x180108e9a
xor ecx, ecx
mov rdx, rcx
or rdx, 1
test bl, 1
je 0x180108dd4
mov r8d, dword [r14 + rcx*8]
mov r9d, dword [r14 + rcx*8 + 4]
cmp r8d, r9d
mov r10d, r9d
cmovb r10d, r8d
cmova r9d, r8d
mov dword [rax + rcx*8], r10d
mov dword [rax + rcx*8 + 4], r9d
mov rcx, rdx
cmp rbx, rdx
je 0x180108e32
nop dword [rax]
mov edx, dword [r14 + rcx*8]
mov r8d, dword [r14 + rcx*8 + 4]
cmp edx, r8d
mov r9d, r8d
cmovb r9d, edx
cmova r8d, edx
mov dword [rax + rcx*8], r9d
mov dword [rax + rcx*8 + 4], r8d
mov edx, dword [r14 + rcx*8 + 8]
mov r8d, dword [r14 + rcx*8 + 0xc]
cmp edx, r8d
mov r9d, r8d
cmovb r9d, edx
cmova r8d, edx
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r8d
add rcx, 2
cmp rbx, rcx
jne 0x180108de0
jmp 0x180108e32
mov eax, 4
lea rcx, [rax + rbx*8]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], rcx
lea r8, str._rustc_7442931d49b199ad0a1cc0f8ca54e327b5139b66librarycore_srciter_traitsiterator.rsp
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x20]
call fcn.180100ab0
mov rax, qword [rbp - 0x30]
test rax, rax
mov qword [rbp - 0x10], rax
movups xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp - 0x20], xmm0
sete byte [rbp - 8]
lea rcx, [rbp - 0x20]
call fcn.18010dbf0
movaps xmm0, xmmword [rbp - 0x20]
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rdx, [rax + rbx*8]
add rdx, 0xfffffffffffffff8
xor ecx, ecx
cmp rdx, rax
jb 0x180108da5
lea rdx, [rax + 4]
lea r8, [rax + rbx*8]
add r8, 0xfffffffffffffffc
cmp r8, rdx
jb 0x180108da5
lea rdx, [rbx - 1]
shr rdx, 0x3d
jne 0x180108da5
lea rcx, [rax + rbx*8]
lea rdx, [r14 + rbx*8]
cmp rax, rdx
setb dl
cmp r14, rcx
setb cl
test dl, cl
jne 0x180108da3
movabs rcx, 0x3ffffffffffffffe
and rcx, rbx
xor edx, edx
movdqa xmm0, xmmword [0x1801a3f50]
nop word cs:[rax + rax]
movdqu xmm1, xmmword [r14 + rdx*8]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
movdqa xmm3, xmm4
pandn xmm3, xmm1
movdqa xmm5, xmm4
pandn xmm5, xmm2
pand xmm2, xmm4
por xmm2, xmm3
pand xmm4, xmm1
por xmm4, xmm5
punpckldq xmm2, xmm4
movdqu xmmword [rax + rdx*8], xmm2
add rdx, 2
cmp rcx, rdx
jne 0x180108f10
cmp rbx, rcx
jne 0x180108da5
jmp 0x180108e32
movzx eax, byte [0x1802800c9]
mov ecx, 8
mov edx, 4
call fcn.180047b30
test rax, rax
je 0x18010904b
movabs rcx, 0x10ffff00000000
mov qword [rax], rcx
mov rcx, rax
add rcx, 8
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], 1
mov qword [rbp - 8], rcx
lea r8, str._rustc_7442931d49b199ad0a1cc0f8ca54e327b5139b66librarycore_srciter_traitsiterator.rsp
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x20]
call fcn.180100ab0
mov rax, qword [rbp - 0x30]
test rax, rax
mov qword [rbp - 0x10], rax
movups xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp - 0x20], xmm0
sete byte [rbp - 8]
lea rcx, [rbp - 0x20]
call fcn.18010dbf0
jmp 0x180108e7a
mov rdx, qword [rbp - 8]
mov qword [rbp - 0x28], rdx
movups xmm0, xmmword [rbp - 0x17]
movups xmmword [rbp - 0x37], xmm0
mov qword [rbp - 0x40], rax
mov byte [rbp - 0x38], cl
lea rcx, [rbp - 0x40]
call fcn.18010d4f0
movups xmm0, xmmword [rbp - 0x40]
movups xmm1, xmmword [rbp - 0x30]
jmp 0x180108e82
lea r8, [0x1801da278]
mov ecx, 4
mov edx, 0x238
call fcn.180191353
lea r8, [0x1801da278]
mov ecx, 4
mov rdx, rdi
call fcn.180191353
lea r8, [0x1801da278]
mov ecx, 4
mov edx, 8
call fcn.180191353
int3