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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r14
push rbp
lea rbp, [rsp - 0x350]
sub rsp, 0x450
mov rax, qword [0x140018040]
xor rax, rsp
mov qword [rbp + 0x340], rax
xor r14d, r14d
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x140005bb6
mov dword [rsp + 0x4c], r14d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
test eax, eax
je 0x140005949
cmp dword [rsp + 0x4c], r14d
jne 0x140005bb6
movdqa xmm0, xmmword [0x140011e30]
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rbp + 0x330], r14
mov qword [rbp + 0x338], r14
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 + 0x300], 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 + 0x310], 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 + 0x320], xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x50], xmm1
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
lea rax, [rbp + 0x300]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r14b
jne 0x1400059f3
lea rdx, [rbp + 0x300]
lea rcx, [rsp + 0x50]
call fcn.1400089c0
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
lea rdx, [0x1400113b8]
lea rcx, [rbp - 0x50]
call fcn.1400011e0
nop
lea rdx, [0x1400113c0]
lea rcx, [rbp - 0x30]
call fcn.1400011e0
nop
lea rdx, [0x140011308]
lea rcx, [rbp - 0x10]
call fcn.1400011e0
nop
lea rdx, [0x140011338]
lea rcx, [rbp + 0x10]
call fcn.1400011e0
nop
lea rdx, [0x14001130c]
lea rcx, [rbp + 0x30]
call fcn.1400011e0
nop
lea rdx, [0x1400113b4]
lea rcx, [rbp + 0x50]
call fcn.1400011e0
nop
lea rdx, [0x14001134c]
lea rcx, [rbp + 0x70]
call fcn.1400011e0
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 + 0x30]
call fcn.140006510
nop
lea r9, [fcn.140006fd0]
mov edx, 0x20
lea r8d, [rdx - 0x19]
lea rcx, [rbp - 0x50]
call fcn.14000dff8
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
cmp rbx, rdi
je 0x140005afd
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140006ee0
cmp rax, 0xffffffffffffffff
jne 0x140005b1b
add rbx, 0x20
cmp rbx, rdi
jne 0x140005ae1
call fcn.140005210
test al, al
je 0x140005be0
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140005b79
mov rdx, qword [rsp + 0x38]
jmp 0x140005b2b
cmp qword [rsp + 0x30], 0
je 0x140005b79
mov rdx, rdi
mov rcx, qword [rsp + 0x30]
call fcn.140008b50
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
mov rax, rcx
jb 0x140005b66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005cd7
call fcn.14000e310
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140005bb6
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005bb1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005dca
call fcn.14000e310
mov al, 1
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.14000dd00
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov dword [rsp + 0x70], 0x40
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x140005c0a
mov rax, qword [rsp + 0x78]
shr rax, 0x1e
cmp rax, 4
jbe 0x140005b0a
call fcn.140005680
test al, al
jne 0x140005b0a
mov dword [rsp + 0x48], r14d
lea r9, [rsp + 0x48]
lea r8, [0x1400058d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayMonitors]
cmp dword [rsp + 0x48], 0
jle 0x140005b0a
mov dword [rbp - 0x50], 0x348
mov ebx, r14d
xor r9d, r9d
lea r8, [rbp - 0x50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayDevicesW]
test eax, eax
je 0x140005c85
nop dword [rax]
mov eax, dword [rbp + 0xf4]
test al, 1
je 0x140005c6e
test al, 4
jne 0x140005cde
inc ebx
xor r9d, r9d
lea r8, [rbp - 0x50]
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayDevicesW]
test eax, eax
jne 0x140005c60
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140005d8a
mov rdx, qword [rsp + 0x38]
call fcn.140008b50
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005d77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005d77
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140005d37
mov rdx, qword [rsp + 0x38]
call fcn.140008b50
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005d24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005cd7
call fcn.14000e310
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140005d70
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005d6b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005dca
call fcn.14000e310
xor al, al
jmp 0x140005bb8
call fcn.14000e310
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140005bb6
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005bb1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005bb1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3