Function at 0x140148c70
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 0x140148d18
mov rbx, rsi
mov rsi, r15
mov r15, rdi
mov rdi, qword [rsp + 0x30]
mov edx, dword [rbx + 0x10]
test edx, edx
je 0x140148df9
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 0x14014924d
cmp edx, 1
je 0x14014924d
lea eax, [rdx - 1]
cmp eax, 2
jbe 0x140149264
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 0x140148d9f
mov eax, edx
and eax, 0xfffffffc
test dl, 3
je 0x140148df9
sub edx, eax
cmp edx, 1
je 0x140148df2
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 0x140148df9
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.14004be10
mov rsi, rax
mov rcx, qword [r13 + rdi]
mov r8, qword [r14 + rdi]
mov r9, rbx
mov rdx, rsi
add rdi, 8
call fcn.140132730
cmp rdi, 0x18
jne 0x140148e10
mov edi, dword [rbx + 0x10]
test edi, edi
je 0x140148f1d
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 0x140149216
cmp edi, 1
je 0x140149216
cmp dword [rsp + 0x38], 2
jbe 0x14014923d
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 0x140148ea8
cmp edi, esi
je 0x140148f06
mov ebx, r13d
cmp r13d, 1
je 0x140149246
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 0x140148f06
mov ecx, dword [rcx + rax*4]
xor dword [rdx + rax*4], ecx
add r8, 8
cmp r8, 0x18
jne 0x140148e70
mov rbx, qword [rbp + 0x30]
mov r13, qword [rsp + 0x30]
mov eax, dword [rbx]
test eax, eax
je 0x14014918e
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.14004be10
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.140132730
cmp rdi, 0x18
jne 0x140148f58
mov r8, qword [rbp + 0x18]
mov rdx, qword [rbp + 0x10]
mov r9, rbx
mov rcx, r15
mov rdi, r15
call fcn.140149b50
mov eax, dword [rsp + 0x30]
mov rdx, rbx
lea r12d, [rax - 1]
mov ecx, r12d
call fcn.14004f710
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.140132730
cmp rbx, rdi
jne 0x140148fb0
mov rbx, r12
mov r12d, dword [rsp + 0x38]
mov rdx, rbx
mov esi, dword [rbx + 0x10]
mov ecx, r12d
call fcn.140052b20
mov rdx, qword [rsp + 0x60]
mov rcx, rax
test esi, esi
je 0x14014908d
lea r8, [rax + 4]
mov rax, rdx
sub rax, r8
cmp rax, 8
jbe 0x1401491fe
cmp esi, 1
je 0x1401491fe
lea eax, [rsi - 1]
cmp eax, 2
jbe 0x140149236
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 0x140149030
mov eax, esi
and eax, 0xfffffffc
test sil, 3
je 0x14014908d
sub esi, eax
cmp esi, 1
je 0x140149087
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 0x14014908d
mov ecx, dword [rcx + rax*4]
xor dword [rdx + rax*4], ecx
mov edi, dword [rbx + 0x10]
test edi, edi
je 0x14014917d
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 0x1401491d0
cmp edi, 1
je 0x1401491d0
cmp dword [rsp + 0x38], 2
jbe 0x1401491ee
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 0x140149108
cmp edi, esi
je 0x140149166
mov ebx, r13d
cmp r13d, 1
je 0x1401491f7
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 0x140149166
mov ecx, dword [rcx + rax*4]
xor dword [rdx + rax*4], ecx
add r8, 8
cmp r8, 0x18
jne 0x1401490d0
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 0x140148f40
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 0x14014919d
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 0x1401491d8
jmp 0x140149166
mov ebx, edi
xor eax, eax
jmp 0x140149136
mov eax, esi
jmp 0x140149160
xor eax, eax
mov r8d, dword [rcx + rax*4]
xor dword [rdx + rax*4], r8d
add rax, 1
cmp rsi, rax
jne 0x140149200
jmp 0x14014908d
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 0x140149220
jmp 0x140148f06
xor eax, eax
jmp 0x14014905d
mov ebx, edi
xor eax, eax
jmp 0x140148ed6
mov eax, esi
jmp 0x140148f00
xor eax, eax
mov ecx, dword [r12 + rax*4]
xor dword [rdi + rax*4], ecx
add rax, 1
cmp rax, rdx
jne 0x14014924f
jmp 0x140148df9
xor eax, eax
jmp 0x140148dcc