Function at 0x180009ce0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rcx, qword [0x1801bb2b8]
xor esi, esi
movzx ebx, si
call fcn.180008220
mov r10, rax
movabs r11, 0x7fffffff0000
test rax, rax
je 0x180009db0
add rax, 0x18
cmp rax, 0x40000
jbe 0x180009db0
lea rcx, [rax + 8]
cmp rcx, r11
jae 0x180009db0
mov rcx, qword [rax]
add rcx, 0x20
cmp rcx, 0x40000
jbe 0x180009db0
lea rax, [rcx + 8]
cmp rax, r11
jae 0x180009db0
mov r8, qword [rcx]
lea rdx, [r8 + 0x10]
cmp rdx, 0x40000
jbe 0x180009db0
lea rax, [rdx + 4]
cmp rax, r11
jae 0x180009db0
mov edx, dword [rdx]
test edx, edx
je 0x180009db0
add r8, 0x14
je 0x180009db0
mov r9d, 0xffff
mov ebx, r9d
add dx, dx
je 0x180009db0
lea rdi, [0x180091160]
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 0x180009d90
movzx ecx, bx
mov edi, 0x435e
cmp ecx, 0x74f5
ja 0x18000a116
je 0x18000a1a7
cmp ecx, 0x4b0a
ja 0x180009eaf
je 0x180009e16
cmp ecx, 0x2658
ja 0x180009e73
je 0x180009e16
test ecx, ecx
je 0x18000a052
cmp ecx, 0xcd
je 0x180009e16
cmp ecx, 0x6b1
je 0x18000a1a7
cmp ecx, 0x1f2d
je 0x180009e16
cmp ecx, 0x2333
jne 0x18000a052
cmp byte [0x1801bb281], sil
je 0x18000a052
lea rcx, [r10 + 0xb0]
cmp rcx, 0x40000
jbe 0x18000a2d5
lea rax, [rcx + 8]
cmp rax, r11
jae 0x18000a298
mov rdx, qword [rcx]
add rdx, 0x294
cmp rdx, 0x40000
jbe 0x18000a298
lea rax, [rdx + 4]
cmp rax, r11
jae 0x18000a298
mov dword [rdx], 0x41700000
jmp 0x18000a2aa
cmp ecx, 0x282a
je 0x180009e16
cmp ecx, 0x2f12
je 0x180009e16
cmp ecx, 0x3146
je 0x18000a1a7
cmp ecx, 0x3511
je 0x180009ef9
cmp ecx, edi
je 0x18000a001
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0x65b4
ja 0x18000a0d6
je 0x180009e16
cmp ecx, 0x52f7
je 0x180009ef9
cmp ecx, 0x573c
je 0x18000a1a7
cmp ecx, 0x5a9f
je 0x18000a062
cmp ecx, 0x6104
je 0x180009e16
cmp ecx, 0x62e5
jne 0x18000a052
cmp byte [0x1801bb2cc], sil
je 0x180009f3d
lea rcx, [r10 + 0xb0]
cmp rcx, 0x40000
jbe 0x180009f3d
lea rax, [rcx + 8]
cmp rax, r11
jae 0x180009f3d
mov rcx, qword [rcx]
add rcx, 0x1fc
cmp rcx, 0x40000
jbe 0x180009f3d
lea rax, [rcx + 4]
cmp rax, r11
jae 0x180009f3d
mov dword [rcx], 0x3e99999a
cmp byte [0x1801bb2ca], sil
je 0x180009ff9
lea rdx, [r10 + 0xb0]
cmp rdx, 0x40000
jbe 0x180009ff9
lea rax, [rdx + 8]
cmp rax, r11
jae 0x180009ff9
mov rdx, qword [rdx]
mov rcx, rdx
lea r8, [rdx + 0x348]
cmp r8, 0x40000
jbe 0x180009f8d
lea rax, [r8 + 4]
cmp rax, r11
jae 0x180009f8d
mov dword [r8], esi
lea rdx, [rcx + 0x34c]
cmp rdx, 0x40000
jbe 0x180009fa8
lea rax, [rdx + 4]
cmp rax, r11
jae 0x180009fa8
mov dword [rdx], esi
lea rdx, [rcx + 0x2f0]
cmp rdx, 0x40000
jbe 0x180009fc3
lea rax, [rdx + 4]
cmp rax, r11
jae 0x180009fc3
mov dword [rdx], esi
lea rdx, [rcx + 0x2f4]
cmp rdx, 0x40000
jbe 0x180009fde
lea rax, [rdx + 4]
cmp rax, r11
jae 0x180009fde
mov dword [rdx], esi
add rcx, 0x2f8
cmp rcx, 0x40000
jbe 0x180009ff9
lea rax, [rcx + 4]
cmp rax, r11
jae 0x180009ff9
mov dword [rcx], esi
mov rcx, r10
call fcn.180007cf0
cmp bx, di
jne 0x18000a052
cmp byte [0x1801bb2ce], sil
je 0x18000a04a
lea rcx, [r10 + 0xb0]
cmp rcx, 0x40000
jbe 0x18000a04a
lea rax, [rcx + 8]
cmp rax, r11
jae 0x18000a04a
mov rcx, qword [rcx]
add rcx, 0x3a0
cmp rcx, 0x40000
jbe 0x18000a04a
lea rax, [rcx + 4]
cmp rax, r11
jae 0x18000a04a
mov dword [rcx], 0x3f800000
mov rcx, r10
call fcn.180007cf0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp byte [0x1801bb2a8], sil
je 0x18000a052
lea rcx, [r10 + 0xb0]
cmp rcx, 0x40000
jbe 0x18000a052
lea rax, [rcx + 8]
cmp rax, r11
jae 0x18000a052
mov rcx, qword [rcx]
mov rdx, rcx
lea r8, [rcx + 0x3a0]
cmp r8, 0x40000
jbe 0x18000a0a7
lea rax, [r8 + 1]
cmp rax, r11
jae 0x18000a0a7
mov byte [r8], 1
lea rcx, [rdx + 0x3a4]
cmp rcx, 0x40000
jbe 0x18000a052
lea rax, [rcx + 4]
cmp rax, r11
jae 0x18000a052
mov dword [rcx], 0x3f800000
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0x67da
je 0x18000a1a7
cmp ecx, 0x6a09
je 0x180009ef9
cmp ecx, 0x7296
je 0x180009e16
cmp ecx, 0x7340
je 0x180009e16
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0xc2dd
ja 0x18000a201
je 0x180009ef9
cmp ecx, 0xab85
ja 0x18000a17b
je 0x180009e16
sub ecx, 0x77e9
je 0x180009ef9
sub ecx, 0x19a
je 0x180009ef9
sub ecx, 0x41
je 0x18000a1a7
sub ecx, 0x78d
je 0x180009e16
cmp ecx, 0x1582
je 0x180009e16
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0xac02
je 0x180009e16
cmp ecx, 0xb0a0
je 0x18000a001
cmp ecx, 0xb32a
je 0x18000a1a7
cmp ecx, 0xc196
jne 0x18000a052
cmp byte [0x1800c9f56], sil
je 0x180009ef9
lea rcx, [r10 + 0xb0]
cmp rcx, 0x40000
jbe 0x180009ef9
lea rax, [rcx + 8]
cmp rax, r11
jae 0x180009ef9
mov rcx, qword [rcx]
add rcx, 0x290
cmp rcx, 0x40000
jbe 0x180009ef9
lea rax, [rcx + 1]
cmp rax, r11
jae 0x180009ef9
mov byte [rcx], 1
jmp 0x180009ef9
cmp ecx, 0xe97d
ja 0x18000a25b
je 0x180009ef9
cmp ecx, 0xc68b
je 0x180009e16
cmp ecx, 0xc859
je 0x180009e16
cmp ecx, 0xcbd8
je 0x180009e16
cmp ecx, 0xcfa1
je 0x180009ef9
cmp ecx, 0xe5ea
je 0x180009ef9
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
sub ecx, 0xf87e
je 0x180009ef9
sub ecx, 0x250
je 0x180009e16
sub ecx, 0x5d
je 0x180009e16
cmp ecx, 0x298
je 0x180009ef9
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp rcx, 0x40000
jbe 0x18000a2d5
lea rax, [rcx + 8]
cmp rax, r11
jae 0x18000a2d5
mov rcx, qword [rcx]
add rcx, 0x290
cmp rcx, 0x40000
jbe 0x18000a2d5
lea rax, [rcx + 4]
cmp rax, r11
jae 0x18000a2d5
mov dword [rcx], 0x40900000
add r10, 0xb0
jmp 0x18000a2e9
add r10, 0xb0
cmp r10, 0x40000
jbe 0x18000a052
lea rax, [r10 + 8]
cmp rax, r11
jae 0x18000a052
mov rcx, qword [r10]
add rcx, 0x299
cmp rcx, 0x40000
jbe 0x18000a052
lea rax, [rcx + 4]
cmp rax, r11
jae 0x18000a052
mov rbx, qword [rsp + 0x30]
mov dword [rcx], esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret