Function at 0x140065dd0
Capabilities:
Encode data using xor

Disassembly:
test r9, r9
je 0x14006612e
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x1402c8b58]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, r9
xor esi, esi
test rcx, rcx
cmovne esi, edx
lea rbx, [rbp - 0x59]
cmovne rbx, rcx
cmp r8d, 1
je 0x140066103
cmp r8d, 5
jne 0x140065e49
lea rcx, [rbp - 0x49]
call fcn.1400cda00
nop
mov r9, rdi
mov r8d, esi
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.1400ce3d0
nop
lea rcx, [rbp - 0x49]
call fcn.1400cda30
jmp 0x140066110
cmp r8d, 7
jne 0x140065e61
mov r8, rdi
mov edx, esi
mov rcx, rbx
call fcn.1400f7ea0
jmp 0x140066110
cmp r8d, 2
jne 0x140065e79
mov r8, rdi
mov edx, esi
mov rcx, rbx
call fcn.1400f85f0
jmp 0x140066110
cmp r8d, 3
jne 0x140065e91
mov r8, rdi
mov edx, esi
mov rcx, rbx
call fcn.1400f8d40
jmp 0x140066110
cmp r8d, 0x14
jne 0x140065ea9
mov r8, rdi
mov edx, esi
mov rcx, rbx
call fcn.140100790
jmp 0x140066110
cmp r8d, 0x15
jne 0x140065ec1
mov r8, rdi
mov edx, esi
mov rcx, rbx
call fcn.140100900
jmp 0x140066110
cmp r8d, 0x16
jne 0x140065ed9
mov r8, rdi
mov edx, esi
mov rcx, rbx
call fcn.140100a80
jmp 0x140066110
cmp r8d, 0x13
jne 0x140065ef1
mov r8, rdi
mov edx, esi
mov rcx, rbx
call fcn.140100610
jmp 0x140066110
cmp r8d, 0xf
je 0x140066103
cmp r8d, 0x1d
jne 0x140065f30
xor al, al
test esi, esi
je 0x140065f28
mov edx, esi
lea r8, [0x1402c4e40]
movzx ecx, byte [rbx]
movzx eax, al
xor rcx, rax
movzx eax, byte [rcx + r8]
lea rbx, [rbx + 1]
sub rdx, 1
jne 0x140065f10
mov byte [r9], al
jmp 0x140066110
cmp r8d, 0x1c
jne 0x140065f8f
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.1400e7d40
mov ecx, eax
shr ecx, 0x18
mov edx, eax
shr edx, 0x10
mov r9d, eax
shr r9d, 8
cmp byte [0x1402bae68], 0
je 0x140065f74
mov r8d, eax
mov eax, r9d
mov byte [rdi], cl
mov byte [rdi + 1], dl
mov byte [rdi + 2], al
mov byte [rdi + 3], r8b
jmp 0x140066110
mov r8d, ecx
mov ecx, eax
mov eax, edx
mov edx, r9d
mov byte [rdi], cl
mov byte [rdi + 1], dl
mov byte [rdi + 2], al
mov byte [rdi + 3], r8b
jmp 0x140066110
cmp r8d, 4
jne 0x140065fc0
lea rcx, [rbp - 0x49]
call fcn.1400ef2a0
nop
mov r9, rdi
mov r8d, esi
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.1400ef810
nop
lea rcx, [rbp - 0x49]
call fcn.1400ef2b0
jmp 0x140066110
cmp r8d, 8
jne 0x140066003
lea rcx, [rbp - 0x49]
call fcn.1400f6530
nop
lea rcx, [rbp - 0x49]
call fcn.1400ce880
mov r8d, esi
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.1400f70a0
mov rdx, rdi
lea rcx, [rbp - 0x49]
call fcn.1400f6700
nop
lea rcx, [rbp - 0x49]
call fcn.1400f6560
jmp 0x140066110
cmp r8d, 0x1e
jne 0x14006601b
mov r8, rdi
mov edx, esi
mov rcx, rbx
call fcn.1400f7820
jmp 0x140066110
cmp r8d, 9
jne 0x14006604c
lea rcx, [rbp - 0x49]
call fcn.1400efae0
nop
mov r9, rdi
mov r8d, esi
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.1400f10b0
nop
lea rcx, [rbp - 0x49]
call fcn.1400efb00
jmp 0x140066110
cmp r8d, 0xa
jne 0x14006607d
lea rcx, [rbp - 0x49]
call fcn.1400f1100
nop
mov r9, rdi
mov r8d, esi
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.1400f2e40
nop
lea rcx, [rbp - 0x49]
call fcn.1400f1120
jmp 0x140066110
cmp r8d, 0xb
jne 0x1400660ab
lea rcx, [rbp - 0x49]
call fcn.1400f2ea0
nop
mov r9, rdi
mov r8d, esi
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.1400f4580
nop
lea rcx, [rbp - 0x49]
call fcn.1400f2ec0
jmp 0x140066110
cmp r8d, 0xc
jne 0x1400660d9
lea rcx, [rbp - 0x49]
call fcn.1400f45f0
nop
mov r9, rdi
mov r8d, esi
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.1400f64b0
nop
lea rcx, [rbp - 0x49]
call fcn.1400f4610
jmp 0x140066110
cmp r8d, 0x11
jne 0x1400660ee
mov r8, rdi
mov edx, esi
mov rcx, rbx
call fcn.1400f95d0
jmp 0x140066110
cmp r8d, 0x12
jne 0x140066103
mov r8, rdi
mov edx, esi
mov rcx, rbx
call fcn.1400f96c0
jmp 0x140066110
mov r8, rdi
mov edx, esi
mov rcx, rbx
call fcn.1400eee50
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1401e12d0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret