Function at 0x180009df0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rcx, qword [0x1801bb2c0]
xor esi, esi
movzx ebx, si
call fcn.180008320
mov r10, rax
movabs r11, 0x7fffffff0000
test rax, rax
je 0x180009ec0
add rax, 0x18
cmp rax, 0x40000
jbe 0x180009ec0
lea rcx, [rax + 8]
cmp rcx, r11
jae 0x180009ec0
mov rcx, qword [rax]
add rcx, 0x20
cmp rcx, 0x40000
jbe 0x180009ec0
lea rax, [rcx + 8]
cmp rax, r11
jae 0x180009ec0
mov r8, qword [rcx]
lea rdx, [r8 + 0x10]
cmp rdx, 0x40000
jbe 0x180009ec0
lea rax, [rdx + 4]
cmp rax, r11
jae 0x180009ec0
mov edx, dword [rdx]
test edx, edx
je 0x180009ec0
add r8, 0x14
je 0x180009ec0
mov r9d, 0xffff
mov ebx, r9d
add dx, dx
je 0x180009ec0
lea rdi, [0x180091060]
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 0x180009ea0
movzx ecx, bx
mov edi, 0x435e
cmp ecx, 0x74f5
ja 0x18000a226
je 0x18000a2b7
cmp ecx, 0x4b0a
ja 0x180009fbf
je 0x180009f26
cmp ecx, 0x2658
ja 0x180009f83
je 0x180009f26
test ecx, ecx
je 0x18000a162
cmp ecx, 0xcd
je 0x180009f26
cmp ecx, 0x6b1
je 0x18000a2b7
cmp ecx, 0x1f2d
je 0x180009f26
cmp ecx, 0x2333
jne 0x18000a162
cmp byte [0x1801bb298], sil
je 0x18000a162
lea rcx, [r10 + 0xb0]
cmp rcx, 0x40000
jbe 0x18000a3e5
lea rax, [rcx + 8]
cmp rax, r11
jae 0x18000a3a8
mov rdx, qword [rcx]
add rdx, 0x2a4
cmp rdx, 0x40000
jbe 0x18000a3a8
lea rax, [rdx + 4]
cmp rax, r11
jae 0x18000a3a8
mov dword [rdx], 0x41700000
jmp 0x18000a3ba
cmp ecx, 0x282a
je 0x180009f26
cmp ecx, 0x2f12
je 0x180009f26
cmp ecx, 0x3146
je 0x18000a2b7
cmp ecx, 0x3511
je 0x18000a009
cmp ecx, edi
je 0x18000a111
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0x65b4
ja 0x18000a1e6
je 0x180009f26
cmp ecx, 0x52f7
je 0x18000a009
cmp ecx, 0x573c
je 0x18000a2b7
cmp ecx, 0x5a9f
je 0x18000a172
cmp ecx, 0x6104
je 0x180009f26
cmp ecx, 0x62e5
jne 0x18000a162
cmp byte [0x1801bb2bf], sil
je 0x18000a04d
lea rcx, [r10 + 0xb0]
cmp rcx, 0x40000
jbe 0x18000a04d
lea rax, [rcx + 8]
cmp rax, r11
jae 0x18000a04d
mov rcx, qword [rcx]
add rcx, 0x20c
cmp rcx, 0x40000
jbe 0x18000a04d
lea rax, [rcx + 4]
cmp rax, r11
jae 0x18000a04d
mov dword [rcx], 0x3e99999a
cmp byte [0x1801bb2bd], sil
je 0x18000a109
lea rdx, [r10 + 0xb0]
cmp rdx, 0x40000
jbe 0x18000a109
lea rax, [rdx + 8]
cmp rax, r11
jae 0x18000a109
mov rdx, qword [rdx]
mov rcx, rdx
lea r8, [rdx + 0x344]
cmp r8, 0x40000
jbe 0x18000a09d
lea rax, [r8 + 4]
cmp rax, r11
jae 0x18000a09d
mov dword [r8], esi
lea rdx, [rcx + 0x348]
cmp rdx, 0x40000
jbe 0x18000a0b8
lea rax, [rdx + 4]
cmp rax, r11
jae 0x18000a0b8
mov dword [rdx], esi
lea rdx, [rcx + 0x300]
cmp rdx, 0x40000
jbe 0x18000a0d3
lea rax, [rdx + 4]
cmp rax, r11
jae 0x18000a0d3
mov dword [rdx], esi
lea rdx, [rcx + 0x304]
cmp rdx, 0x40000
jbe 0x18000a0ee
lea rax, [rdx + 4]
cmp rax, r11
jae 0x18000a0ee
mov dword [rdx], esi
add rcx, 0x308
cmp rcx, 0x40000
jbe 0x18000a109
lea rax, [rcx + 4]
cmp rax, r11
jae 0x18000a109
mov dword [rcx], esi
mov rcx, r10
call fcn.180007df0
cmp bx, di
jne 0x18000a162
cmp byte [0x1801bb2d1], sil
je 0x18000a15a
lea rcx, [r10 + 0xb0]
cmp rcx, 0x40000
jbe 0x18000a15a
lea rax, [rcx + 8]
cmp rax, r11
jae 0x18000a15a
mov rcx, qword [rcx]
add rcx, 0x3a0
cmp rcx, 0x40000
jbe 0x18000a15a
lea rax, [rcx + 4]
cmp rax, r11
jae 0x18000a15a
mov dword [rcx], 0x3f800000
mov rcx, r10
call fcn.180007df0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp byte [0x1801bb2ab], sil
je 0x18000a162
lea rcx, [r10 + 0xb0]
cmp rcx, 0x40000
jbe 0x18000a162
lea rax, [rcx + 8]
cmp rax, r11
jae 0x18000a162
mov rcx, qword [rcx]
mov rdx, rcx
lea r8, [rcx + 0x3a0]
cmp r8, 0x40000
jbe 0x18000a1b7
lea rax, [r8 + 1]
cmp rax, r11
jae 0x18000a1b7
mov byte [r8], 1
lea rcx, [rdx + 0x3a4]
cmp rcx, 0x40000
jbe 0x18000a162
lea rax, [rcx + 4]
cmp rax, r11
jae 0x18000a162
mov dword [rcx], 0x3f800000
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0x67da
je 0x18000a2b7
cmp ecx, 0x6a09
je 0x18000a009
cmp ecx, 0x7296
je 0x180009f26
cmp ecx, 0x7340
je 0x180009f26
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0xc2dd
ja 0x18000a311
je 0x18000a009
cmp ecx, 0xab85
ja 0x18000a28b
je 0x180009f26
sub ecx, 0x77e9
je 0x18000a009
sub ecx, 0x19a
je 0x18000a009
sub ecx, 0x41
je 0x18000a2b7
sub ecx, 0x78d
je 0x180009f26
cmp ecx, 0x1582
je 0x180009f26
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0xac02
je 0x180009f26
cmp ecx, 0xb0a0
je 0x18000a111
cmp ecx, 0xb32a
je 0x18000a2b7
cmp ecx, 0xc196
jne 0x18000a162
cmp byte [0x1800c9f56], sil
je 0x18000a009
lea rcx, [r10 + 0xb0]
cmp rcx, 0x40000
jbe 0x18000a009
lea rax, [rcx + 8]
cmp rax, r11
jae 0x18000a009
mov rcx, qword [rcx]
add rcx, 0x2a0
cmp rcx, 0x40000
jbe 0x18000a009
lea rax, [rcx + 1]
cmp rax, r11
jae 0x18000a009
mov byte [rcx], 1
jmp 0x18000a009
cmp ecx, 0xe97d
ja 0x18000a36b
je 0x18000a009
cmp ecx, 0xc68b
je 0x180009f26
cmp ecx, 0xc859
je 0x180009f26
cmp ecx, 0xcbd8
je 0x180009f26
cmp ecx, 0xcfa1
je 0x18000a009
cmp ecx, 0xe5ea
je 0x18000a009
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
sub ecx, 0xf87e
je 0x18000a009
sub ecx, 0x250
je 0x180009f26
sub ecx, 0x5d
je 0x180009f26
cmp ecx, 0x298
je 0x18000a009
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp rcx, 0x40000
jbe 0x18000a3e5
lea rax, [rcx + 8]
cmp rax, r11
jae 0x18000a3e5
mov rcx, qword [rcx]
add rcx, 0x2a0
cmp rcx, 0x40000
jbe 0x18000a3e5
lea rax, [rcx + 4]
cmp rax, r11
jae 0x18000a3e5
mov dword [rcx], 0x40900000
add r10, 0xb0
jmp 0x18000a3f9
add r10, 0xb0
cmp r10, 0x40000
jbe 0x18000a162
lea rax, [r10 + 8]
cmp rax, r11
jae 0x18000a162
mov rcx, qword [r10]
add rcx, 0x2a9
cmp rcx, 0x40000
jbe 0x18000a162
lea rax, [rcx + 4]
cmp rax, r11
jae 0x18000a162
mov rbx, qword [rsp + 0x30]
mov dword [rcx], esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret