Function at 0x140145ae0
Capabilities:
Encode data using xor

Disassembly:
push rbp
movq xmm0, r9
mov rbp, rsp
push r15
push r14
xor r14d, r14d
push r13
push r12
mov r12, r8
push rdi
push rsi
mov rsi, r9
push rbx
and rsp, 0xfffffffffffffff0
sub rsp, 0xa0
mov rbx, qword [rbp + 0x30]
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x10], rcx
lea r15, [rsp + 0x60]
mov rcx, r9
mov eax, dword [rbx + 0x10]
mov qword [rsp + 0x38], rax
shl rax, 2
lea r13, [r9 + rax]
movq xmm5, r13
add r13, rax
lea rdi, [r13 + rax]
punpcklqdq xmm0, xmm5
mov qword [rsp + 0x90], r13
lea r13, [rsp + 0x40]
lea rdx, [rdi + rax]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdx
add rdx, rax
mov eax, dword [rbx + 0xc]
mov qword [rsp + 0x70], rdx
xor edx, edx
lea r8d, [rax + rax*2]
movaps xmmword [rsp + 0x80], xmm0
call sub.msvcrt.dll_memset
mov qword [rsp + 0x30], rdi
mov rdi, r15
mov r15, rsi
mov rsi, rbx
mov rbx, qword [rbp + 0x18]
lea rax, [r14 + r14*2]
mov rcx, qword [r14 + rdi]
mov r8d, dword [rsi + 0xc]
xor edx, edx
mov rax, qword [rbx + rax]
mov qword [r13 + r14], rax
add r14, 8
call sub.msvcrt.dll_memset
cmp r14, 0x18
jne 0x140145b88
mov rbx, rsi
mov rsi, r15
mov r15, rdi
mov rdi, qword [rsp + 0x30]
mov edx, dword [rbx + 0x10]
test edx, edx
je 0x140145c69
mov rax, qword [rsp + 0x38]
lea r8, [r12 + 4]
lea r9, [rax + rax*2]
shl r9, 2
lea rcx, [rsi + r9]
mov rax, rcx
sub rax, r8
cmp rax, 8
jbe 0x1401460bd
cmp edx, 1
je 0x1401460bd
lea eax, [rdx - 1]
cmp eax, 2
jbe 0x1401460d4
mov r8d, edx
xor eax, eax
shr r8d, 2
shl r8, 4
movdqu xmm0, xmmword [rcx + rax]
movdqu xmm5, xmmword [r12 + rax]
pxor xmm0, xmm5
movups xmmword [rcx + rax], xmm0
add rax, 0x10
cmp r8, rax
jne 0x140145c0f
mov eax, edx
and eax, 0xfffffffc
test dl, 3
je 0x140145c69
sub edx, eax
cmp edx, 1
je 0x140145c62
mov ecx, eax
lea r8, [r9 + rcx*4]
movq xmm0, qword [r12 + rcx*4]
mov ecx, edx
add rsi, r8
and ecx, 0xfffffffe
movq xmm1, qword [rsi]
add eax, ecx
pxor xmm0, xmm1
movq qword [rsi], xmm0
cmp edx, ecx
je 0x140145c69
mov edx, dword [r12 + rax*4]
xor dword [rdi + rax*4], edx
mov rdx, rbx
xor ecx, ecx
lea r14, [rsp + 0x80]
xor edi, edi
call fcn.14004cb80
mov rsi, rax
mov rcx, qword [r13 + rdi]
mov r8, qword [r14 + rdi]
mov r9, rbx
mov rdx, rsi
add rdi, 8
call fcn.14012f5a0
cmp rdi, 0x18
jne 0x140145c80
mov edi, dword [rbx + 0x10]
test edi, edi
je 0x140145d8d
lea eax, [rdi - 1]
mov qword [rbp + 0x30], rbx
mov esi, edi
xor r8d, r8d
mov dword [rsp + 0x38], eax
mov eax, edi
and esi, 0xfffffffc
mov r12d, edi
shr eax, 2
mov qword [rsp + 0x30], r13
lea r9d, [rax - 1]
mov eax, edi
add r9, 1
and eax, 3
shl r9, 4
mov r13d, eax
nop dword [rax]
mov rdx, qword [r8 + r15]
mov rcx, qword [r14 + r8]
mov rax, rdx
lea r10, [rcx + 4]
sub rax, r10
cmp rax, 8
jbe 0x140146086
cmp edi, 1
je 0x140146086
cmp dword [rsp + 0x38], 2
jbe 0x1401460ad
xor eax, eax
nop word [rax + rax]
movdqu xmm0, xmmword [rdx + rax]
movdqu xmm3, xmmword [rcx + rax]
pxor xmm0, xmm3
movups xmmword [rdx + rax], xmm0
add rax, 0x10
cmp rax, r9
jne 0x140145d18
cmp edi, esi
je 0x140145d76
mov ebx, r13d
cmp r13d, 1
je 0x1401460b6
mov eax, esi
mov r11d, eax
lea r10, [rdx + r11*4]
movq xmm0, qword [rcx + r11*4]
movq xmm1, qword [r10]
pxor xmm0, xmm1
movq qword [r10], xmm0
mov r10d, ebx
and r10d, 0xfffffffe
add eax, r10d
cmp ebx, r10d
je 0x140145d76
mov ecx, dword [rcx + rax*4]
xor dword [rdx + rax*4], ecx
add r8, 8
cmp r8, 0x18
jne 0x140145ce0
mov rbx, qword [rbp + 0x30]
mov r13, qword [rsp + 0x30]
mov eax, dword [rbx]
test eax, eax
je 0x140145ffe
lea rax, [rsp + 0x78]
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x20], rax
nop dword [rax]
mov ecx, dword [rsp + 0x30]
mov rdx, rbx
xor edi, edi
call fcn.14004cb80
mov rsi, rax
nop dword [rax]
mov rcx, qword [r13 + rdi]
mov r8, qword [r14 + rdi]
mov r9, rbx
mov rdx, rsi
add rdi, 8
call fcn.14012f5a0
cmp rdi, 0x18
jne 0x140145dc8
mov r8, qword [rbp + 0x18]
mov rdx, qword [rbp + 0x10]
mov r9, rbx
mov rcx, r15
mov rdi, r15
call fcn.1401469c0
mov eax, dword [rsp + 0x30]
mov rdx, rbx
lea r12d, [rax - 1]
mov ecx, r12d
call fcn.140050480
mov dword [rsp + 0x38], r12d
mov r12, rbx
mov rbx, qword [rsp + 0x20]
mov rsi, rax
nop
mov rcx, qword [rdi]
mov r9, r12
mov rdx, rsi
add rdi, 8
mov r8, rcx
call fcn.14012f5a0
cmp rbx, rdi
jne 0x140145e20
mov rbx, r12
mov r12d, dword [rsp + 0x38]
mov rdx, rbx
mov esi, dword [rbx + 0x10]
mov ecx, r12d
call fcn.140053890
mov rdx, qword [rsp + 0x60]
mov rcx, rax
test esi, esi
je 0x140145efd
lea r8, [rax + 4]
mov rax, rdx
sub rax, r8
cmp rax, 8
jbe 0x14014606e
cmp esi, 1
je 0x14014606e
lea eax, [rsi - 1]
cmp eax, 2
jbe 0x1401460a6
mov r8d, esi
xor eax, eax
shr r8d, 2
shl r8, 4
nop word cs:[rax + rax]
movdqu xmm0, xmmword [rdx + rax]
movdqu xmm4, xmmword [rcx + rax]
pxor xmm0, xmm4
movups xmmword [rdx + rax], xmm0
add rax, 0x10
cmp r8, rax
jne 0x140145ea0
mov eax, esi
and eax, 0xfffffffc
test sil, 3
je 0x140145efd
sub esi, eax
cmp esi, 1
je 0x140145ef7
mov r9d, eax
lea r8, [rdx + r9*4]
movq xmm0, qword [rcx + r9*4]
movq xmm1, qword [r8]
pxor xmm0, xmm1
movq qword [r8], xmm0
mov r8d, esi
and r8d, 0xfffffffe
add eax, r8d
cmp esi, r8d
je 0x140145efd
mov ecx, dword [rcx + rax*4]
xor dword [rdx + rax*4], ecx
mov edi, dword [rbx + 0x10]
test edi, edi
je 0x140145fed
lea eax, [rdi - 1]
mov qword [rbp + 0x30], rbx
mov esi, edi
xor r8d, r8d
mov dword [rsp + 0x38], eax
mov eax, edi
and esi, 0xfffffffc
mov r12d, edi
shr eax, 2
mov qword [rsp + 0x28], r13
lea r9d, [rax - 1]
mov eax, edi
add r9, 1
and eax, 3
shl r9, 4
mov r13d, eax
nop dword [rax]
mov rdx, qword [r8 + r15]
mov rcx, qword [r14 + r8]
mov rax, rdx
lea r10, [rcx + 4]
sub rax, r10
cmp rax, 8
jbe 0x140146040
cmp edi, 1
je 0x140146040
cmp dword [rsp + 0x38], 2
jbe 0x14014605e
xor eax, eax
nop word [rax + rax]
movdqu xmm0, xmmword [rcx + rax]
movdqu xmm2, xmmword [rdx + rax]
pxor xmm0, xmm2
movups xmmword [rdx + rax], xmm0
add rax, 0x10
cmp r9, rax
jne 0x140145f78
cmp edi, esi
je 0x140145fd6
mov ebx, r13d
cmp r13d, 1
je 0x140146067
mov eax, esi
mov r11d, eax
lea r10, [rdx + r11*4]
movq xmm0, qword [rcx + r11*4]
movq xmm1, qword [r10]
pxor xmm0, xmm1
movq qword [r10], xmm0
mov r10d, ebx
and r10d, 0xfffffffe
add eax, r10d
cmp r10d, ebx
je 0x140145fd6
mov ecx, dword [rcx + rax*4]
xor dword [rdx + rax*4], ecx
add r8, 8
cmp r8, 0x18
jne 0x140145f40
mov rbx, qword [rbp + 0x30]
mov r13, qword [rsp + 0x28]
add dword [rsp + 0x30], 1
mov eax, dword [rsp + 0x30]
cmp dword [rbx], eax
jae 0x140145db0
mov rax, qword [rbp + 0x18]
mov rsi, r15
lea r12, [rax + 0x10]
lea rdi, [rax + 0x58]
mov rcx, qword [r12]
mov rdx, qword [rsi]
add r12, 0x18
add rsi, 8
mov r8d, dword [rbx + 0xc]
call sub.msvcrt.dll_memcpy
cmp rdi, r12
jne 0x14014600d
lea rsp, [rbp - 0x38]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
xor eax, eax
nop word [rax + rax]
mov r10d, dword [rcx + rax*4]
xor dword [rdx + rax*4], r10d
add rax, 1
cmp r12, rax
jne 0x140146048
jmp 0x140145fd6
mov ebx, edi
xor eax, eax
jmp 0x140145fa6
mov eax, esi
jmp 0x140145fd0
xor eax, eax
mov r8d, dword [rcx + rax*4]
xor dword [rdx + rax*4], r8d
add rax, 1
cmp rsi, rax
jne 0x140146070
jmp 0x140145efd
xor eax, eax
nop dword [rax + rax]
mov r10d, dword [rcx + rax*4]
xor dword [rdx + rax*4], r10d
add rax, 1
cmp rax, r12
jne 0x140146090
jmp 0x140145d76
xor eax, eax
jmp 0x140145ecd
mov ebx, edi
xor eax, eax
jmp 0x140145d46
mov eax, esi
jmp 0x140145d70
xor eax, eax
mov ecx, dword [r12 + rax*4]
xor dword [rdi + rax*4], ecx
add rax, 1
cmp rax, rdx
jne 0x1401460bf
jmp 0x140145c69
xor eax, eax
jmp 0x140145c3c