Function at 0x140006420
Capabilities:
Check for debugger via api
Get memory capacity

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x14001c040]
xor rax, rsp
mov qword [rbp + 0x90], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x140006744
xor edi, edi
mov dword [rsp + 0x30], edi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
test eax, eax
je 0x140006481
cmp dword [rsp + 0x30], edi
jne 0x140006744
movdqa xmm0, xmmword [0x1400156f0]
movdqu xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x20], xmm1
movups xmmword [rbp], xmm1
movups xmmword [rbp + 0x10], xmm1
movups xmmword [rbp + 0x20], xmm1
mov eax, 0x80000002
xor ecx, ecx
cpuid
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], ebx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x2c], edx
movups xmm0, xmmword [rsp + 0x20]
movaps xmmword [rbp - 0x50], xmm0
mov eax, 0x80000003
xor ecx, ecx
cpuid
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], ebx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x2c], edx
movups xmm0, xmmword [rsp + 0x20]
movaps xmmword [rbp - 0x30], xmm0
mov eax, 0x80000004
xor ecx, ecx
cpuid
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], ebx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x2c], edx
movups xmm0, xmmword [rsp + 0x20]
movaps xmmword [rbp - 0x10], xmm0
mov word [rbp + 0x2e], di
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movdqu xmmword [rsp + 0x48], xmm1
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], di
jne 0x140006530
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x38]
call fcn.140008d50
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x40], xmm1
lea r8d, [rax + 6]
lea rdx, str.VMware
lea rcx, [rbp - 0x50]
call fcn.140008d50
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x20], xmm1
mov r8d, 0xa
lea rdx, str.VirtualBox
lea rcx, [rbp - 0x30]
call fcn.140008d50
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp], xmm1
mov r8d, 3
lea rdx, [0x140014660]
lea rcx, [rbp - 0x10]
call fcn.140008d50
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x20], xmm1
mov r8d, send
lea rdx, str.Microsoft_Hyper_V
lea rcx, [rbp + 0x10]
call fcn.140008d50
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x40], xmm1
mov r8d, 4
lea rdx, str.VBOX
lea rcx, [rbp + 0x30]
call fcn.140008d50
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x60], xmm1
mov r8d, 3
lea rdx, [0x1400146a0]
lea rcx, [rbp + 0x50]
call fcn.140008d50
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x80], xmm1
mov r8d, 4
lea rdx, str.QEMU
lea rcx, [rbp + 0x70]
call fcn.140008d50
nop
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x90]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.140006d80
nop
lea r9, [fcn.140001cd0]
mov edx, 0x20
lea r8d, [rdx - 0x19]
lea rcx, [rbp - 0x50]
call fcn.140011378
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
cmp rbx, rdi
je 0x1400066cc
nop dword [rax]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140007680
cmp rax, 0xffffffffffffffff
jne 0x1400066fb
add rbx, 0x20
cmp rbx, rdi
jne 0x1400066b0
call fcn.140005d40
test al, al
jne 0x1400066fb
mov dword [rsp + 0x70], 0x40
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x14000676a
mov rax, qword [rsp + 0x78]
shr rax, 0x1e
cmp rax, 4
ja 0x14000676a
lea rcx, [rsp + 0x58]
call fcn.140007e10
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140006744
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14000673f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400067b8
call fcn.140011690
mov al, 1
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140011080
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.1400061d0
nop
lea rcx, [rsp + 0x58]
test al, al
jne 0x140006700
call fcn.140007e10
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x1400067c4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400067bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400067bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011690
xor al, al
jmp 0x140006746