Function at 0x140011420
Capabilities:
Check for peb beingdebugged flag
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x78
mov qword [rax + 0x20], r14
xor ebx, ebx
mov r14, qword gs:[0x60]
cmp byte [r14 + 2], bl
jne 0x140011542
mov r14, qword [r14 + 0x18]
add r14, 0x20
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
mov esi, ebx
mov rdi, qword [r14]
cmp rdi, r14
je 0x14001152c
mov qword [rax + 0x18], r12
movabs r12, 0x92944107c64cdbbc
mov qword [rax - 0x18], r15
lea r15, [0x140017700]
nop dword [rax]
cmp qword [rdi + 0x20], rbx
lea rsi, [rdi - 0x10]
je 0x140011513
mov rdx, qword [rsi + 0x60]
mov rcx, rbx
cmp word [rdx], cx
je 0x1400114b7
nop word [rax + rax]
cmp rcx, 0x3f
jae 0x1400114b7
movzx eax, byte [rdx + rcx*2]
mov byte [rcx + r15], al
inc rcx
cmp word [rdx + rcx*2], bx
jne 0x1400114a0
mov byte [rcx + r15], bl
mov rdx, rbx
nop
movsx eax, byte [rdx + r15]
test al, al
je 0x1400114e9
lea ecx, [rax - 0x41]
cmp cx, 0x3e
ja 0x1400114dc
cmp ax, 0x5a
ja 0x1400114dc
add ax, 0x20
mov byte [rdx + r15], al
inc rdx
cmp rdx, 0x40
jl 0x1400114c0
mov ecx, ebx
mov rax, r15
cmp byte [0x140017700], cl
je 0x140011500
inc ecx
lea rax, [rax + 1]
cmp byte [rax], bl
jne 0x1400114f6
movsxd rdx, ecx
xor r8d, r8d
mov rcx, r15
call fcn.140011b60
cmp rax, r12
je 0x14001151f
mov rdi, qword [rdi]
cmp rdi, r14
jne 0x140011480
mov r12, qword [rsp + 0xa0]
mov r15, qword [rsp + 0x70]
mov rcx, qword [rsi + 0x30]
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x98]
jmp 0x140011545
mov rcx, rbx
movabs rdx, 0x1795a0194a21bd05
mov qword [0x140017740], rcx
call fcn.140011980
mov rcx, qword [0x140017740]
movabs rdx, 0x84a6da46bb9ddae2
mov qword [0x1400177c8], rax
call fcn.140011980
mov rcx, qword [0x140017740]
movabs rdx, 0xf7fcc045b4974171
mov qword [0x140017790], rax
call fcn.140011980
mov rcx, qword [0x140017740]
movabs rdx, 0xdc16e915c9db62ae
mov qword [0x140017780], rax
call fcn.140011980
mov rcx, qword [0x140017740]
movabs rdx, 0x2e91c7e3f8f77cb0
mov qword [0x1400177b8], rax
call fcn.140011980
mov rcx, qword [0x140017740]
movabs rdx, 0x292a3ec9f90fd6d7
mov qword [0x1400177c0], rax
call fcn.140011980
cmp byte [0x140010da9], 0
lea rdx, [rbp - 0x46]
movsd xmm0, qword [0x140010da0]
mov r8, qword [0x140017790]
mov r14, qword [rsp + 0xa8]
mov rcx, qword [0x140017740]
mov qword [0x140017798], rax
movzx eax, word [0x140010da8]
mov word [rbp - 0x3e], ax
movsd qword [rbp - 0x46], xmm0
je 0x140011656
xor byte [rbp - 0x45], 0x32
xor byte [rbp - 0x44], 0x33
xor byte [rbp - 0x43], 0x34
xor byte [rbp - 0x42], 0x35
xor byte [rbp - 0x41], 0x36
xor byte [rbp - 0x40], 0x37
xor byte [rbp - 0x3f], 0x38
xor byte [rbp - 0x3e], 0x39
xor byte [rbp - 0x3d], 0x3a
mov byte [rbp - 0x46], 0x48
call r8
movzx ecx, byte [0x140010db8]
lea rdx, [rbp - 0x58]
movsd xmm0, qword [0x140010db0]
xor cl, 0x39
mov r8, qword [0x140017790]
movsd qword [rbp - 0x58], xmm0
xor byte [rbp - 0x57], 0x32
xor byte [rbp - 0x56], 0x33
xor byte [rbp - 0x55], 0x34
xor byte [rbp - 0x54], 0x35
xor byte [rbp - 0x53], 0x36
xor byte [rbp - 0x52], 0x37
xor byte [rbp - 0x51], 0x38
mov byte [rbp - 0x50], cl
mov rcx, qword [0x140017740]
mov qword [0x1400177a0], rax
mov byte [rbp - 0x58], 0x48
call r8
movsd xmm0, qword [0x140010dc0]
lea rdx, [rbp - 0x4f]
mov r8, qword [0x140017790]
mov rcx, qword [0x140017740]
movsd qword [rbp - 0x4f], xmm0
xor byte [rbp - 0x4e], 0x32
xor byte [rbp - 0x4d], 0x33
xor byte [rbp - 0x4c], 0x34
xor byte [rbp - 0x4b], 0x35
xor byte [rbp - 0x4a], 0x36
xor byte [rbp - 0x49], 0x37
xor byte [rbp - 0x48], 0x38
mov qword [0x1400177a8], rax
movzx eax, byte [0x140010dc8]
xor al, 0x39
mov byte [rbp - 0x4f], 0x48
mov byte [rbp - 0x47], al
call r8
mov rcx, qword [0x140017740]
movabs rdx, 0x9e9f947a0fb72fa2
mov qword [0x1400177b0], rax
call fcn.140011980
mov rcx, qword [0x140017740]
movabs rdx, 0x758d58895da0cea1
mov qword [0x140017778], rax
call fcn.140011980
mov rcx, qword [0x140017740]
movabs rdx, 0x3b2865458e425c8e
mov qword [0x140017788], rax
call fcn.140011980
mov rcx, qword [0x140017740]
movabs rdx, 0xacc6d95622472a75
mov qword [0x140017750], rax
call fcn.140011980
mov rcx, qword [0x140017740]
movabs rdx, 0x34bcf9b47b0952a8
mov qword [0x140017758], rax
call fcn.140011980
mov rcx, qword [0x140017740]
movabs rdx, 0x25d464f3abb50bc3
mov qword [0x140017760], rax
call fcn.140011980
mov rcx, qword [0x140017740]
movabs rdx, 0xbd52766bb0506f59
mov qword [0x140017768], rax
call fcn.140011980
cmp word [0x140010de6], 0
movups xmm3, xmmword [0x140010dd0]
mov r9, qword [0x140017778]
movsd xmm0, qword [0x140010de0]
movups xmmword [rbp - 0x3c], xmm3
mov qword [0x140017770], rax
movsd qword [rbp - 0x2c], xmm0
je 0x140011951
cmp dword [0x1400177d8], 2
jl 0x140011906
movdqa xmm2, xmmword [0x140010df0]
mov eax, 4
movdqa xmm4, xmmword [0x140010e30]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov ebx, 8
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movaps xmmword [rsp + 0x60], xmm6
movd xmm6, eax
mov eax, 0x1f
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movd xmm5, eax
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140010e10]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movq xmm1, xmm3
movdqa xmm3, xmmword [0x140010e00]
paddw xmm2, xmmword [0x140010e20]
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movq qword [rbp - 0x3c], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movaps xmm6, xmmword [rsp + 0x60]
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140010e10]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp - 0x34]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x140010e20]
xorps xmm2, xmm0
movq qword [rbp - 0x34], xmm2
movsxd rax, ebx
lea r8, [rbp - 0x3c]
lea r8, [r8 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
lea r8, [r8 + 2]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x32
movzx eax, bx
inc ebx
sub ax, cx
add ax, 0x31
xor word [r8 - 2], ax
cmp ebx, 0xc
jl 0x140011920
lea rcx, [rbp - 0x3c]
call r9
mov qword [0x140017748], rax
call qword [0x1400177c8]
mov qword [0x1400177d0], rax
add rsp, 0x78
pop rbx
pop rbp
ret