Function at 0x10008423c
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 rdi, rdx
mov r13, rcx
mov rcx, qword [rcx + 0x10]
lea rsi, [rcx + 1]
mov rdx, rsi
mov qword [rsp + 0x20], rsi
mov eax, 0x176bfe89
lea r12, [0x100000000]
mov r10d, dword [rsi + 0xc]
mov rcx, r12
mov rbp, 0xfffffffffffff000
mov eax, 0xfffffff
mov r8d, dword [rsi]
and qword [rsp + 0xb0], 0
and r10, rax
and r8, rax
mov rax, qword [0x1003f4900]
add r10, r12
sub rcx, rax
mov qword [rsp + 0x28], rcx
jne 0x100084335
xor r11d, r11d
test r8, r8
je 0x100084613
mov edx, dword [rsp + 0xb4]
mov r9d, dword [rsp + 0xb0]
mov r14d, 0x3421c0
mov r15d, 0xffcbde40
movzx ecx, byte [r11 + r10]
add r11, 1
sub ecx, r14d
add r9d, ecx
add ecx, edx
imul ecx, ecx, 0xffcbde40
ror ecx, 0x1e
mov eax, ecx
imul eax, eax, 0x975e
xor eax, ecx
imul rax, r15
mov qword [rsp + 0xa0], rax
mov edx, dword [rsp + 0xa0]
shr rax, 0x20
add edx, eax
add r9d, edx
cmp r11, r8
jb 0x1000842dc
mov dword [rsp + 0xb4], edx
mov dword [rsp + 0xb0], r9d
jmp 0x100084613
lea rax, [r10 + r8]
movsxd rdx, dword [0x10000003c]
mov qword [rsp + 0x40], rax
lea rax, [0x1000000b0]
add rdx, rax
mov eax, r10d
sub eax, r12d
mov r11d, eax
mov ebx, eax
add rax, r8
mov r8d, dword [rdx]
mov rsi, rax
and r11, rbp
and rsi, rbp
add r8, r12
sub rax, rsi
sub rbx, r11
mov r12d, dword [rdx + 4]
add r12, r8
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rax
jmp 0x100084394
mov eax, dword [r8]
cmp rax, r11
jae 0x100084399
mov eax, dword [r8 + 4]
add r8, rax
cmp r8, r12
jne 0x100084385
xor r9d, r9d
cmp r8, r12
je 0x1000843cf
mov eax, dword [r8]
cmp rax, r11
jne 0x1000843cf
mov ecx, dword [r8 + 4]
sub rcx, 8
shr rcx, 1
je 0x1000843cf
mov ax, word [r8 + r9*2 + 8]
and eax, 0xfff
cmp rax, rbx
jae 0x1000843cf
add r9, 1
cmp r9, rcx
jne 0x1000843b6
mov ebp, dword [rsp + 0xb0]
mov r15d, 0xffcbde40
mov r14d, 0x3421c0
mov edi, dword [rsp + 0xb4]
mov r13, qword [rsp + 0x28]
cmp r8, r12
je 0x100084593
mov eax, dword [r8]
cmp rax, rsi
ja 0x100084593
mov ecx, dword [r8 + 4]
lea rax, [rcx - 8]
shr rax, 1
cmp r9, rax
jne 0x100084430
add r8, rcx
cmp r8, r12
je 0x100084593
mov eax, dword [r8]
cmp rax, rsi
ja 0x100084593
xor r9d, r9d
jmp 0x100084403
mov eax, dword [r8]
cmp rax, rsi
jne 0x10008444e
mov ax, word [r8 + r9*2 + 8]
and eax, 0xfff
cmp rax, qword [rsp + 0x30]
jae 0x100084593
mov rax, r9
add r9, 1
test word [r8 + rax*2 + 8], 0xf000
je 0x1000843ee
movzx edx, word [r8 + rax*2 + 8]
xor ebx, ebx
lea rax, [0x100000000]
mov esi, edx
and esi, 0xfff
add esi, dword [r8]
add rsi, rax
mov r11, rsi
sub r11, r10
je 0x1000844d5
movzx ecx, byte [rbx + r10]
add rbx, 1
sub ecx, r14d
add ebp, ecx
add ecx, edi
imul ecx, ecx, 0xffcbde40
ror ecx, 0x1e
mov eax, ecx
imul eax, eax, 0x975e
xor eax, ecx
imul rax, r15
mov qword [rsp + 0xb8], rax
mov edi, dword [rsp + 0xb8]
shr rax, 0x20
add edi, eax
add ebp, edi
cmp rbx, r11
jb 0x100084484
mov dword [rsp + 0xb4], edi
mov dword [rsp + 0xb0], ebp
mov rax, qword [rsi]
mov qword [rsp + 0xb8], rax
shr edx, 0xc
cmp edx, 3
je 0x1000844f4
sub edx, 0xa
neg edx
sbb edx, edx
add edx, 3
jmp 0x1000844f9
mov edx, 2
mov r10, r13
neg r10
sub edx, 2
je 0x100084521
cmp edx, 1
je 0x10008450f
or rdx, 0xffffffffffffffff
jmp 0x10008452e
mov edx, 8
add rax, r10
mov qword [rsp + 0xb8], rax
jmp 0x10008452e
mov edx, 4
add dword [rsp + 0xb8], r10d
xor r10d, r10d
test rdx, rdx
je 0x100084585
movzx ecx, byte [rsp + r10 + 0xb8]
add r10, 1
sub ecx, r14d
add ebp, ecx
add ecx, edi
imul ecx, ecx, 0xffcbde40
ror ecx, 0x1e
mov eax, ecx
imul eax, eax, 0x975e
xor eax, ecx
imul rax, r15
mov qword [rsp + 0x28], rax
mov edi, dword [rsp + 0x28]
shr rax, 0x20
add edi, eax
add ebp, edi
cmp r10, rdx
jb 0x100084536
mov dword [rsp + 0xb4], edi
mov dword [rsp + 0xb0], ebp
lea r10, [rdx + rsi]
mov rsi, qword [rsp + 0x38]
jmp 0x1000843ee
mov r13, qword [rsp + 0xa0]
xor edx, edx
mov r8, qword [rsp + 0x40]
sub r8, r10
je 0x1000845f8
movzx ecx, byte [rdx + r10]
add rdx, 1
sub ecx, r14d
add ebp, ecx
add ecx, edi
imul ecx, ecx, 0xffcbde40
ror ecx, 0x1e
mov eax, ecx
imul eax, eax, 0x975e
xor eax, ecx
imul rax, r15
mov qword [rsp + 0xa0], rax
mov edi, dword [rsp + 0xa0]
shr rax, 0x20
add edi, eax
add ebp, edi
cmp rdx, r8
jb 0x1000845a7
mov dword [rsp + 0xb4], edi
mov dword [rsp + 0xb0], ebp
mov rdi, qword [rsp + 0xa8]
mov rbp, 0xfffffffffffff000
mov rsi, qword [rsp + 0x20]
lea r12, [0x100000000]
mov r14d, 0xfffffff
add qword [r13 + 0x10], 0x11
mov eax, dword [rsi + 4]
and rax, r14
mov rax, qword [rax + r12]
cmp qword [rsp + 0xb0], rax
je 0x100084736
call fcn.1002d3e40
lea r9, [r13 + 0x18]
mov ebx, 0xffff
mov r11, rax
and r9, 0xfffffffffffffff8
lea r10, [r9 + 0xfff]
and r11, rbp
and r10, rbp
lea rbp, [0x1003e8888]
xor r8d, r8d
mov qword [r13 + 0x10], rbp
mov rcx, qword [0x100495210]
imul rcx, rcx, 0x343fd
shl r8, 0x10
add rcx, 0x269ec3
mov rax, rcx
shr rax, 0x10
movzx edx, ax
or r8, rdx
shr rbx, 0x10
jne 0x10008466d
mov qword [0x100495210], rcx
mov qword [rdi + 0x98], r11
movabs rax, 0x8000800080008001
mul r8
shr rdx, 0xf
imul rdx, rdx, 0xffff
sub r8, rdx
add r8, 1
mov qword [rdi + 0xb0], r8
mov qword [rsp + 0xa0], 0
jmp 0x1000846e3
mov rax, qword [rsp + 0xa0]
mov qword [r9], rax
add r9, 8
cmp r9, r10
jb 0x1000846d4
mov qword [r13 + 0x10], rbp
mov eax, dword [rsi + 8]
and rax, r14
movabs r8, 0x7d4b8ee50000
mov rdx, qword [rdi + 0xb0]
mov qword [rdi + 0x80], rdx
mov rcx, rdx
mov eax, dword [rax + r12]
xor rcx, r8
shl rcx, 0x10
xor rcx, rax
mov eax, dword [0x100479bd8]
xor rcx, rax
xor rcx, rdx
and qword [rdi + 0xb0], 0
mov qword [rdi + 0xa0], rcx
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret