Function at 0x1400033f0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r12
sub rsp, 0x98
movups xmm0, xmmword [0x1400060f8]
movzx eax, byte [0x140006108]
xor ebp, ebp
cmp dword [section..data], 2
mov r12, rcx
movups xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x60], al
mov r8d, ebp
jl 0x14000356c
movdqa xmm0, xmmword [str.0000000000000000O]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x1400062c0]
movdqa xmm4, xmmword [0x140006320]
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm6
movdqa xmm6, xmmword [0x1400062e0]
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140006300]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140006300]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140003460
movaps xmm6, xmmword [rsp + 0x70]
cmp r8d, 0x11
jge 0x1400035b1
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop word [rax + rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x11
jl 0x140003580
test r12, r12
jne 0x1400035c6
lea eax, [r12 - 1]
add rsp, 0x98
pop r12
pop rbp
ret
mov ecx, dword [0x140007088]
mov edx, 0x20
mov rax, qword [0x140007050]
mov r8d, 0x1000
mov qword [rsp + 0xb8], rbx
mov qword [rsp + 0xc0], rsi
mov dword [rsp + 0xb0], ebp
lea r9d, [rdx - 0x1c]
mov r10d, dword [rax + rcx*4]
xor ecx, ecx
add r10, qword [0x140007080]
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x88], r14
mov r14, rbp
mov qword [rsp + 0x80], r15
call r10
mov rsi, rax
test rax, rax
je 0x140003936
mov ecx, dword [0x140007024]
mov r9d, 0x12
mov rax, qword [0x140007038]
xor r8d, r8d
xor edx, edx
mov r10d, dword [rax + rcx*4]
lea rcx, [rsp + 0x50]
add r10, qword [0x140007060]
call r10
mov rdi, rax
test rax, rax
je 0x1400038c4
mov ecx, dword [0x14000709c]
lea r8, [rsp + 0x50]
mov rax, qword [0x140007038]
xor r9d, r9d
mov dword [rsi], 0x20
xor edx, edx
mov ebx, ebp
mov qword [rsp + 0x20], rsi
mov r10d, dword [rax + rcx*4]
mov rcx, rdi
add r10, qword [0x140007060]
call r10
test al, al
je 0x1400038c4
mov ecx, dword [0x14000709c]
lea r8, [rsp + 0x50]
mov rax, qword [0x140007038]
mov r15d, ebx
inc ebx
mov qword [rsp + 0x20], rsi
mov r9d, ebx
xor edx, edx
mov r10d, dword [rax + rcx*4]
mov rcx, rdi
add r10, qword [0x140007060]
call r10
test al, al
jne 0x1400036a4
test ebx, ebx
je 0x1400038c4
mov ecx, dword [0x14000709c]
lea r8, [rsp + 0x50]
mov rax, qword [0x140007038]
mov r9d, r15d
xor edx, edx
mov qword [rsp + 0x20], rsi
mov r10d, dword [rax + rcx*4]
mov rcx, rdi
add r10, qword [0x140007060]
call r10
mov ecx, dword [0x140007020]
xor r9d, r9d
mov rax, qword [0x140007038]
xor r8d, r8d
mov qword [rsp + 0x28], rbp
mov rdx, rsi
mov r10d, dword [rax + rcx*4]
lea rax, [rsp + 0xb0]
add r10, qword [0x140007060]
mov rcx, rdi
mov qword [rsp + 0x20], rax
call r10
mov ecx, dword [0x140007088]
mov r8d, 0x1000
mov rax, qword [0x140007050]
mov ebx, dword [rsp + 0xb0]
mov edx, ebx
mov r10d, dword [rax + rcx*4]
xor ecx, ecx
add r10, qword [0x140007080]
lea r9d, [rcx + 4]
call r10
mov r14, rax
test rax, rax
je 0x1400038c4
mov ecx, dword [0x140007020]
mov r9d, ebx
mov dword [rax], 8
mov r8, r14
mov rax, qword [0x140007038]
mov rdx, rsi
mov qword [rsp + 0x28], rbp
mov r10d, dword [rax + rcx*4]
lea rax, [rsp + 0xb0]
add r10, qword [0x140007060]
mov rcx, rdi
mov qword [rsp + 0x20], rax
call r10
test al, al
je 0x1400038c4
mov ecx, dword [0x1400070a0]
mov rax, qword [0x140007038]
mov edx, dword [rax + rcx*4]
mov rcx, rdi
add rdx, qword [0x140007060]
call rdx
mov ecx, dword [0x140007078]
xor r9d, r9d
mov rax, qword [0x140007050]
mov edx, 0xc0000000
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x40000080
lea r8d, [r9 + 3]
mov dword [rsp + 0x20], 3
mov r10d, dword [rax + rcx*4]
lea rcx, [r14 + 4]
add r10, qword [0x140007080]
call r10
mov qword [r12], rax
test eax, eax
js 0x14000384d
mov ecx, dword [0x14000706c]
mov rax, qword [0x140007050]
mov edx, dword [rax + rcx*4]
add rdx, qword [0x140007080]
call rdx
cmp eax, 2
jne 0x140003892
mov r9d, dword [0x140007078]
lea rcx, [r14 + 4]
mov rax, qword [0x140007050]
mov edx, 0xc0000000
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x40000080
mov dword [rsp + 0x20], 1
mov r10d, dword [rax + r9*4]
xor r9d, r9d
add r10, qword [0x140007080]
lea r8d, [r9 + 3]
call r10
mov qword [r12], rax
mov edx, dword [0x140007098]
mov r8d, 0x8000
mov rcx, qword [0x140007050]
mov r9d, dword [rcx + rdx*4]
xor edx, edx
add r9, qword [0x140007080]
mov rcx, r14
call r9
cmp dword [r12], ebp
setge bpl
mov eax, ebp
jmp 0x14000393b
mov ecx, dword [0x140007098]
xor edx, edx
mov rax, qword [0x140007050]
mov r8d, 0x8000
mov r9d, dword [rax + rcx*4]
mov rcx, rsi
add r9, qword [0x140007080]
call r9
test r14, r14
je 0x140003915
mov ecx, dword [0x140007098]
xor edx, edx
mov rax, qword [0x140007050]
mov r8d, 0x8000
mov r9d, dword [rax + rcx*4]
mov rcx, r14
add r9, qword [0x140007080]
call r9
test rdi, rdi
je 0x140003936
mov ecx, dword [0x1400070a0]
mov rax, qword [0x140007038]
mov edx, dword [rax + rcx*4]
mov rcx, rdi
add rdx, qword [0x140007060]
call rdx
mov eax, 0xffffffff
mov r14, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xb8]
mov r15, qword [rsp + 0x80]
add rsp, 0x98
pop r12
pop rbp
ret