Function at 0x140079af0
Capabilities:
Execute command
Get memory capacity
Manipulate boot configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x1401ce080]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov dword [rbp - 9], 0x40
lea rcx, [rbp - 9]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x140079d12
mov r8, qword [rbp - 1]
add r8, 0xffffffffffffffe4
lea r10, [rbp + 0x4c]
movabs r9, 0xcccccccccccccccd
nop
dec r10
mov rax, r9
mul r8
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8, rdx
test rdx, rdx
jne 0x140079b50
lea r9, [rbp - 0x59]
lea r8, [rbp + 0x4c]
mov rdx, r10
lea rcx, [rbp - 0x51]
call fcn.1400784b0
nop
mov r8, qword [rbp - 0x41]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
sub rax, r8
mov r14d, reloc.WLDAP32.dll_Ordinal_30
lea rsi, str.bcdedit.exe__set_removememory
cmp rax, r14
jb 0x140079c26
lea rax, [r8 + 0x1e]
mov qword [rbp - 0x41], rax
lea rbx, [rbp - 0x51]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x51]
lea rax, [0x1401afab6]
cmp rax, rbx
jbe 0x140079bea
lea rax, [rbx + r8]
cmp rsi, rax
ja 0x140079bea
cmp rbx, rsi
ja 0x140079be2
xor edi, edi
jmp 0x140079bed
mov rdi, rbx
sub rdi, rsi
jmp 0x140079bed
mov rdi, r14
lea rcx, [rbx + 0x1e]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
sub r14, rdi
lea rdx, [rsi + 0x1e]
add rdx, rdi
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x51]
jmp 0x140079c42
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp - 0x51]
call fcn.140083770
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x31], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x21], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x39]
cmp rdx, 0xf
jbe 0x140079cb1
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140079cac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140079cac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401045ac
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0xf
cmova rcx, qword [rbp - 0x31]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.shutdown__r
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x140079d35
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140079d0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140079d0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401045ac
jmp 0x140079d35
lea rdx, str.Failed_to_get_memory_status._But_thats_ok_i_got_1_more_plan_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140082c10
lea rdx, [0x140082df0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1401041f0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret