Function at 0x180008e90
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rcx, qword [0x1801af880]
xor esi, esi
movzx ebx, si
call fcn.1800073c0
mov r10, rax
movabs r11, 0x7fffffff0000
test rax, rax
je 0x180008f60
add rax, 0x18
cmp rax, 0x40000
jbe 0x180008f60
lea rcx, [rax + 8]
cmp rcx, r11
jae 0x180008f60
mov rcx, qword [rax]
add rcx, 0x28
cmp rcx, 0x40000
jbe 0x180008f60
lea rax, [rcx + 8]
cmp rax, r11
jae 0x180008f60
mov r8, qword [rcx]
lea rdx, [r8 + 0x10]
cmp rdx, 0x40000
jbe 0x180008f60
lea rax, [rdx + 4]
cmp rax, r11
jae 0x180008f60
mov edx, dword [rdx]
test edx, edx
je 0x180008f60
add r8, 0x14
je 0x180008f60
mov r9d, 0xffff
mov ebx, r9d
add dx, dx
je 0x180008f60
lea rdi, [0x180087b90]
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 0x180008f40
movzx ecx, bx
mov edi, 0x435e
cmp ecx, 0x74f5
ja 0x1800092c6
je 0x180009357
cmp ecx, 0x4b0a
ja 0x18000905f
je 0x180008fc6
cmp ecx, 0x2658
ja 0x180009023
je 0x180008fc6
test ecx, ecx
je 0x180009202
cmp ecx, 0xcd
je 0x180008fc6
cmp ecx, 0x6b1
je 0x180009357
cmp ecx, 0x1f2d
je 0x180008fc6
cmp ecx, 0x2333
jne 0x180009202
cmp byte [0x1801af858], sil
je 0x180009202
lea rcx, [r10 + 0xb0]
cmp rcx, 0x40000
jbe 0x180009485
lea rax, [rcx + 8]
cmp rax, r11
jae 0x180009448
mov rdx, qword [rcx]
add rdx, 0x2ac
cmp rdx, 0x40000
jbe 0x180009448
lea rax, [rdx + 4]
cmp rax, r11
jae 0x180009448
mov dword [rdx], 0x41700000
jmp 0x18000945a
cmp ecx, 0x282a
je 0x180008fc6
cmp ecx, 0x2f12
je 0x180008fc6
cmp ecx, 0x3146
je 0x180009357
cmp ecx, 0x3511
je 0x1800090a9
cmp ecx, edi
je 0x1800091b1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0x65b4
ja 0x180009286
je 0x180008fc6
cmp ecx, 0x52f7
je 0x1800090a9
cmp ecx, 0x573c
je 0x180009357
cmp ecx, 0x5a9f
je 0x180009212
cmp ecx, 0x6104
je 0x180008fc6
cmp ecx, 0x62e5
jne 0x180009202
cmp byte [0x1801af87f], sil
je 0x1800090ed
lea rcx, [r10 + 0xb0]
cmp rcx, 0x40000
jbe 0x1800090ed
lea rax, [rcx + 8]
cmp rax, r11
jae 0x1800090ed
mov rcx, qword [rcx]
add rcx, 0x214
cmp rcx, 0x40000
jbe 0x1800090ed
lea rax, [rcx + 4]
cmp rax, r11
jae 0x1800090ed
mov dword [rcx], 0x3e99999a
cmp byte [0x1801af87d], sil
je 0x1800091a9
lea rdx, [r10 + 0xb0]
cmp rdx, 0x40000
jbe 0x1800091a9
lea rax, [rdx + 8]
cmp rax, r11
jae 0x1800091a9
mov rdx, qword [rdx]
mov rcx, rdx
lea r8, [rdx + 0x34c]
cmp r8, 0x40000
jbe 0x18000913d
lea rax, [r8 + 4]
cmp rax, r11
jae 0x18000913d
mov dword [r8], esi
lea rdx, [rcx + 0x350]
cmp rdx, 0x40000
jbe 0x180009158
lea rax, [rdx + 4]
cmp rax, r11
jae 0x180009158
mov dword [rdx], esi
lea rdx, [rcx + 0x308]
cmp rdx, 0x40000
jbe 0x180009173
lea rax, [rdx + 4]
cmp rax, r11
jae 0x180009173
mov dword [rdx], esi
lea rdx, [rcx + 0x30c]
cmp rdx, 0x40000
jbe 0x18000918e
lea rax, [rdx + 4]
cmp rax, r11
jae 0x18000918e
mov dword [rdx], esi
add rcx, 0x310
cmp rcx, 0x40000
jbe 0x1800091a9
lea rax, [rcx + 4]
cmp rax, r11
jae 0x1800091a9
mov dword [rcx], esi
mov rcx, r10
call fcn.180006e90
cmp bx, di
jne 0x180009202
cmp byte [0x1801af891], sil
je 0x1800091fa
lea rcx, [r10 + 0xb0]
cmp rcx, 0x40000
jbe 0x1800091fa
lea rax, [rcx + 8]
cmp rax, r11
jae 0x1800091fa
mov rcx, qword [rcx]
add rcx, 0x3a8
cmp rcx, 0x40000
jbe 0x1800091fa
lea rax, [rcx + 4]
cmp rax, r11
jae 0x1800091fa
mov dword [rcx], 0x3f800000
mov rcx, r10
call fcn.180006e90
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp byte [0x1801af86b], sil
je 0x180009202
lea rcx, [r10 + 0xb0]
cmp rcx, 0x40000
jbe 0x180009202
lea rax, [rcx + 8]
cmp rax, r11
jae 0x180009202
mov rcx, qword [rcx]
mov rdx, rcx
lea r8, [rcx + 0x3a8]
cmp r8, 0x40000
jbe 0x180009257
lea rax, [r8 + 1]
cmp rax, r11
jae 0x180009257
mov byte [r8], 1
lea rcx, [rdx + 0x3ac]
cmp rcx, 0x40000
jbe 0x180009202
lea rax, [rcx + 4]
cmp rax, r11
jae 0x180009202
mov dword [rcx], 0x3f800000
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0x67da
je 0x180009357
cmp ecx, 0x6a09
je 0x1800090a9
cmp ecx, 0x7296
je 0x180008fc6
cmp ecx, 0x7340
je 0x180008fc6
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0xc2dd
ja 0x1800093b1
je 0x1800090a9
cmp ecx, 0xab85
ja 0x18000932b
je 0x180008fc6
sub ecx, 0x77e9
je 0x1800090a9
sub ecx, 0x19a
je 0x1800090a9
sub ecx, 0x41
je 0x180009357
sub ecx, 0x78d
je 0x180008fc6
cmp ecx, 0x1582
je 0x180008fc6
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0xac02
je 0x180008fc6
cmp ecx, 0xb0a0
je 0x1800091b1
cmp ecx, 0xb32a
je 0x180009357
cmp ecx, 0xc196
jne 0x180009202
cmp byte [0x1800bef46], sil
je 0x1800090a9
lea rcx, [r10 + 0xb0]
cmp rcx, 0x40000
jbe 0x1800090a9
lea rax, [rcx + 8]
cmp rax, r11
jae 0x1800090a9
mov rcx, qword [rcx]
add rcx, 0x2a8
cmp rcx, 0x40000
jbe 0x1800090a9
lea rax, [rcx + 1]
cmp rax, r11
jae 0x1800090a9
mov byte [rcx], 1
jmp 0x1800090a9
cmp ecx, 0xe97d
ja 0x18000940b
je 0x1800090a9
cmp ecx, 0xc68b
je 0x180008fc6
cmp ecx, 0xc859
je 0x180008fc6
cmp ecx, 0xcbd8
je 0x180008fc6
cmp ecx, 0xcfa1
je 0x1800090a9
cmp ecx, 0xe5ea
je 0x1800090a9
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
sub ecx, 0xf87e
je 0x1800090a9
sub ecx, 0x250
je 0x180008fc6
sub ecx, 0x5d
je 0x180008fc6
cmp ecx, 0x298
je 0x1800090a9
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp rcx, 0x40000
jbe 0x180009485
lea rax, [rcx + 8]
cmp rax, r11
jae 0x180009485
mov rcx, qword [rcx]
add rcx, 0x2a8
cmp rcx, 0x40000
jbe 0x180009485
lea rax, [rcx + 4]
cmp rax, r11
jae 0x180009485
mov dword [rcx], 0x40900000
add r10, 0xb0
jmp 0x180009499
add r10, 0xb0
cmp r10, 0x40000
jbe 0x180009202
lea rax, [r10 + 8]
cmp rax, r11
jae 0x180009202
mov rcx, qword [r10]
add rcx, 0x2b1
cmp rcx, 0x40000
jbe 0x180009202
lea rax, [rcx + 4]
cmp rax, r11
jae 0x180009202
mov rbx, qword [rsp + 0x30]
mov dword [rcx], esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret