Function at 0x140095aa0
Capabilities:
Encode data using xor

Disassembly:
test rdx, rdx
je 0x140095fb0
mov rax, rsp
push rbp
push rsi
push r14
sub rsp, 0x170
mov r14d, r8d
mov rbp, rdx
mov rsi, rcx
cmp r8d, 1
jb 0x140095fa5
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
mov qword [rax - 0x20], r13
mov qword [rax - 0x28], r15
nop
mov eax, dword [rsi + 0x24]
test eax, eax
jne 0x140095f29
cmp r14d, 0x40
jb 0x140095f29
movups xmm0, xmmword [rbp]
xor r8d, r8d
lea r9, [rsp + 0x20]
movups xmmword [rsi + 0x28], xmm0
movups xmm1, xmmword [rbp + 0x10]
movups xmmword [rsi + 0x38], xmm1
movups xmm0, xmmword [rbp + 0x20]
movups xmmword [rsi + 0x48], xmm0
movups xmm1, xmmword [rbp + 0x30]
movups xmmword [rsi + 0x58], xmm1
nop dword [rax]
lea eax, [r8*4]
inc r8d
movzx edx, byte [rax + rsi + 0x28]
lea r9, [r9 + 4]
shl edx, 8
mov ecx, eax
movzx eax, byte [rsi + rax + 0x29]
or edx, eax
shl edx, 8
movzx eax, byte [rcx + rsi + 0x2a]
or edx, eax
movzx eax, byte [rcx + rsi + 0x2b]
shl edx, 8
or edx, eax
mov dword [r9 - 4], edx
cmp r8d, 0x10
jb 0x140095b20
mov r15d, dword [rsi + 0x10]
lea rdx, [rsp + 0x60]
mov r12d, dword [rsi + 0x14]
lea rcx, [rsp + 0x28]
mov r13d, dword [rsi + 0x18]
mov edi, r15d
mov r10d, dword [rsi + 0x1c]
mov ebx, r12d
mov r11d, dword [rsi + 0x20]
mov r9d, r13d
mov r8d, 0x40
nop dword [rax + rax]
mov eax, dword [rcx + 0x2c]
lea rdx, [rdx + 4]
xor eax, dword [rcx + 0x18]
xor eax, dword [rcx - 8]
xor eax, dword [rcx]
lea rcx, [rcx + 4]
rol eax, 1
mov dword [rdx - 4], eax
sub r8, 1
jne 0x140095b90
xor eax, eax
mov edx, edi
mov ecx, r10d
xor ecx, r9d
rol edx, 5
and ecx, ebx
rol ebx, 0x1e
xor ecx, r10d
add ecx, 0x5a827999
add edx, ecx
mov ecx, r9d
add edx, dword [rsp + rax*4 + 0x20]
xor ecx, ebx
and ecx, edi
add r11d, edx
xor ecx, r9d
rol edi, 0x1e
add ecx, 0x5a827999
inc eax
mov edx, r11d
rol edx, 5
add edx, ecx
mov ecx, ebx
add edx, dword [rsp + rax*4 + 0x20]
xor ecx, edi
add r10d, edx
and ecx, r11d
xor ecx, ebx
rol r11d, 0x1e
add ecx, 0x5a827999
inc eax
mov edx, r10d
rol edx, 5
add edx, ecx
mov ecx, r11d
add edx, dword [rsp + rax*4 + 0x20]
xor ecx, edi
add r9d, edx
and ecx, r10d
xor ecx, edi
rol r10d, 0x1e
add ecx, 0x5a827999
inc eax
mov edx, r9d
add edi, 0x5a827999
rol edx, 5
add edx, ecx
mov ecx, r11d
add edx, dword [rsp + rax*4 + 0x20]
xor ecx, r10d
add ebx, edx
and ecx, r9d
inc eax
rol r9d, 0x1e
xor ecx, r11d
mov edx, ebx
rol edx, 5
add edx, ecx
add edx, dword [rsp + rax*4 + 0x20]
inc eax
add edi, edx
cmp eax, 0x14
jb 0x140095bb0
cmp eax, 0x28
jae 0x140095d37
nop word [rax + rax]
mov edx, edi
mov ecx, r10d
xor ecx, r9d
rol edx, 5
add edx, dword [rsp + rax*4 + 0x20]
xor ecx, ebx
add ecx, r11d
rol ebx, 0x1e
inc eax
lea r11d, [rdx + 0x6ed9eba1]
add r11d, ecx
mov ecx, r9d
xor ecx, ebx
mov edx, r11d
xor ecx, edi
rol edx, 5
add edx, dword [rsp + rax*4 + 0x20]
add ecx, r10d
inc eax
rol edi, 0x1e
lea r10d, [rdx + 0x6ed9eba1]
add r10d, ecx
mov ecx, r11d
xor ecx, ebx
rol r11d, 0x1e
xor ecx, edi
mov edx, r10d
add ecx, r9d
rol edx, 5
add edx, dword [rsp + rax*4 + 0x20]
inc eax
lea r9d, [rdx + 0x6ed9eba1]
add r9d, ecx
mov ecx, r11d
xor ecx, r10d
mov edx, r9d
xor ecx, edi
rol edx, 5
add edx, dword [rsp + rax*4 + 0x20]
add ecx, ebx
inc eax
rol r10d, 0x1e
lea ebx, [rdx + 0x6ed9eba1]
add ebx, ecx
mov ecx, r11d
xor ecx, r10d
mov edx, ebx
xor ecx, r9d
rol edx, 5
add edx, dword [rsp + rax*4 + 0x20]
add ecx, edi
inc eax
rol r9d, 0x1e
lea edi, [rdx + 0x6ed9eba1]
add edi, ecx
cmp eax, 0x28
jb 0x140095c80
cmp eax, 0x3c
jae 0x140095e24
mov edx, r9d
mov ecx, r9d
or edx, ebx
and ecx, ebx
and edx, r10d
rol ebx, 0x1e
or edx, ecx
mov r8d, edi
add edx, dword [rsp + rax*4 + 0x20]
mov ecx, ebx
add edx, r11d
rol r8d, 5
and ecx, edi
inc eax
lea r11d, [r8 - 0x70e44324]
add r11d, edx
mov edx, ebx
or edx, edi
mov r8d, r11d
and edx, r9d
rol r8d, 5
or edx, ecx
rol edi, 0x1e
add edx, dword [rsp + rax*4 + 0x20]
mov ecx, r11d
add edx, r10d
and ecx, edi
lea r10d, [r8 - 0x70e44324]
inc eax
add r10d, edx
mov edx, r11d
or edx, edi
rol r11d, 0x1e
and edx, ebx
mov r8d, r10d
or edx, ecx
rol r8d, 5
add edx, dword [rsp + rax*4 + 0x20]
mov ecx, r11d
add edx, r9d
inc eax
and ecx, r10d
lea r9d, [r8 - 0x70e44324]
add r9d, edx
mov edx, r11d
or edx, r10d
mov r8d, r9d
and edx, edi
rol r8d, 5
or edx, ecx
rol r10d, 0x1e
add edx, dword [rsp + rax*4 + 0x20]
mov ecx, r10d
add edx, ebx
inc eax
lea ebx, [r8 - 0x70e44324]
and ecx, r9d
add ebx, edx
mov edx, r10d
or edx, r9d
mov r8d, ebx
and edx, r11d
rol r8d, 5
or edx, ecx
rol r9d, 0x1e
add edx, dword [rsp + rax*4 + 0x20]
inc eax
add edx, edi
lea edi, [r8 - 0x70e44324]
add edi, edx
cmp eax, 0x3c
jb 0x140095d40
cmp eax, 0x50
jae 0x140095efa
nop dword [rax]
mov ecx, dword [rsp + rax*4 + 0x20]
mov edx, r10d
xor edx, r9d
inc eax
xor edx, ebx
mov r8d, edi
add ecx, edx
rol r8d, 5
add ecx, r11d
rol ebx, 0x1e
mov edx, r9d
xor edx, ebx
xor edx, edi
lea r11d, [r8 - 0x359d3e2a]
add r11d, ecx
rol edi, 0x1e
mov ecx, dword [rsp + rax*4 + 0x20]
mov r8d, r11d
add ecx, edx
rol r8d, 5
add ecx, r10d
inc eax
mov edx, r11d
rol r11d, 0x1e
xor edx, ebx
xor edx, edi
lea r10d, [r8 - 0x359d3e2a]
add r10d, ecx
mov ecx, dword [rsp + rax*4 + 0x20]
add ecx, edx
inc eax
add ecx, r9d
mov r8d, r10d
rol r8d, 5
mov edx, r11d
xor edx, r10d
rol r10d, 0x1e
xor edx, edi
lea r9d, [r8 - 0x359d3e2a]
add r9d, ecx
mov ecx, dword [rsp + rax*4 + 0x20]
add ecx, edx
inc eax
add ecx, ebx
mov r8d, r9d
rol r8d, 5
mov edx, r11d
xor edx, r10d
xor edx, r9d
rol r9d, 0x1e
lea ebx, [r8 - 0x359d3e2a]
add ebx, ecx
mov ecx, dword [rsp + rax*4 + 0x20]
add ecx, edx
mov r8d, ebx
add ecx, edi
rol r8d, 5
inc eax
lea edi, [r8 - 0x359d3e2a]
add edi, ecx
cmp eax, 0x50
jb 0x140095e30
add dword [rsi + 0x1c], r10d
lea eax, [r15 + rdi]
add dword [rsi + 0x20], r11d
add rbp, 0x40
mov dword [rsi + 0x10], eax
lea eax, [r12 + rbx]
mov dword [rsi + 0x14], eax
lea eax, [r9 + r13]
mov dword [rsi + 0x18], eax
add qword [rsi + 8], 0x200
add r14d, 0xffffffc0
jmp 0x140095f74
mov edi, 0x40
lea rcx, [rsi + 0x28]
sub edi, eax
mov rdx, rbp
mov eax, dword [rsi + 0x24]
cmp r14d, edi
cmovb edi, r14d
add rcx, rax
mov r8d, edi
mov ebx, edi
call fcn.14016a920
add dword [rsi + 0x24], edi
add rbp, rbx
sub r14d, edi
cmp dword [rsi + 0x24], 0x40
jne 0x140095f74
mov rcx, rsi
call fcn.140095140
add qword [rsi + 8], 0x200
mov dword [rsi + 0x24], 0
test r14d, r14d
jne 0x140095ae0
mov r15, qword [rsp + 0x160]
mov r13, qword [rsp + 0x168]
mov r12, qword [rsp + 0x1a0]
mov rdi, qword [rsp + 0x198]
mov rbx, qword [rsp + 0x190]
add rsp, 0x170
pop r14
pop rsi
pop rbp
ret