Function at 0x140009490
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140045100]
xor rax, rsp
mov qword [rbp - 8], rax
xor r10b, r10b
movsxd r12, r9d
xor edi, edi
mov qword [rbp - 0x28], r8
mov r11d, edi
lea r13, [0x140000000]
mov rsi, r8
mov r14, rdx
mov r15, rcx
nop word [rax + rax]
movzx edx, byte [r11 + r13 + 0x35670]
lea rbx, [rbp - 0x18]
mov rax, r11
mov r9d, 7
shr rax, 3
mov ecx, 7
add rbx, rax
movzx eax, r10b
and eax, 7
sub r9d, eax
lea eax, [rdx - 1]
and al, 7
dec rdx
movzx r8d, byte [rbx]
sub cl, al
sar rdx, 3
movzx eax, byte [rdx + r14]
shr al, cl
test al, 1
je 0x14000952f
bts r8d, r9d
jmp 0x140009533
btr r8d, r9d
inc r10b
mov byte [rbx], r8b
inc r11
cmp r10b, 0x38
jb 0x1400094e0
xor r10b, r10b
mov r11, rdi
nop dword [rax + rax]
movzx edx, byte [r11 + r13 + 0x355c0]
mov r9d, 7
movzx eax, r10b
mov ecx, 7
and eax, 7
mov rbx, r11
sub r9d, eax
shr rbx, 3
lea eax, [rdx - 1]
dec rdx
and al, 7
sar rdx, 3
sub cl, al
movzx r8d, byte [rbx + rsi]
movzx eax, byte [rdx + r15]
shr al, cl
test al, 1
je 0x140009599
bts r8d, r9d
jmp 0x14000959d
btr r8d, r9d
inc r10b
mov byte [rbx + rsi], r8b
inc r11
cmp r10b, 0x40
jb 0x140009550
lea rcx, [rbp - 0x1c]
mov qword [rbp - 0x48], 0x10
mov rax, rsi
sub rax, rcx
lea rcx, [0x1400356f8]
add rax, 4
mov qword [rbp - 0x30], rax
mov rax, r12
shl rax, 4
add rax, rcx
mov qword [rbp - 0x50], rax
nop dword [rax]
movzx ebx, byte [rax]
test bl, bl
jle 0x14000960d
movzx r9d, bl
lea rcx, [rbp - 0x18]
mov r8b, 0x1b
xor edx, edx
call fcn.140009ad0
movzx r9d, bl
lea rcx, [rbp - 0x18]
mov r8b, 0x37
mov dl, 0x1c
call fcn.140009ad0
jmp 0x140009638
jns 0x140009638
movzx r9d, bl
lea rcx, [rbp - 0x18]
neg r9b
mov r8b, 0x1b
xor edx, edx
call fcn.140009c30
neg bl
lea rcx, [rbp - 0x18]
movzx r9d, bl
mov r8b, 0x37
mov dl, 0x1c
call fcn.140009c30
xor r10b, r10b
mov r11, rdi
nop
movzx edx, byte [r11 + r13 + 0x356a8]
lea rbx, [rbp - 0x10]
mov rax, r11
mov r9d, 7
shr rax, 3
mov ecx, 7
add rbx, rax
movzx eax, r10b
and eax, 7
sub r9d, eax
lea eax, [rdx - 1]
and al, 7
dec rdx
movzx r8d, byte [rbx]
sub cl, al
sar rdx, 3
movzx eax, byte [rbp + rdx - 0x18]
shr al, cl
test al, 1
je 0x14000968f
bts r8d, r9d
jmp 0x140009693
btr r8d, r9d
inc r10b
mov byte [rbx], r8b
inc r11
cmp r10b, 0x30
jb 0x140009640
xor r10b, r10b
mov r11, rdi
nop dword [rax + rax]
movzx edx, byte [r11 + r13 + 0x35640]
lea rbx, [rbp - 0x20]
mov rax, r11
mov r9d, 7
shr rax, 3
mov ecx, 7
add rbx, rax
movzx eax, r10b
and eax, 7
sub r9d, eax
lea eax, [rdx - 1]
and al, 7
dec rdx
movzx r8d, byte [rbx]
sub cl, al
sar rdx, 3
movzx eax, byte [rdx + rsi + 4]
shr al, cl
test al, 1
je 0x1400096ff
bts r8d, r9d
jmp 0x140009703
btr r8d, r9d
inc r10b
mov byte [rbx], r8b
inc r11
cmp r10b, 0x30
jb 0x1400096b0
mov dl, 6
mov rcx, rdi
nop word [rax + rax]
lea rcx, [rcx - 1]
movzx eax, byte [rbp + rcx - 0xa]
xor byte [rbp + rcx - 0x1a], al
add dl, 0xff
jne 0x140009720
lea rax, [rbp - 0x5c]
mov byte [rbp - 0x60], dl
mov qword [rbp - 0x58], rax
nop dword [rax]
movzx eax, dl
add al, al
lea ecx, [rax + rdx]
shl cl, 2
movzx r11d, cl
movzx r10d, r11b
mov qword [rbp - 0x38], r11
mov eax, r11d
mov esi, r11d
shr rax, 3
lea edi, [r11 + 1]
lea r14d, [r11 + 2]
lea r15d, [r11 + 3]
movzx ecx, byte [rbp + rax - 0x20]
lea r12d, [r11 - 4]
mov byte [rbp - 0x5f], cl
lea r13d, [r11 - 3]
movzx eax, r11b
mov ecx, 7
and al, 7
add r11b, 6
mov byte [rbp - 0x5e], al
movzx eax, dl
shl rax, 3
mov qword [rbp - 0x40], rax
lea eax, [r10 - 1]
and al, 7
movzx r9d, r11b
sub cl, al
and r11b, 7
mov eax, r9d
shr rax, 3
movzx r8d, byte [rbp + rax - 0x20]
movzx eax, r10b
shr r8b, cl
and al, 7
and r8b, 1
mov ecx, 7
sub cl, al
add r8b, r8b
lea rax, [r9 + 2]
shr rax, 3
movzx edx, byte [rbp + rax - 0x20]
lea eax, [r10 + 1]
shr dl, cl
and al, 7
and dl, 1
mov ecx, 7
sub cl, al
add r8b, dl
add r8b, r8b
lea rax, [r9 + 3]
shr rax, 3
movzx edx, byte [rbp + rax - 0x20]
lea eax, [r10 + 2]
shr dl, cl
and al, 7
and dl, 1
mov ecx, 7
sub cl, al
add r8b, dl
add r8b, r8b
lea rax, [r9 + 4]
shr rax, 3
add r10b, 3
and r10b, 7
movzx edx, byte [rbp + rax - 0x20]
lea rax, [r9 + 5]
shr dl, cl
mov ecx, 7
sub cl, r10b
shr rax, 3
and dl, 1
add r8b, dl
movzx ebx, r8b
movzx r8d, byte [rbp + rax - 0x20]
shr r8b, cl
mov ecx, 7
sub cl, r11b
and r8b, 1
shr r9, 3
movzx r11d, byte [rbp - 0x5f]
and r13b, 7
movzx edx, byte [rbp + r9 - 0x20]
and dil, 7
mov r9, qword [rbp - 0x38]
and r14b, 7
shr dl, cl
and r15b, 7
and dl, 1
shr rsi, 3
add dl, dl
mov ecx, 7
add r8b, dl
sub cl, dil
movzx eax, r8b
movzx edx, r11b
add rax, qword [rbp - 0x40]
and r12b, 7
movzx r8d, byte [rbp + rsi - 0x20]
shr r8b, cl
mov ecx, 7
sub cl, r14b
shl rax, 4
shr dl, cl
add rbx, rax
and dl, 1
lea rax, [r9 + 4]
shr rax, 3
and r8b, 1
add r8b, r8b
mov ecx, 7
add r8b, dl
sub cl, r15b
add r8b, r8b
movzx edx, r11b
shr dl, cl
mov ecx, 7
and dl, 1
sub cl, r12b
add r8b, dl
movzx edx, byte [rbp + rax - 0x20]
shr dl, cl
lea rax, [r9 + 5]
shr rax, 3
and dl, 1
add r8b, r8b
mov ecx, 7
add r8b, dl
sub cl, r13b
lea r13, [0x140000000]
movzx r8d, r8b
movzx edx, byte [rbp + rax - 0x20]
shr dl, cl
mov ecx, 7
sub cl, byte [rbp - 0x5e]
and dl, 1
shr r11b, cl
mov rcx, qword [rbp - 0x58]
and r11b, 1
add r11b, r11b
add dl, r11b
movzx eax, dl
add rax, qword [rbp - 0x40]
movzx edx, byte [rbp - 0x60]
shl rax, 4
inc dl
add r8, rax
mov byte [rbp - 0x60], dl
movzx eax, byte [r8 + r13 + 0x35720]
shl al, 4
add al, byte [rbx + r13 + 0x35760]
mov byte [rcx], al
inc rcx
mov qword [rbp - 0x58], rcx
cmp dl, 4
jb 0x140009740
xor r10b, r10b
xor edi, edi
mov r11d, edi
nop dword [rax + rax]
movzx r8d, byte [r11 + r13 + 0x356d8]
lea rbx, [rbp - 0x20]
mov rax, r11
mov ecx, 7
shr rax, 3
mov r9d, 7
add rbx, rax
movzx eax, r10b
lea edx, [r8 - 1]
and eax, 7
and dl, 7
dec r8
sub cl, dl
sar r8, 3
sub r9d, eax
movzx eax, byte [rbx]
movzx edx, byte [rbp + r8 - 0x5c]
shr dl, cl
test dl, 1
je 0x1400099e2
bts eax, r9d
jmp 0x1400099e6
btr eax, r9d
inc r10b
mov byte [rbx], al
inc r11
cmp r10b, 0x20
jb 0x140009990
mov rdi, qword [rbp - 0x30]
lea rcx, [rbp - 0x1c]
mov dl, 4
nop
movzx eax, byte [rdi + rcx - 1]
lea rcx, [rcx - 1]
xor byte [rcx], al
add dl, 0xff
jne 0x140009a00
mov rsi, qword [rbp - 0x28]
mov edi, 0
mov eax, dword [rbp - 0x20]
mov ecx, dword [rsi + 4]
mov dword [rsi], ecx
mov dword [rsi + 4], eax
mov rax, qword [rbp - 0x50]
inc rax
sub qword [rbp - 0x48], 1
mov qword [rbp - 0x50], rax
jne 0x1400095e0
mov dword [rbp - 0x1c], ecx
xor r10b, r10b
movzx edx, byte [rdi + r13 + 0x35600]
mov r9d, 7
movzx eax, r10b
mov ecx, 7
and eax, 7
mov r11, rdi
sub r9d, eax
shr r11, 3
lea eax, [rdx - 1]
dec rdx
and al, 7
sar rdx, 3
sub cl, al
movzx r8d, byte [r11 + rsi]
movzx eax, byte [rbp + rdx - 0x20]
shr al, cl
test al, 1
je 0x140009a89
bts r8d, r9d
jmp 0x140009a8d
btr r8d, r9d
inc r10b
mov byte [r11 + rsi], r8b
inc rdi
cmp r10b, 0x40
jb 0x140009a40
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14001af60
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret