Function at 0x180030aa0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x40]
sub rsp, 0x140
cmp byte [rdx], 0x24
mov rax, rdx
mov r14, rcx
jne 0x180030ad2
lea rcx, [rdx + 1]
xor edx, edx
call fcn.18000aca0
jmp 0x180030adc
xor edx, edx
mov rcx, rax
call fcn.180009f90
mov rbx, rax
xor edi, edi
movabs rax, 0x3262fc640a7efa78
movabs rsi, 0x549a2d1f135dad7a
mov qword [rsp + 0x20], rax
mov r10d, edi
movabs rax, 0x50b56cba5c1de728
mov r11, rsi
mov qword [rsp + 0x28], rax
nop
mov rax, qword [rsp + r10*8 + 0x20]
mov r9d, r10d
neg r9d
mov r8, r11
and r9d, 0xf
rol r8, 3
not r8
rol r11, 1
mov rdx, r8
mov ecx, r9d
neg ecx
and ecx, 0x3f
shl rdx, cl
mov ecx, r9d
shr r8, cl
or rdx, r8
xor rdx, rax
mov qword [rsp + r10*8 + 0x20], rdx
inc r10
cmp r10, 2
jb 0x180030b10
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.18000ae30
test al, al
je 0x180030b7b
test rbx, rbx
setne byte [0x180039f0c]
jmp 0x180031540
movabs rax, 0x3a63fc640a7efa78
mov r10, rdi
mov qword [rsp + 0x30], rax
mov r11, rsi
movabs rax, 0x50b56cba5c1dfc29
mov qword [rsp + 0x38], rax
nop
mov rax, qword [rsp + r10*8 + 0x30]
mov r9d, r10d
neg r9d
mov r8, r11
and r9d, 0xf
rol r8, 3
not r8
rol r11, 1
mov rdx, r8
mov ecx, r9d
neg ecx
and ecx, 0x3f
shl rdx, cl
mov ecx, r9d
shr r8, cl
or rdx, r8
xor rdx, rax
mov qword [rsp + r10*8 + 0x30], rdx
inc r10
cmp r10, 2
jb 0x180030ba0
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.18000ae30
test al, al
je 0x180030c0b
test rbx, rbx
setne byte [0x180039f0d]
jmp 0x180031540
movabs rax, 0x3f4afe4f0e7efa78
mov r10, rdi
mov qword [rsp + 0x40], rax
mov r11, rsi
movabs rax, 0x50b56cba5c1dfa2f
mov qword [rsp + 0x48], rax
nop
mov rax, qword [rsp + r10*8 + 0x40]
mov r9d, r10d
neg r9d
mov r8, r11
and r9d, 0xf
rol r8, 3
not r8
rol r11, 1
mov rdx, r8
mov ecx, r9d
neg ecx
and ecx, 0x3f
shl rdx, cl
mov ecx, r9d
shr r8, cl
or rdx, r8
xor rdx, rax
mov qword [rsp + r10*8 + 0x40], rdx
inc r10
cmp r10, 2
jb 0x180030c30
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.18000ae30
test al, al
je 0x180030c9b
test rbx, rbx
setne byte [0x180039edf]
jmp 0x180031540
movabs rax, 0x186ae0622b62f964
mov r10, rdi
mov qword [rsp + 0x50], rax
mov r11, rsi
movabs rax, 0x50b56cba5c1d9407
mov qword [rsp + 0x58], rax
nop
mov rax, qword [rsp + r10*8 + 0x50]
mov r9d, r10d
neg r9d
mov r8, r11
and r9d, 0xf
rol r8, 3
not r8
rol r11, 1
mov rdx, r8
mov ecx, r9d
neg ecx
and ecx, 0x3f
shl rdx, cl
mov ecx, r9d
shr r8, cl
or rdx, r8
xor rdx, rax
mov qword [rsp + r10*8 + 0x50], rdx
inc r10
cmp r10, 2
jb 0x180030cc0
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.18000ae30
test al, al
je 0x180030d2b
test rbx, rbx
setne byte [0x180039f0e]
jmp 0x180031540
movabs rax, 0x295dc2750c76f17f
mov r10, rdi
mov qword [rsp + 0x60], rax
mov r11, rsi
movabs rax, 0x50b56cba5c6ffd0e
mov qword [rsp + 0x68], rax
nop
mov rax, qword [rsp + r10*8 + 0x60]
mov r9d, r10d
neg r9d
mov r8, r11
and r9d, 0xf
rol r8, 3
not r8
rol r11, 1
mov rdx, r8
mov ecx, r9d
neg ecx
and ecx, 0x3f
shl rdx, cl
mov ecx, r9d
shr r8, cl
or rdx, r8
xor rdx, rax
mov qword [rsp + r10*8 + 0x60], rdx
inc r10
cmp r10, 2
jb 0x180030d50
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.18000ae30
test al, al
je 0x180030dbb
test rbx, rbx
setne byte [0x18007e216]
jmp 0x180031540
movabs rax, 0x2b43de700a7ef86c
mov r10, rdi
mov qword [rsp + 0x70], rax
mov r11, rsi
movabs rax, 0x50b56cba5c1df00f
mov qword [rsp + 0x78], rax
nop
mov rax, qword [rsp + r10*8 + 0x70]
mov r9d, r10d
neg r9d
mov r8, r11
and r9d, 0xf
rol r8, 3
not r8
rol r11, 1
mov rdx, r8
mov ecx, r9d
neg ecx
and ecx, 0x3f
shl rdx, cl
mov ecx, r9d
shr r8, cl
or rdx, r8
xor rdx, rax
mov qword [rsp + r10*8 + 0x70], rdx
inc r10
cmp r10, 2
jb 0x180030de0
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.18000ae30
test al, al
je 0x180030e4b
test rbx, rbx
setne byte [0x180039f0f]
jmp 0x180031540
movabs rax, 0x2147c3700a7ef86c
mov r10, rdi
mov qword [rbp - 0x80], rax
mov r11, rsi
movabs rax, 0x50b56cba5c73f523
mov qword [rbp - 0x78], rax
nop dword [rax]
mov rax, qword [rbp + r10*8 - 0x80]
mov r9d, r10d
neg r9d
mov r8, r11
and r9d, 0xf
rol r8, 3
not r8
rol r11, 1
mov rdx, r8
mov ecx, r9d
neg ecx
and ecx, 0x3f
shl rdx, cl
mov ecx, r9d
shr r8, cl
or rdx, r8
xor rdx, rax
mov qword [rbp + r10*8 - 0x80], rdx
inc r10
cmp r10, 2
jb 0x180030e70
mov r8, 0xffffffffffffffff
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.18000ae30
test al, al
je 0x180030eda
test rbx, rbx
setne byte [0x180039fb8]
jmp 0x180031540
movabs rax, 0x3456d2700a7ef86c
mov r10, rdi
mov qword [rbp - 0x70], rax
mov r11, rsi
movabs rax, 0x50b56cba327cf81a
mov qword [rbp - 0x68], rax
nop dword [rax]
mov rax, qword [rbp + r10*8 - 0x70]
mov r9d, r10d
neg r9d
mov r8, r11
and r9d, 0xf
rol r8, 3
not r8
rol r11, 1
mov rdx, r8
mov ecx, r9d
neg ecx
and ecx, 0x3f
shl rdx, cl
mov ecx, r9d
shr r8, cl
or rdx, r8
xor rdx, rax
mov qword [rbp + r10*8 - 0x70], rdx
inc r10
cmp r10, 2
jb 0x180030f00
mov r8, 0xffffffffffffffff
lea rdx, [rbp - 0x70]
mov rcx, r14
call fcn.18000ae30
test al, al
je 0x180030f6a
test rbx, rbx
setne byte [0x180039fb9]
jmp 0x180031540
mov qword [rsp + 0x160], r15
movabs rax, 0x3a46d4700a7ef86c
movabs r15, 0x50b509de356ee623
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], r15
mov r10, rdi
mov r11, rsi
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbp + r10*8 - 0x60]
mov r9d, r10d
neg r9d
mov r8, r11
and r9d, 0xf
rol r8, 3
not r8
rol r11, 1
mov rdx, r8
mov ecx, r9d
neg ecx
and ecx, 0x3f
shl rdx, cl
mov ecx, r9d
shr r8, cl
or rdx, r8
xor rdx, rax
mov qword [rbp + r10*8 - 0x60], rdx
inc r10
cmp r10, 2
jb 0x180030fa0
mov r8, 0xffffffffffffffff
lea rdx, [rbp - 0x60]
mov rcx, r14
call fcn.18000ae30
test al, al
je 0x18003100a
test rbx, rbx
setne byte [0x180039fba]
jmp 0x180031538
movabs rax, 0x2947cd700a7ef86c
mov r10, rdi
mov qword [rbp - 0x50], rax
mov r11, rsi
movabs rax, 0x50db04db2673fb21
mov qword [rbp - 0x48], rax
nop dword [rax]
mov rax, qword [rbp + r10*8 - 0x50]
mov r9d, r10d
neg r9d
mov r8, r11
and r9d, 0xf
rol r8, 3
not r8
rol r11, 1
mov rdx, r8
mov ecx, r9d
neg ecx
and ecx, 0x3f
shl rdx, cl
mov ecx, r9d
shr r8, cl
or rdx, r8
xor rdx, rax
mov qword [rbp + r10*8 - 0x50], rdx
inc r10
cmp r10, 2
jb 0x180031030
mov r8, 0xffffffffffffffff
lea rdx, [rbp - 0x50]
mov rcx, r14
call fcn.18000ae30
test al, al
je 0x18003109a
test rbx, rbx
setne byte [0x180039fbb]
jmp 0x180031538
movabs rax, 0x294fc7700a7ef86c
mov r10, rdi
mov qword [rbp - 0x40], rax
mov r11, rsi
movabs rax, 0x50f12df9307cfd3e
mov qword [rbp - 0x38], rax
nop dword [rax]
mov rax, qword [rbp + r10*8 - 0x40]
mov r9d, r10d
neg r9d
mov r8, r11
and r9d, 0xf
rol r8, 3
not r8
rol r11, 1
mov rdx, r8
mov ecx, r9d
neg ecx
and ecx, 0x3f
shl rdx, cl
mov ecx, r9d
shr r8, cl
or rdx, r8
xor rdx, rax
mov qword [rbp + r10*8 - 0x40], rdx
inc r10
cmp r10, 2
jb 0x1800310c0
mov r8, 0xffffffffffffffff
lea rdx, [rbp - 0x40]
mov rcx, r14
call fcn.18000ae30
test al, al
je 0x18003112a
test rbx, rbx
setne byte [0x180039fbc]
jmp 0x180031538
movabs rax, 0x3a46d4620660fb6b
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x30], rax
mov r10, rdi
mov r11, rsi
mov rax, qword [rbp + r10*8 - 0x30]
mov r9d, r10d
neg r9d
mov r8, r11
and r9d, 0xf
rol r8, 3
not r8
rol r11, 1
mov rdx, r8
mov ecx, r9d
neg ecx
and ecx, 0x3f
shl rdx, cl
mov ecx, r9d
shr r8, cl
or rdx, r8
xor rdx, rax
mov qword [rbp + r10*8 - 0x30], rdx
inc r10
cmp r10, 2
jb 0x180031142
mov r8, 0xffffffffffffffff
lea rdx, [rbp - 0x30]
mov rcx, r14
call fcn.18000ae30
test al, al
je 0x1800311ac
test rbx, rbx
setne byte [0x180039fbd]
jmp 0x180031538
movabs rax, 0x124be77e3175fa69
mov r10, rdi
mov qword [rbp - 0x20], rax
mov r11, rsi
movabs rax, 0x50b56cba5c1d940e
mov qword [rbp - 0x18], rax
nop
mov rax, qword [rbp + r10*8 - 0x20]
mov r9d, r10d
neg r9d
mov r8, r11
and r9d, 0xf
rol r8, 3
not r8
rol r11, 1
mov rdx, r8
mov ecx, r9d
neg ecx
and ecx, 0x3f
shl rdx, cl
mov ecx, r9d
shr r8, cl
or rdx, r8
xor rdx, rax
mov qword [rbp + r10*8 - 0x20], rdx
inc r10
cmp r10, 2
jb 0x1800311d0
mov r8, 0xffffffffffffffff
lea rdx, [rbp - 0x20]
mov rcx, r14
call fcn.18000ae30
test al, al
je 0x180031236
mov byte [0x18003b1fd], bl
jmp 0x180031538
movabs rax, 0x1f67f26b027cfb69
movabs r15, 0x50b56cba5c1d944a
mov qword [rbp - 0x10], rax
mov r10, rdi
mov qword [rbp - 8], r15
mov r11, rsi
nop dword [rax + rax]
mov rax, qword [rbp + r10*8 - 0x10]
mov r9d, r10d
neg r9d
mov r8, r11
and r9d, 0xf
rol r8, 3
not r8
rol r11, 1
mov rdx, r8
mov ecx, r9d
neg ecx
and ecx, 0x3f
shl rdx, cl
mov ecx, r9d
shr r8, cl
or rdx, r8
xor rdx, rax
mov qword [rbp + r10*8 - 0x10], rdx
inc r10
cmp r10, 2
jb 0x180031260
mov r8, 0xffffffffffffffff
lea rdx, [rbp - 0x10]
mov rcx, r14
call fcn.18000ae30
test al, al
je 0x1800312c6
mov dword [0x18003b1f1], ebx
jmp 0x180031538
movabs rax, 0x5b2ed34e1777e778
lea rdx, [rbp + 0x68]
mov qword [rbp + 0x68], rax
movabs rcx, 0x5b2e97076512942d
mov rax, qword [rbp + 0x68]
mov r8, 0xffffffffffffffff
xor rax, rcx
mov rcx, r14
mov qword [rbp + 0x68], rax
call fcn.18000ae30
test al, al
je 0x18003130c
mov word [0x18003b1f7], bx
jmp 0x180031538
movabs rax, 0x3f42fe72276af560
mov qword [rbp + 8], r15
mov qword [rbp], rax
mov r10, rdi
mov r11, rsi
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbp + r10*8]
mov r9d, r10d
neg r9d
mov r8, r11
and r9d, 0xf
rol r8, 3
not r8
rol r11, 1
mov rdx, r8
mov ecx, r9d
neg ecx
and ecx, 0x3f
shl rdx, cl
mov ecx, r9d
shr r8, cl
or rdx, r8
xor rdx, rax
mov qword [rbp + r10*8], rdx
inc r10
cmp r10, 2
jb 0x180031330
mov r8, 0xffffffffffffffff
lea rdx, [rbp]
mov rcx, r14
call fcn.18000ae30
test al, al
je 0x180031397
mov word [0x18003b1ff], bx
jmp 0x180031538
movabs rax, 0x3f42fe72277cfd60
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x10], rax
mov r10, rdi
mov r11, rsi
nop
mov rax, qword [rbp + r10*8 + 0x10]
mov r9d, r10d
neg r9d
mov r8, r11
and r9d, 0xf
rol r8, 3
not r8
rol r11, 1
mov rdx, r8
mov ecx, r9d
neg ecx
and ecx, 0x3f
shl rdx, cl
mov ecx, r9d
shr r8, cl
or rdx, r8
xor rdx, rax
mov qword [rbp + r10*8 + 0x10], rdx
inc r10
cmp r10, 2
jb 0x1800313b0
mov r8, 0xffffffffffffffff
lea rdx, [rbp + 0x10]
mov rcx, r14
call fcn.18000ae30
test al, al
je 0x180031417
mov word [0x18003b201], bx
jmp 0x180031538
movabs rax, 0x3463f2710c66f76c
mov r10, rdi
mov qword [rbp + 0x20], rax
mov r11, rsi
movabs rax, 0x50b56cba5c1de72e
mov qword [rbp + 0x28], rax
nop dword [rax]
mov rax, qword [rbp + r10*8 + 0x20]
mov r9d, r10d
neg r9d
mov r8, r11
and r9d, 0xf
rol r8, 3
not r8
rol r11, 1
mov rdx, r8
mov ecx, r9d
neg ecx
and ecx, 0x3f
shl rdx, cl
mov ecx, r9d
shr r8, cl
or rdx, r8
xor rdx, rax
mov qword [rbp + r10*8 + 0x20], rdx
inc r10
cmp r10, 2
jb 0x180031440
mov r8, 0xffffffffffffffff
lea rdx, [rbp + 0x20]
mov rcx, r14
call fcn.18000ae30
test al, al
je 0x1800314a7
mov qword [0x18003b207], rbx
jmp 0x180031538
movabs rax, 0x2c41fb6b246af560
mov qword [rbp + 0x30], rax
movabs rax, 0x50b56cc8394bf02f
mov qword [rbp + 0x38], rax
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbp + rdi*8 + 0x30]
mov r8d, edi
neg r8d
mov r9, rsi
and r8d, 0xf
rol r9, 3
not r9
rol rsi, 1
mov rdx, r9
mov ecx, r8d
neg ecx
and ecx, 0x3f
shl rdx, cl
mov ecx, r8d
shr r9, cl
or rdx, r9
xor rdx, rax
mov qword [rbp + rdi*8 + 0x30], rdx
inc rdi
cmp rdi, 2
jb 0x1800314d0
mov r8, 0xffffffffffffffff
lea rdx, [rbp + 0x30]
mov rcx, r14
call fcn.18000ae30
mov ecx, dword [0x18007e220]
test al, al
cmovne ecx, ebx
mov dword [0x18007e220], ecx
mov r15, qword [rsp + 0x160]
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret