Function at 0x14002b250
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14002b57b
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
push rbp
sub rsp, 0x40
mov qword [rax + 8], rbx
mov qword [rax - 0x10], rsi
mov qword [rax - 0x18], rdi
mov qword [rax - 0x20], r12
mov qword [rax - 0x28], r13
mov qword [rax - 0x30], r14
mov qword [rax - 0x38], r15
lea rax, [rdx + 4]
sub rdx, rcx
mov qword [rsp], rax
lea rax, [rdx - 4]
lea r8, [r9 + 4]
mov qword [rsp + 8], rax
lea r15, [rcx + 4]
movzx r12d, word [r15 - 4]
movzx r14d, word [r15 - 2]
movzx eax, word [r15]
rol r14w, 8
movzx r13d, word [r15 + 2]
mov rsi, r8
rol r12w, 8
mov ebp, 8
rol ax, 8
rol r13w, 8
nop
movzx r9d, word [rsi - 4]
movzx r11d, word [rsi + 6]
xor r10d, r10d
mov r8d, r9d
movzx ecx, r12w
imul r8d, ecx
test r8d, r8d
movzx ecx, r8w
mov edx, r8d
sete r10b
xor r8d, r8d
shr edx, 0x10
dec r10w
cmp ecx, edx
setb r8b
add ax, word [rsi]
add r14w, word [rsi - 2]
sub r8w, dx
movzx edi, ax
movzx ebx, r14w
add r8w, cx
mov ecx, 1
sub cx, r9w
movzx r9d, word [rsi + 2]
and r8w, r10w
sub cx, r12w
movzx r12d, r8w
not r10w
and cx, r10w
xor r10d, r10d
mov r8d, r9d
or r12w, cx
movzx ecx, r13w
imul r8d, ecx
test r8d, r8d
movzx ecx, r8w
mov edx, r8d
sete r10b
xor r8d, r8d
shr edx, 0x10
dec r10w
cmp ecx, edx
setb r8b
xor ax, r12w
sub r8w, dx
add r8w, cx
mov ecx, 1
sub cx, r9w
and r8w, r10w
xor r9d, r9d
sub cx, r13w
not r10w
movzx r13d, r8w
and cx, r10w
movzx r10d, word [rsi + 4]
movzx r8d, ax
or r13w, cx
mov ecx, r8d
imul ecx, r10d
test ecx, ecx
mov edx, ecx
movzx ecx, cx
sete r9b
xor eax, eax
shr edx, 0x10
dec r9w
cmp ecx, edx
setb al
sub ax, dx
add ax, cx
mov ecx, 1
sub cx, r8w
and ax, r9w
not r9w
sub cx, r10w
movzx r10d, r13w
and cx, r9w
xor r10w, r14w
or ax, cx
add r10w, ax
movzx r8d, r10w
xor r9d, r9d
imul r8d, r11d
lea rsi, [rsi + 0xc]
test r8d, r8d
movzx ecx, r8w
mov edx, r8d
sete r9b
xor r14d, r14d
shr edx, 0x10
dec r9w
cmp ecx, edx
setb r14b
sub r14w, dx
add r14w, cx
mov ecx, 1
and r14w, r9w
sub cx, r10w
not r9w
sub cx, r11w
and cx, r9w
or r14w, cx
add ax, r14w
xor r12w, r14w
xor r14w, di
xor r13w, ax
xor ax, bx
dec rbp
jne 0x14002b2d0
mov rbp, qword [rsp + 0x68]
xor edi, edi
movzx ecx, r12w
movzx ebx, word [rbp + 0x60]
movzx esi, word [rbp + 0x66]
mov edx, ebx
imul edx, ecx
movzx ecx, r13w
test edx, edx
movzx r8d, dx
mov r9d, edx
sete dil
add ax, word [rbp + 0x62]
add r14w, word [rbp + 0x64]
xor ebp, ebp
dec di
shr r9d, 0x10
mov edx, esi
imul edx, ecx
mov ecx, 1
test edx, edx
movzx r10d, dx
mov r11d, edx
sete bpl
xor edx, edx
shr r11d, 0x10
dec bp
cmp r8d, r9d
setb dl
sub cx, bx
rol ax, 8
sub cx, r12w
sub dx, r9w
rol r14w, 8
add dx, r8w
mov r8, qword [rsp + 0x68]
and dx, di
not di
lea r8, [r8 + 4]
and cx, di
or dx, cx
mov rcx, qword [rsp + 8]
rol dx, 8
mov word [rcx + r15], dx
mov rdx, qword [rsp]
xor ecx, ecx
mov word [rdx - 2], ax
cmp r10d, r11d
mov eax, 1
setb cl
sub ax, si
mov word [rdx], r14w
sub cx, r11w
sub ax, r13w
add rdx, 8
add cx, r10w
add r15, 8
mov qword [rsp], rdx
and cx, bp
not bp
and ax, bp
or cx, ax
rol cx, 8
dec qword [rsp + 0x60]
mov word [rdx - 6], cx
jne 0x14002b2a1
mov r15, qword [rsp + 0x10]
mov r14, qword [rsp + 0x18]
mov r13, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
mov rax, r9
mov r9, qword [rcx + 8]
mov r10, r8
mov r11, rdx
mov r8, rax
mov rdx, r10
mov rcx, r11
jmp 0x14002b250