Function at 0x14003d970
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x1400f9440]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rcx
mov qword [rbp + 0x1f], rcx
xor edi, edi
mov dword [rbp - 9], edi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
mov dword [rbp - 9], 1
cmp edx, 1
jle 0x14003da8d
mov rdx, qword [r8 + 8]
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x14003d9e0
mov r8, rbx
lea rcx, [rbp - 0x29]
call fcn.140039be0
nop
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x14003da1f
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rdx + 0x10], xmm1
mov eax, 0xf
mov byte [rbp - 0x29], 0
add qword [rsi + 8], 0x20
jmp 0x14003da2f
lea r8, [rbp - 0x29]
mov rcx, rsi
call fcn.140045f80
mov rax, qword [rbp - 0x11]
cmp rax, 0xf
jbe 0x14003da67
lea rdx, [rax + 1]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003da62
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003df75
call fcn.14008a258
mov rax, rsi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140089c40
mov rbx, qword [rsp + 0xc8]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
movsd xmm0, qword [0x1400e0af8]
movsd qword [rbp - 0x39], xmm0
mov eax, dword [0x1400e0b00]
mov dword [rbp - 0x31], eax
movzx eax, word [0x1400e0b04]
mov word [rbp - 0x2d], ax
movzx eax, byte [0x1400e0b06]
mov byte [rbp - 0x2b], al
mov r8d, edi
mov r15d, dword [0x1400f9488]
cmp r15d, 2
jl 0x14003dbaf
movdqa xmm3, xmmword [0x1400e4ac0]
movdqa xmm2, xmmword [0x1400e4980]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e49d0]
psubd xmm2, xmm0
andps xmm2, xmmword [0x1400e4a60]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400e4ab0]
movd xmm0, dword [0x1400e0af8]
xorps xmm2, xmm0
movd dword [rbp - 0x39], xmm2
movdqa xmm2, xmmword [0x1400e4990]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e49d0]
psubd xmm2, xmm0
andps xmm2, xmmword [0x1400e4a60]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400e4ab0]
movd xmm0, dword [rbp - 0x35]
xorps xmm2, xmm0
movd dword [rbp - 0x35], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x39]
add r9, rax
nop dword [rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xf
jl 0x14003dbc0
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
lea rax, [rbp - 0x39]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14003dc10
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 1]
call fcn.140039be0
nop
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x29]
call fcn.1400449a0
lea rcx, [rbp - 0x29]
cmp qword [rbp - 0x11], 7
cmova rcx, qword [rbp - 0x29]
lea rdx, [rbp + 0x27]
call fcn.140088908
cmp eax, 8
je 0x14003dc5b
cmp eax, 0xffffffff
je 0x14003dc5b
mov r14b, 1
jmp 0x14003dc5e
xor r14b, r14b
mov rdx, qword [rbp - 0x11]
cmp rdx, 7
jbe 0x14003dc9f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003dc99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003df7b
call fcn.14008a258
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x14003dcda
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003dcd5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003df6f
call fcn.14008a258
test r14b, r14b
je 0x14003dea8
movsd xmm0, qword [0x1400e0af8]
movsd qword [rbp - 0x39], xmm0
mov eax, dword [0x1400e0b00]
mov dword [rbp - 0x31], eax
movzx eax, word [0x1400e0b04]
mov word [rbp - 0x2d], ax
movzx eax, byte [0x1400e0b06]
mov byte [rbp - 0x2b], al
cmp r15d, 2
jl 0x14003de00
movdqa xmm4, xmmword [0x1400e4ac0]
movdqa xmm3, xmmword [0x1400e4980]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e49d0]
psubd xmm3, xmm0
andps xmm3, xmmword [0x1400e4a60]
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov eax, dword [0x1400e4ab0]
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [0x1400e0af8]
xorps xmm3, xmm0
movd dword [rbp - 0x39], xmm3
movdqa xmm2, xmmword [0x1400e4990]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e49d0]
psubd xmm2, xmm0
andps xmm2, xmmword [0x1400e4a60]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x35]
xorps xmm2, xmm1
movd dword [rbp - 0x35], xmm2
mov edi, 8
movsxd rax, edi
lea r8, [rbp - 0x39]
add r8, rax
nop word [rax + rax]
mov eax, 0x4bda12f7
imul edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, dil
sub al, cl
add al, 0x33
xor byte [r8], al
inc edi
lea r8, [r8 + 1]
cmp edi, 0xf
jl 0x14003de10
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
lea rax, [rbp - 0x39]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14003de50
mov r8, rbx
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x29]
call fcn.140039be0
nop
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x14003de93
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rdx + 0x10], xmm1
mov eax, 0xf
mov byte [rbp - 0x29], 0
add qword [rsi + 8], 0x20
jmp 0x14003dea3
lea r8, [rbp - 0x29]
mov rcx, rsi
call fcn.140045f80
mov rax, qword [rbp - 0x11]
jmp 0x14003da2f
movzx eax, word [0x1400e0f98]
mov word [rbp + 0x27], ax
movzx eax, byte [0x1400e0f9a]
mov byte [rbp + 0x27], 0x2e
xor byte [rbp + 0x28], 0x34
xor al, 0x35
mov byte [rbp + 0x29], al
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
lea rax, [rbp + 0x27]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14003dee0
mov r8, rbx
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x29]
call fcn.140039be0
nop
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x14003df23
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rdx + 0x10], xmm1
mov eax, 0xf
mov byte [rbp - 0x29], 0
add qword [rsi + 8], 0x20
jmp 0x14003df33
lea r8, [rbp - 0x29]
mov rcx, rsi
call fcn.140045f80
mov rax, qword [rbp - 0x11]
cmp rax, 0xf
jbe 0x14003da67
lea rdx, [rax + 1]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003da62
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003df75
jmp 0x14003da62
call fcn.14009965c
int3
call fcn.14009965c
nop
call fcn.14009965c
int3