Function at 0x140079f10
Capabilities:
Get memory capacity

Disassembly:
push rbp
push rbx
push rsi
push r13
push r14
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x1401114a8]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov qword [rcx + 0x48], rdx
mov r14, rcx
xor r13d, r13d
mov dword [rbp + 0x190], 0x11c
xor edx, edx
mov dword [rsp + 0x40], r13d
lea rcx, [rbp + 0x194]
mov r8d, 0x118
mov esi, r13d
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x140079fc1
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
lea r9d, [r13 + 0x67]
lea r8, str..._.._.._snapshot_win_system_snapshot_win.cc
mov dword [rsp + 0x20], 1
lea rdx, str.void___cdecl_crashpad::internal::SystemSnapshotWin::Initialize_class_crashpad::ProcessReaderWin__
lea rcx, [rsp + 0x48]
call fcn.14002db60
mov rcx, rax
lea rdx, str.GetVersionEx
call fcn.140009610
lea rcx, [rsp + 0x48]
call fcn.14002df10
jmp 0x140079fcf
cmp byte [rbp + 0x2aa], 1
setne al
mov byte [r14 + 0x5c], al
mov qword [rbp + 0xa8], r13
lea rdx, str.kernel32.dll
mov qword [rbp + 0xb8], r13
mov r8, 0xffffffffffffffff
mov qword [rbp + 0xc0], 7
inc r8
cmp word [rdx + r8*2], r13w
jne 0x140079ff6
lea rcx, [rbp + 0xa8]
call fcn.140020a60
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0x108]
call fcn.14002c2f0
mov rcx, rax
lea rdx, [rbp + 0x50]
call fcn.140040b20
lea rcx, [rbp + 0x108]
movzx ebx, al
call fcn.14002c3c0
mov rdx, qword [rbp + 0xc0]
cmp rdx, 8
jb 0x14007a083
mov rcx, qword [rbp + 0xa8]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007a07e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007a07e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d4a4c
mov qword [rsp + 0x400], r12
mov qword [rsp + 0x408], r15
test bl, bl
je 0x14007a5ab
mov edx, dword [rbp + 0x6c]
lea rcx, [rbp + 0xa8]
call fcn.140079c60
mov eax, dword [rbp + 0x70]
and eax, 0x40004
mov qword [rbp + 0xa0], 0xf
cmp eax, 0x40004
jne 0x14007a0f6
movsd xmm0, qword [str.Windows_NT]
movzx eax, word [0x1400ecd00]
movsd qword [rbp + 0x88], xmm0
mov word [rbp + 0x90], ax
mov qword [rbp + 0x98], 0xa
mov byte [rbp + 0x92], r13b
jmp 0x14007a136
mov eax, dword [str.Unknown]
mov qword [rbp + 0x88], r13
mov dword [rbp + 0x88], eax
movzx eax, word [0x1400ecd0c]
mov word [rbp + 0x8c], ax
movzx eax, byte [0x1400ecd0e]
mov byte [rbp + 0x8e], al
mov qword [rbp + 0x98], 7
mov byte [rbp + 0x8f], r13b
mov ecx, dword [rbp + 0x58]
lea rdx, [0x1400ecda4]
mov eax, ecx
lea r12, [r14 + 0x28]
shr eax, 0x10
mov dword [r14 + 0x50], eax
movzx eax, cx
mov ecx, dword [rbp + 0x5c]
mov dword [r14 + 0x54], eax
mov eax, ecx
shr eax, 0x10
movzx r8d, cx
lea rcx, [rbp + 0x108]
mov dword [r14 + 0x58], eax
call fcn.14002eac0
mov rdx, rax
mov rcx, r12
call fcn.1400110d0
mov rdx, qword [rbp + 0x120]
cmp rdx, 0x10
jb 0x14007a1bf
mov rcx, qword [rbp + 0x108]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007a1ba
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007a1ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d4a4c
mov r15, qword [rbp + 0xc0]
mov rbx, qword [rbp + 0xa8]
mov qword [rsp + 0x3f8], rdi
mov rdi, qword [rbp + 0xb8]
test rdi, rdi
jne 0x14007a1ed
lea rax, [0x1400dd1f8]
jmp 0x14007a353
cmp r15, 0x10
mov qword [rbp + 0xe8], r13
lea r9, [rbp + 0xa8]
mov qword [rbp + 0x100], 0xf
cmovae r9, rbx
mov qword [rbp + 0xf8], 2
mov byte [rbp + 0xea], r13b
mov eax, 0x2820
mov word [rbp + 0xe8], ax
cmp rdi, 0xd
ja 0x14007a260
lea rax, [rdi + 2]
mov r8, rdi
mov rdx, r9
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 0xea]
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbp + 0xe8]
mov byte [rbp + rdi + 0xea], r13b
jmp 0x14007a285
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rbp + 0xe8]
call fcn.140017c20
mov r15, qword [rbp + 0xc0]
mov rbx, qword [rbp + 0xa8]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd8], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], r13b
mov rdx, qword [rbp + 0xe0]
mov rcx, qword [rbp + 0xd8]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x14007a2f0
lea rax, [rcx + 1]
cmp rdx, 0x10
mov qword [rbp + 0xd8], rax
lea rax, [rbp + 0xc8]
cmovae rax, qword [rbp + 0xc8]
mov word [rax + rcx], 0x29
lea rax, [rbp + 0xc8]
jmp 0x14007a313
xor r8d, r8d
mov qword [rsp + 0x20], 1
lea r9, [0x1400de578]
lea rcx, [rbp + 0xc8]
lea edx, [r8 + 1]
call fcn.140017c20
movups xmm0, xmmword [rax]
mov esi, 0xe
movups xmmword [rbp + 0x128], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x138], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], r13b
lea rax, [rbp + 0x128]
cmp qword [rbp + 0x140], 0x10
cmovae rax, qword [rbp + 0x128]
cmp qword [r12 + 0x18], 0x10
mov rdi, qword [rsp + 0x3f8]
jb 0x14007a367
mov r12, qword [r12]
cmp qword [rbp + 0xa0], 0x10
lea r8, [rbp + 0x88]
mov r9d, dword [r14 + 0x50]
lea rdx, str._s__u._u._u._s_s
cmovae r8, qword [rbp + 0x88]
lea rcx, [rbp + 0x108]
mov qword [rsp + 0x38], rax
mov eax, dword [r14 + 0x58]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], eax
mov eax, dword [r14 + 0x54]
mov dword [rsp + 0x20], eax
call fcn.14002eac0
mov rdx, rax
lea rcx, [r14 + 8]
call fcn.1400110d0
mov rdx, qword [rbp + 0x120]
cmp rdx, 0x10
jb 0x14007a3fc
mov rcx, qword [rbp + 0x108]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007a3f7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007a50f
call fcn.1400d4a4c
mov qword [rbp + 0x118], r13
mov qword [rbp + 0x120], 0xf
mov byte [rbp + 0x108], r13b
test sil, 8
je 0x14007a475
mov rdx, qword [rbp + 0x140]
cmp rdx, 0x10
jb 0x14007a45c
mov rcx, qword [rbp + 0x128]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007a457
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007a50f
call fcn.1400d4a4c
mov qword [rbp + 0x138], r13
mov qword [rbp + 0x140], 0xf
mov byte [rbp + 0x128], r13b
test sil, 4
je 0x14007a4d1
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0x10
jb 0x14007a4b8
mov rcx, qword [rbp + 0xc8]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007a4b3
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007a50f
call fcn.1400d4a4c
mov qword [rbp + 0xd8], r13
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], r13b
test sil, 2
je 0x14007a51b
mov rdx, qword [rbp + 0x100]
cmp rdx, 0x10
jb 0x14007a51b
mov rcx, qword [rbp + 0xe8]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007a516
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007a516
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d4a4c
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0x10
jb 0x14007a558
mov rcx, qword [rbp + 0x88]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007a553
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007a59c
call fcn.1400d4a4c
mov qword [rbp + 0x98], r13
mov qword [rbp + 0xa0], 0xf
mov byte [rbp + 0x88], r13b
cmp r15, 0x10
jb 0x14007a5ab
lea rdx, [r15 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14007a5a3
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007a5a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400d4a4c
lea rcx, [rbp + 0x150]
mov dword [rbp + 0x150], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x14007a642
mov rcx, qword [rbp + 0x158]
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm1, qword [0x1401110d0]
test rcx, rcx
js 0x14007a5e8
cvtsi2sd xmm0, rcx
jmp 0x14007a5fd
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
mov rcx, qword [rbp + 0x160]
divsd xmm0, xmm1
cvttsd2si edx, xmm0
xorps xmm0, xmm0
mov dword [r14 + 0x64], edx
test rcx, rcx
js 0x14007a61f
cvtsi2sd xmm0, rcx
jmp 0x14007a634
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
divsd xmm0, xmm1
cvttsd2si eax, xmm0
sub edx, eax
mov dword [r14 + 0x60], edx
mov r12, qword [rsp + 0x400]
mov r15, qword [rsp + 0x408]
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.1400d4b20
add rsp, 0x3c0
pop r14
pop r13
pop rsi
pop rbx
pop rbp
ret