Function at 0x7ffbf1d421b8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov r15, rdx
mov r12, rcx
mov rcx, qword [rcx + 0x10]
lea rsi, [rcx + 1]
mov qword [rsp + 0x20], rsi
mov rdx, rsi
mov eax, 0x46ef9ce4
mov r8d, dword [rsi + 0xc]
mov eax, 0xfffffff
lea rbp, [0x7ffbf1ca0000]
mov rcx, rbp
mov r10d, dword [rsi]
and qword [rsp + 0xb0], 0
and r10, rax
mov r14, 0xfffffffffffff000
and r8, rax
mov rax, qword [0x7ffbf1cf0238]
add r10, rbp
sub rcx, rax
mov qword [rsp + 0x28], rcx
jne 0x7ffbf1d422c0
xor r11d, r11d
test r8, r8
je 0x7ffbf1d42604
mov r9d, dword [rsp + 0xb0]
mov eax, dword [rsp + 0xb4]
movzx ecx, byte [r11 + r10]
inc r11
add ecx, 0x5d320f68
add r9d, ecx
add ecx, eax
mov eax, ecx
imul eax, eax, 0x70da
rol eax, 8
ror ecx, 8
xor eax, ecx
imul rax, rax, 0x5d320f68
mov qword [rsp + 0xa0], rax
mov ecx, dword [rsp + 0xa0]
shr rax, 0x20
lea edx, [rcx + rax*2 - 0x7fffffff]
sar ecx, 0x1f
btr ecx, 0x1f
sub edx, ecx
mov eax, edx
sar eax, 0x1f
btr eax, 0x1f
add eax, edx
add r9d, eax
cmp r11, r8
jb 0x7ffbf1d4224c
mov dword [rsp + 0xb4], eax
mov dword [rsp + 0xb0], r9d
jmp 0x7ffbf1d42604
movsxd rdx, dword [0x7ffbf1ca003c]
lea rax, [r10 + r8]
mov qword [rsp + 0x40], rax
lea rax, [0x7ffbf1ca00b0]
add rdx, rax
mov eax, r10d
sub eax, ebp
mov r9d, eax
and r9, r14
lea rsi, [rax + r8]
mov r8d, dword [rdx]
add r8, rbp
mov ebp, dword [rdx + 4]
mov rdi, rsi
and rdi, r14
mov qword [rsp + 0x30], rdi
mov ebx, eax
sub rbx, r9
sub rsi, rdi
add rbp, r8
mov qword [rsp + 0x38], rsi
jmp 0x7ffbf1d4231e
mov eax, dword [r8]
cmp rax, r9
jae 0x7ffbf1d42323
mov eax, dword [r8 + 4]
add r8, rax
cmp r8, rbp
jne 0x7ffbf1d4230f
xor r11d, r11d
cmp r8, rbp
mov r13d, 0xfff
je 0x7ffbf1d42361
mov eax, dword [r8]
cmp rax, r9
jne 0x7ffbf1d42361
mov ecx, dword [r8 + 4]
sub rcx, 8
shr rcx, 1
je 0x7ffbf1d42361
lea rdx, [r8 + 8]
movzx eax, word [rdx]
and rax, r13
cmp rax, rbx
jae 0x7ffbf1d42361
inc r11
add rdx, 2
cmp r11, rcx
jne 0x7ffbf1d4234a
mov r15, qword [rsp + 0x28]
mov ebx, dword [rsp + 0xb4]
lea r12, [0x7ffbf1ca0000]
mov r14d, dword [rsp + 0xb0]
cmp r8, rbp
je 0x7ffbf1d42565
mov eax, dword [r8]
cmp rax, rdi
ja 0x7ffbf1d42565
mov ecx, dword [r8 + 4]
lea rax, [rcx - 8]
shr rax, 1
cmp r11, rax
jne 0x7ffbf1d423be
add r8, rcx
cmp r8, rbp
je 0x7ffbf1d42565
mov eax, dword [r8]
cmp rax, rdi
ja 0x7ffbf1d42565
xor r11d, r11d
jmp 0x7ffbf1d42391
mov eax, dword [r8]
cmp rax, rdi
jne 0x7ffbf1d423d8
movzx eax, word [r8 + r11*2 + 8]
and rax, r13
cmp rax, rsi
jae 0x7ffbf1d42565
mov ecx, 0xf000
mov rax, r11
inc r11
test word [r8 + rax*2 + 8], cx
je 0x7ffbf1d4237c
movzx r9d, word [r8 + rax*2 + 8]
mov edi, r9d
and edi, r13d
xor r13d, r13d
add edi, dword [r8]
add rdi, r12
mov rsi, rdi
sub rsi, r10
je 0x7ffbf1d42478
movzx ecx, byte [r13 + r10]
inc r13
add ecx, 0x5d320f68
add r14d, ecx
add ecx, ebx
mov eax, ecx
imul eax, eax, 0x70da
rol eax, 8
ror ecx, 8
xor eax, ecx
imul rax, rax, 0x5d320f68
mov qword [rsp + 0xb8], rax
shr rax, 0x20
mov ecx, dword [rsp + 0xb8]
lea edx, [rcx + rax*2 - 0x7fffffff]
sar ecx, 0x1f
btr ecx, 0x1f
sub edx, ecx
mov ebx, edx
sar ebx, 0x1f
btr ebx, 0x1f
add ebx, edx
add r14d, ebx
cmp r13, rsi
jb 0x7ffbf1d42408
mov dword [rsp + 0xb4], ebx
mov dword [rsp + 0xb0], r14d
shr r9d, 0xc
mov rax, qword [rdi]
cmp r9d, 3
mov qword [rsp + 0xb8], rax
je 0x7ffbf1d4249b
sub r9d, 0xa
neg r9d
sbb edx, edx
add edx, 3
jmp 0x7ffbf1d424a0
mov edx, 2
mov r9, r15
neg r9
sub edx, 2
je 0x7ffbf1d424c9
cmp edx, 1
je 0x7ffbf1d424b6
or r9, 0xffffffffffffffff
jmp 0x7ffbf1d424d7
add rax, r9
mov qword [rsp + 0xb8], rax
mov r9d, 8
jmp 0x7ffbf1d424d7
add dword [rsp + 0xb8], r9d
mov r9d, 4
xor r10d, r10d
test r9, r9
je 0x7ffbf1d4254c
movzx ecx, byte [rsp + r10 + 0xb8]
inc r10
add ecx, 0x5d320f68
add r14d, ecx
add ecx, ebx
mov eax, ecx
imul eax, eax, 0x70da
rol eax, 8
ror ecx, 8
xor eax, ecx
imul rax, rax, 0x5d320f68
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x28]
shr rax, 0x20
lea edx, [rcx + rax*2 - 0x7fffffff]
sar ecx, 0x1f
btr ecx, 0x1f
sub edx, ecx
mov ebx, edx
sar ebx, 0x1f
btr ebx, 0x1f
add ebx, edx
add r14d, ebx
cmp r10, r9
jb 0x7ffbf1d424df
mov dword [rsp + 0xb4], ebx
mov dword [rsp + 0xb0], r14d
mov rsi, qword [rsp + 0x38]
lea r10, [r9 + rdi]
mov r13d, 0xfff
mov rdi, qword [rsp + 0x30]
jmp 0x7ffbf1d4237c
mov r12, qword [rsp + 0xa0]
xor r8d, r8d
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0xa8]
sub rsi, r10
je 0x7ffbf1d425f1
movzx ecx, byte [r8 + r10]
inc r8
add ecx, 0x5d320f68
add r14d, ecx
add ecx, ebx
mov eax, ecx
imul eax, eax, 0x70da
rol eax, 8
ror ecx, 8
xor eax, ecx
imul rax, rax, 0x5d320f68
mov qword [rsp + 0xa0], rax
mov ecx, dword [rsp + 0xa0]
shr rax, 0x20
lea edx, [rcx + rax*2 - 0x7fffffff]
sar ecx, 0x1f
btr ecx, 0x1f
sub edx, ecx
mov ebx, edx
sar ebx, 0x1f
btr ebx, 0x1f
add ebx, edx
add r14d, ebx
cmp r8, rsi
jb 0x7ffbf1d42582
mov dword [rsp + 0xb4], ebx
mov dword [rsp + 0xb0], r14d
mov rsi, qword [rsp + 0x20]
lea rbp, [0x7ffbf1ca0000]
mov r14, 0xfffffffffffff000
mov r13d, 0xfffffff
add qword [r12 + 0x10], 0x11
mov eax, dword [rsi + 4]
and rax, r13
mov rax, qword [rax + rbp]
cmp qword [rsp + 0xb0], rax
je 0x7ffbf1d42729
call fcn.7ffbf1d47140
lea rdi, [fcn.7ffbf1cb7480]
mov rbx, rax
lea r9, [r12 + 0x18]
mov qword [r12 + 0x10], rdi
and r9, 0xfffffffffffffff8
mov r11d, 0xffff
and rbx, r14
mov rcx, qword [0x7ffbf1d6a520]
lea r10, [r9 + 0xfff]
and r10, r14
xor r8d, r8d
imul rcx, rcx, 0x343fd
shl r8, 0x10
shr r11, 0x10
add rcx, 0x269ec3
mov rax, rcx
shr rax, 0x10
movzx edx, ax
or r8, rdx
test r11, r11
jne 0x7ffbf1d42662
movabs rax, 0x8000800080008001
mov qword [0x7ffbf1d6a520], rcx
mul r8
shr rdx, 0xf
imul rdx, rdx, 0xffff
sub r8, rdx
inc r8
mov qword [r15 + 0x98], rbx
mov qword [r15 + 0xb0], r8
mov qword [rsp + 0xa0], r11
jmp 0x7ffbf1d426d6
mov rax, qword [rsp + 0xa0]
mov qword [r9], rax
add r9, 8
cmp r9, r10
jb 0x7ffbf1d426c7
movabs r8, 0x2cd874d40000
mov qword [r12 + 0x10], rdi
mov rdx, qword [r15 + 0xb0]
mov rcx, rdx
mov eax, dword [rsi + 8]
and rax, r13
mov qword [r15 + 0x80], rdx
xor rcx, r8
mov eax, dword [rax + rbp]
shl rcx, 0x10
xor rcx, rax
mov eax, dword [0x7ffbf1d67580]
xor rcx, rax
xor rcx, rdx
and qword [r15 + 0xb0], 0
mov qword [r15 + 0xa0], rcx
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret