Function at 0x180008bb0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rcx, qword [0x1801ae880]
xor esi, esi
movzx ebx, si
call fcn.180007100
mov r10, rax
movabs r11, 0x7fffffff0000
test rax, rax
je 0x180008c80
add rax, 0x18
cmp rax, 0x40000
jbe 0x180008c80
lea rcx, [rax + 8]
cmp rcx, r11
jae 0x180008c80
mov rcx, qword [rax]
add rcx, 0x28
cmp rcx, 0x40000
jbe 0x180008c80
lea rax, [rcx + 8]
cmp rax, r11
jae 0x180008c80
mov r8, qword [rcx]
lea rdx, [r8 + 0x10]
cmp rdx, 0x40000
jbe 0x180008c80
lea rax, [rdx + 4]
cmp rax, r11
jae 0x180008c80
mov edx, dword [rdx]
test edx, edx
je 0x180008c80
add r8, 0x14
je 0x180008c80
mov r9d, 0xffff
mov ebx, r9d
add dx, dx
je 0x180008c80
lea rdi, [0x180086bc0]
nop word [rax + rax]
movzx eax, byte [r8]
lea r8, [r8 + 1]
movzx ecx, bx
shr rcx, 8
xor rcx, rax
shl bx, 8
xor bx, word [rdi + rcx*2]
add dx, r9w
jne 0x180008c60
movzx ecx, bx
mov edi, 0x435e
cmp ecx, 0x74f5
ja 0x180008fe6
je 0x180009077
cmp ecx, 0x4b0a
ja 0x180008d7f
je 0x180008ce6
cmp ecx, 0x2658
ja 0x180008d43
je 0x180008ce6
test ecx, ecx
je 0x180008f22
cmp ecx, 0xcd
je 0x180008ce6
cmp ecx, 0x6b1
je 0x180009077
cmp ecx, 0x1f2d
je 0x180008ce6
cmp ecx, 0x2333
jne 0x180008f22
cmp byte [0x1801ae858], sil
je 0x180008f22
lea rcx, [r10 + 0xb0]
cmp rcx, 0x40000
jbe 0x1800091a5
lea rax, [rcx + 8]
cmp rax, r11
jae 0x180009168
mov rdx, qword [rcx]
add rdx, 0x2bc
cmp rdx, 0x40000
jbe 0x180009168
lea rax, [rdx + 4]
cmp rax, r11
jae 0x180009168
mov dword [rdx], 0x41700000
jmp 0x18000917a
cmp ecx, 0x282a
je 0x180008ce6
cmp ecx, 0x2f12
je 0x180008ce6
cmp ecx, 0x3146
je 0x180009077
cmp ecx, 0x3511
je 0x180008dc9
cmp ecx, edi
je 0x180008ed1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0x65b4
ja 0x180008fa6
je 0x180008ce6
cmp ecx, 0x52f7
je 0x180008dc9
cmp ecx, 0x573c
je 0x180009077
cmp ecx, 0x5a9f
je 0x180008f32
cmp ecx, 0x6104
je 0x180008ce6
cmp ecx, 0x62e5
jne 0x180008f22
cmp byte [0x1801ae87f], sil
je 0x180008e0d
lea rcx, [r10 + 0xb0]
cmp rcx, 0x40000
jbe 0x180008e0d
lea rax, [rcx + 8]
cmp rax, r11
jae 0x180008e0d
mov rcx, qword [rcx]
add rcx, 0x21c
cmp rcx, 0x40000
jbe 0x180008e0d
lea rax, [rcx + 4]
cmp rax, r11
jae 0x180008e0d
mov dword [rcx], 0x3e99999a
cmp byte [0x1801ae87d], sil
je 0x180008ec9
lea rdx, [r10 + 0xb0]
cmp rdx, 0x40000
jbe 0x180008ec9
lea rax, [rdx + 8]
cmp rax, r11
jae 0x180008ec9
mov rdx, qword [rdx]
mov rcx, rdx
lea r8, [rdx + 0x354]
cmp r8, 0x40000
jbe 0x180008e5d
lea rax, [r8 + 4]
cmp rax, r11
jae 0x180008e5d
mov dword [r8], esi
lea rdx, [rcx + 0x358]
cmp rdx, 0x40000
jbe 0x180008e78
lea rax, [rdx + 4]
cmp rax, r11
jae 0x180008e78
mov dword [rdx], esi
lea rdx, [rcx + 0x310]
cmp rdx, 0x40000
jbe 0x180008e93
lea rax, [rdx + 4]
cmp rax, r11
jae 0x180008e93
mov dword [rdx], esi
lea rdx, [rcx + 0x314]
cmp rdx, 0x40000
jbe 0x180008eae
lea rax, [rdx + 4]
cmp rax, r11
jae 0x180008eae
mov dword [rdx], esi
add rcx, 0x318
cmp rcx, 0x40000
jbe 0x180008ec9
lea rax, [rcx + 4]
cmp rax, r11
jae 0x180008ec9
mov dword [rcx], esi
mov rcx, r10
call fcn.180006bf0
cmp bx, di
jne 0x180008f22
cmp byte [0x1801ae891], sil
je 0x180008f1a
lea rcx, [r10 + 0xb0]
cmp rcx, 0x40000
jbe 0x180008f1a
lea rax, [rcx + 8]
cmp rax, r11
jae 0x180008f1a
mov rcx, qword [rcx]
add rcx, 0x3b0
cmp rcx, 0x40000
jbe 0x180008f1a
lea rax, [rcx + 4]
cmp rax, r11
jae 0x180008f1a
mov dword [rcx], 0x3f800000
mov rcx, r10
call fcn.180006bf0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp byte [0x1801ae86b], sil
je 0x180008f22
lea rcx, [r10 + 0xb0]
cmp rcx, 0x40000
jbe 0x180008f22
lea rax, [rcx + 8]
cmp rax, r11
jae 0x180008f22
mov rcx, qword [rcx]
mov rdx, rcx
lea r8, [rcx + 0x3b0]
cmp r8, 0x40000
jbe 0x180008f77
lea rax, [r8 + 1]
cmp rax, r11
jae 0x180008f77
mov byte [r8], 1
lea rcx, [rdx + 0x3b4]
cmp rcx, 0x40000
jbe 0x180008f22
lea rax, [rcx + 4]
cmp rax, r11
jae 0x180008f22
mov dword [rcx], 0x3f800000
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0x67da
je 0x180009077
cmp ecx, 0x6a09
je 0x180008dc9
cmp ecx, 0x7296
je 0x180008ce6
cmp ecx, 0x7340
je 0x180008ce6
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0xc2dd
ja 0x1800090d1
je 0x180008dc9
cmp ecx, 0xab85
ja 0x18000904b
je 0x180008ce6
sub ecx, 0x77e9
je 0x180008dc9
sub ecx, 0x19a
je 0x180008dc9
sub ecx, 0x41
je 0x180009077
sub ecx, 0x78d
je 0x180008ce6
cmp ecx, 0x1582
je 0x180008ce6
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0xac02
je 0x180008ce6
cmp ecx, 0xb0a0
je 0x180008ed1
cmp ecx, 0xb32a
je 0x180009077
cmp ecx, 0xc196
jne 0x180008f22
cmp byte [0x1800bdf46], sil
je 0x180008dc9
lea rcx, [r10 + 0xb0]
cmp rcx, 0x40000
jbe 0x180008dc9
lea rax, [rcx + 8]
cmp rax, r11
jae 0x180008dc9
mov rcx, qword [rcx]
add rcx, 0x2b0
cmp rcx, 0x40000
jbe 0x180008dc9
lea rax, [rcx + 1]
cmp rax, r11
jae 0x180008dc9
mov byte [rcx], 1
jmp 0x180008dc9
cmp ecx, 0xe97d
ja 0x18000912b
je 0x180008dc9
cmp ecx, 0xc68b
je 0x180008ce6
cmp ecx, 0xc859
je 0x180008ce6
cmp ecx, 0xcbd8
je 0x180008ce6
cmp ecx, 0xcfa1
je 0x180008dc9
cmp ecx, 0xe5ea
je 0x180008dc9
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
sub ecx, 0xf87e
je 0x180008dc9
sub ecx, 0x250
je 0x180008ce6
sub ecx, 0x5d
je 0x180008ce6
cmp ecx, 0x298
je 0x180008dc9
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp rcx, 0x40000
jbe 0x1800091a5
lea rax, [rcx + 8]
cmp rax, r11
jae 0x1800091a5
mov rcx, qword [rcx]
add rcx, 0x2b8
cmp rcx, 0x40000
jbe 0x1800091a5
lea rax, [rcx + 4]
cmp rax, r11
jae 0x1800091a5
mov dword [rcx], 0x40900000
add r10, 0xb0
jmp 0x1800091b9
add r10, 0xb0
cmp r10, 0x40000
jbe 0x180008f22
lea rax, [r10 + 8]
cmp rax, r11
jae 0x180008f22
mov rcx, qword [r10]
add rcx, 0x2c1
cmp rcx, 0x40000
jbe 0x180008f22
lea rax, [rcx + 4]
cmp rax, r11
jae 0x180008f22
mov rbx, qword [rsp + 0x30]
mov dword [rcx], esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret