Function at 0x140096cd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rdi, r9
cmp edx, 1
jbe 0x140096cf9
mov eax, 0xffffffdc
jmp 0x140096eed
mov esi, dword [rcx]
lea rbx, [rcx + 4]
movzx ecx, byte [r8]
movzx eax, byte [r8 + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 5]
mov dword [rbp - 0x10], ecx
movzx ecx, byte [r8 + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 9]
mov dword [rbp - 0xc], ecx
movzx ecx, byte [r8 + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0xd]
mov dword [rbp - 8], ecx
movzx ecx, byte [r8 + 0xc]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0xf]
shl ecx, 8
or ecx, eax
mov dword [rbp - 4], ecx
xor ecx, ecx
mov eax, dword [rbx]
add rbx, 4
xor dword [rbp + rcx*4 - 0x10], eax
inc rcx
cmp rcx, 4
jl 0x140096d98
test esi, esi
je 0x140096e5d
lea r8, [rbp - 8]
mov rdx, rbx
lea rcx, [rbp - 0x10]
call fcn.14009644c
lea r8, [rbp - 0x10]
lea rdx, [rbx + 8]
lea rcx, [rbp - 8]
call fcn.14009644c
lea r8, [rbp - 8]
lea rdx, [rbx + 0x10]
lea rcx, [rbp - 0x10]
call fcn.14009644c
lea r8, [rbp - 0x10]
lea rdx, [rbx + 0x18]
lea rcx, [rbp - 8]
call fcn.14009644c
lea r8, [rbp - 8]
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x10]
call fcn.14009644c
lea r8, [rbp - 0x10]
lea rdx, [rbx + 0x28]
lea rcx, [rbp - 8]
call fcn.14009644c
add rbx, 0x30
sub esi, 1
je 0x140096e5d
mov edx, dword [rbp - 0x10]
mov eax, dword [rbx]
mov ecx, dword [rbp - 0xc]
and eax, edx
rol eax, 1
xor ecx, eax
mov eax, dword [rbx + 8]
mov dword [rbp - 0xc], ecx
or ecx, dword [rbx + 4]
xor edx, ecx
mov dword [rbp - 0x10], edx
mov edx, dword [rbp - 4]
mov ecx, edx
or ecx, dword [rbx + 0xc]
xor ecx, dword [rbp - 8]
and eax, ecx
mov dword [rbp - 8], ecx
rol eax, 1
xor edx, eax
mov dword [rbp - 4], edx
add rbx, 0x10
jmp 0x140096db3
mov ecx, dword [rbp - 8]
xor ecx, dword [rbx]
mov edx, dword [rbp - 4]
mov eax, ecx
xor edx, dword [rbx + 4]
mov r8d, dword [rbp - 0x10]
xor r8d, dword [rbx + 8]
mov r9d, dword [rbp - 0xc]
xor r9d, dword [rbx + 0xc]
shr eax, 0x18
mov byte [rdi], al
mov eax, ecx
shr eax, 0x10
mov byte [rdi + 1], al
mov eax, ecx
shr eax, 8
mov byte [rdi + 2], al
mov eax, edx
shr eax, 0x18
mov byte [rdi + 4], al
mov eax, edx
shr eax, 0x10
mov byte [rdi + 5], al
mov eax, edx
shr eax, 8
mov byte [rdi + 6], al
mov eax, r8d
shr eax, 0x18
mov byte [rdi + 8], al
mov eax, r8d
shr eax, 0x10
mov byte [rdi + 9], al
mov eax, r8d
shr eax, 8
mov byte [rdi + 0xa], al
mov eax, r9d
shr eax, 0x18
mov byte [rdi + 0xc], al
mov eax, r9d
shr eax, 0x10
mov byte [rdi + 0xd], al
mov eax, r9d
shr eax, 8
mov byte [rdi + 0xe], al
xor eax, eax
mov byte [rdi + 3], cl
mov byte [rdi + 7], dl
mov byte [rdi + 0xb], r8b
mov byte [rdi + 0xf], r9b
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rbp
ret