Function at 0x180030470
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 0x1800304a2
lea rcx, [rdx + 1]
xor edx, edx
call fcn.18000acf0
jmp 0x1800304ac
xor edx, edx
mov rcx, rax
call fcn.180009fe0
mov rbx, rax
xor edi, edi
movabs rax, 0x378d66aaa60e6015
movabs rsi, 0xf427de46c6d3be37
mov qword [rsp + 0x20], rax
mov r10d, edi
movabs rax, 0x39017b04372756ea
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 0x1800304e0
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.18000ae80
test al, al
je 0x18003054b
test rbx, rbx
setne byte [0x180039f0c]
jmp 0x180030f10
movabs rax, 0x3f8c66aaa60e6015
mov r10, rdi
mov qword [rsp + 0x30], rax
mov r11, rsi
movabs rax, 0x39017b0437274deb
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 0x180030570
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.18000ae80
test al, al
je 0x1800305db
test rbx, rbx
setne byte [0x180039f0d]
jmp 0x180030f10
movabs rax, 0x3aa56481a20e6015
mov r10, rdi
mov qword [rsp + 0x40], rax
mov r11, rsi
movabs rax, 0x39017b0437274bed
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 0x180030600
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.18000ae80
test al, al
je 0x18003066b
test rbx, rbx
setne byte [0x180039edf]
jmp 0x180030f10
movabs rax, 0x1d857aac87126309
mov r10, rdi
mov qword [rsp + 0x50], rax
mov r11, rsi
movabs rax, 0x39017b04372725c5
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 0x180030690
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.18000ae80
test al, al
je 0x1800306fb
test rbx, rbx
setne byte [0x180039f0e]
jmp 0x180030f10
movabs rax, 0x2cb258bba0066b12
mov r10, rdi
mov qword [rsp + 0x60], rax
mov r11, rsi
movabs rax, 0x39017b0437554ccc
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 0x180030720
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.18000ae80
test al, al
je 0x18003078b
test rbx, rbx
setne byte [0x18007e216]
jmp 0x180030f10
movabs rax, 0x2eac44bea60e6201
mov r10, rdi
mov qword [rsp + 0x70], rax
mov r11, rsi
movabs rax, 0x39017b04372741cd
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 0x1800307b0
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.18000ae80
test al, al
je 0x18003081b
test rbx, rbx
setne byte [0x180039f0f]
jmp 0x180030f10
movabs rax, 0x24a859bea60e6201
mov r10, rdi
mov qword [rbp - 0x80], rax
mov r11, rsi
movabs rax, 0x39017b04374944e1
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 0x180030840
mov r8, 0xffffffffffffffff
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.18000ae80
test al, al
je 0x1800308aa
test rbx, rbx
setne byte [0x180039fb8]
jmp 0x180030f10
movabs rax, 0x31b948bea60e6201
mov r10, rdi
mov qword [rbp - 0x70], rax
mov r11, rsi
movabs rax, 0x39017b04594649d8
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 0x1800308d0
mov r8, 0xffffffffffffffff
lea rdx, [rbp - 0x70]
mov rcx, r14
call fcn.18000ae80
test al, al
je 0x18003093a
test rbx, rbx
setne byte [0x180039fb9]
jmp 0x180030f10
mov qword [rsp + 0x160], r15
movabs rax, 0x3fa94ebea60e6201
movabs r15, 0x39011e605e5457e1
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 0x180030970
mov r8, 0xffffffffffffffff
lea rdx, [rbp - 0x60]
mov rcx, r14
call fcn.18000ae80
test al, al
je 0x1800309da
test rbx, rbx
setne byte [0x180039fba]
jmp 0x180030f08
movabs rax, 0x2ca857bea60e6201
mov r10, rdi
mov qword [rbp - 0x50], rax
mov r11, rsi
movabs rax, 0x396f13654d494ae3
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 0x180030a00
mov r8, 0xffffffffffffffff
lea rdx, [rbp - 0x50]
mov rcx, r14
call fcn.18000ae80
test al, al
je 0x180030a6a
test rbx, rbx
setne byte [0x180039fbb]
jmp 0x180030f08
movabs rax, 0x2ca05dbea60e6201
mov r10, rdi
mov qword [rbp - 0x40], rax
mov r11, rsi
movabs rax, 0x39453a475b464cfc
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 0x180030a90
mov r8, 0xffffffffffffffff
lea rdx, [rbp - 0x40]
mov rcx, r14
call fcn.18000ae80
test al, al
je 0x180030afa
test rbx, rbx
setne byte [0x180039fbc]
jmp 0x180030f08
movabs rax, 0x3fa94eacaa106106
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 0x180030b12
mov r8, 0xffffffffffffffff
lea rdx, [rbp - 0x30]
mov rcx, r14
call fcn.18000ae80
test al, al
je 0x180030b7c
test rbx, rbx
setne byte [0x180039fbd]
jmp 0x180030f08
movabs rax, 0x17a47db09d056004
mov r10, rdi
mov qword [rbp - 0x20], rax
mov r11, rsi
movabs rax, 0x39017b04372725cc
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 0x180030ba0
mov r8, 0xffffffffffffffff
lea rdx, [rbp - 0x20]
mov rcx, r14
call fcn.18000ae80
test al, al
je 0x180030c06
mov byte [0x18003b18d], bl
jmp 0x180030f08
movabs rax, 0x1a8868a5ae0c6104
movabs r15, 0x39017b0437272588
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 0x180030c30
mov r8, 0xffffffffffffffff
lea rdx, [rbp - 0x10]
mov rcx, r14
call fcn.18000ae80
test al, al
je 0x180030c96
mov dword [0x18003b181], ebx
jmp 0x180030f08
movabs rax, 0x5ec14980bb077d15
lea rdx, [rbp + 0x68]
mov qword [rbp + 0x68], rax
movabs rcx, 0x5ec10dc9c9620e40
mov rax, qword [rbp + 0x68]
mov r8, 0xffffffffffffffff
xor rax, rcx
mov rcx, r14
mov qword [rbp + 0x68], rax
call fcn.18000ae80
test al, al
je 0x180030cdc
mov word [0x18003b187], bx
jmp 0x180030f08
movabs rax, 0x3aad64bc8b1a6f0d
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 0x180030d00
mov r8, 0xffffffffffffffff
lea rdx, [rbp]
mov rcx, r14
call fcn.18000ae80
test al, al
je 0x180030d67
mov word [0x18003b18f], bx
jmp 0x180030f08
movabs rax, 0x3aad64bc8b0c670d
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 0x180030d80
mov r8, 0xffffffffffffffff
lea rdx, [rbp + 0x10]
mov rcx, r14
call fcn.18000ae80
test al, al
je 0x180030de7
mov word [0x18003b191], bx
jmp 0x180030f08
movabs rax, 0x318c68bfa0166d01
mov r10, rdi
mov qword [rbp + 0x20], rax
mov r11, rsi
movabs rax, 0x39017b04372756ec
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 0x180030e10
mov r8, 0xffffffffffffffff
lea rdx, [rbp + 0x20]
mov rcx, r14
call fcn.18000ae80
test al, al
je 0x180030e77
mov qword [0x18003b197], rbx
jmp 0x180030f08
movabs rax, 0x29ae61a5881a6f0d
mov qword [rbp + 0x30], rax
movabs rax, 0x39017b76527141ed
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 0x180030ea0
mov r8, 0xffffffffffffffff
lea rdx, [rbp + 0x30]
mov rcx, r14
call fcn.18000ae80
mov ecx, dword [0x18007e21c]
test al, al
cmovne ecx, ebx
mov dword [0x18007e21c], 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