Function at 0x140097c00
Capabilities:
Get memory capacity

Disassembly:
mov dword [rsp + 0x18], r8d
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rbx
push r14
sub rsp, 0xa8
mov rax, qword [0x1401761c0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xc0]
mov r14, qword [rax + 0xb0]
mov rbx, qword [r14 + 0x20]
test rbx, rbx
je 0x140097ca6
xorps xmm0, xmm0
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x30], 0x40
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x140097c79
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x60]
jmp 0x140097c8d
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140097cad
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x20]
cmp rcx, 0x6000000
jbe 0x140097cad
cmp rax, 0x4000000
jbe 0x140097cad
add qword [r14 + 0x28], 0x1000000
xor eax, eax
jmp 0x140097fe9
mov rcx, 0xffffffffffffffff
mov qword [rsp + 0x80], r15
mov eax, 8
mul rbx
lea rdx, [0x140133c10]
cmovo rax, rcx
mov rcx, rax
call fcn.1400b8fb0
mov r15, rax
test rax, rax
jne 0x140097ce8
lea eax, [r15 + 8]
jmp 0x140097fe1
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x88], r12
xor r12d, r12d
mov edi, r12d
cmp qword [r14], r12
je 0x140097d40
mov ecx, r12d
cmp qword [r14 + 0x18], r12
jbe 0x140097fc7
mov edx, r12d
mov r8, qword [r14]
add r8, rdx
cmp qword [r8], r12
je 0x140097d2e
mov qword [rax + rdi*8], r8
inc rdi
cmp rdi, rbx
je 0x140097dd4
inc rcx
add rdx, 0x10
cmp rcx, qword [r14 + 0x18]
jb 0x140097d13
jmp 0x140097dd4
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x140097fc7
mov rcx, qword [rcx]
mov rax, qword [rcx]
cmp rax, rcx
je 0x140097fc7
nop dword [rax]
cmp qword [rax + 0x28], r12
lea rdx, [rax + 0x28]
je 0x140097d76
mov qword [r15 + rdi*8], rdx
inc rdi
cmp rdi, rbx
je 0x140097dd4
mov rdx, qword [rax + 0x10]
cmp byte [rdx + 0x19], r12b
je 0x140097da8
mov rdx, qword [rax + 8]
cmp byte [rdx + 0x19], r12b
jne 0x140097da3
nop word [rax + rax]
cmp rax, qword [rdx + 0x10]
jne 0x140097da3
mov rax, rdx
mov rdx, qword [rdx + 8]
cmp byte [rdx + 0x19], r12b
je 0x140097d90
mov rax, rdx
jmp 0x140097dcf
mov r8, qword [rdx]
mov rax, rdx
cmp byte [r8 + 0x19], r12b
jne 0x140097dcf
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [r8]
mov rax, r8
mov r8, rdx
cmp byte [rdx + 0x19], r12b
je 0x140097dc0
cmp rax, rcx
jne 0x140097d60
cmp rdi, 1
jbe 0x140097fc7
mov rax, qword [r14]
mov qword [rsp + 0xa0], rbp
test rax, rax
je 0x140097e0d
cmp qword [rax], r12
je 0x140097df7
add dword [rax + 0xc], 2
mov rcx, qword [r14 + 0x18]
mov rax, qword [r14]
add rcx, rcx
cmp qword [rax + rcx*8 - 0x10], r12
je 0x140097e0d
add dword [rax + rcx*8 - 4], 2
lea r9, [0x140097bb0]
mov r8d, 8
mov rdx, rdi
mov rcx, r15
call fcn.1400dd0a0
mov rax, qword [r14]
test rax, rax
je 0x140097e4c
cmp qword [rax], r12
je 0x140097e36
add dword [rax + 0xc], 0xfffffffe
mov rcx, qword [r14 + 0x18]
mov rax, qword [r14]
add rcx, rcx
cmp qword [rax + rcx*8 - 0x10], r12
je 0x140097e4c
add dword [rax + rcx*8 - 4], 0xfffffffe
mov rax, qword [r15 + rdi*8 - 8]
mov rbp, rdi
mov edx, dword [r14 + 0x30]
mov rbx, r12
shr rbp, 2
cmp dword [rax + 8], edx
jbe 0x140097e87
lea rbx, [rdi - 1]
test rbx, rbx
je 0x140097e87
lea rcx, [r15 - 8]
lea rcx, [rcx + rbx*8]
mov rax, qword [rcx]
cmp dword [rax + 8], edx
jbe 0x140097e87
sub rcx, 8
sub rbx, 1
jne 0x140097e75
test rbp, rbp
je 0x140097ed7
mov qword [rsp + 0x98], rsi
nop dword [rax]
nop dword [rax + rax]
cmp rbx, rdi
mov rax, r12
cmovb rax, rbx
mov rbx, rax
mov rsi, qword [r15 + rax*8]
mov rcx, qword [rsi]
test rcx, rcx
je 0x140097ec9
call fcn.1400b8a80
mov qword [rsi], r12
mov qword [rsi + 8], r12
dec qword [r14 + 0x20]
sub rbp, 1
jne 0x140097ea0
mov rsi, qword [rsp + 0x98]
mov r9, qword [r14 + 8]
mov rbp, qword [rsp + 0xa0]
test r9, r9
je 0x140097fc7
mov rcx, qword [r9]
mov rax, qword [rcx]
cmp rax, rcx
je 0x140097fc7
nop dword [rax + rax]
mov rbx, qword [rax + 0x10]
movzx edx, byte [rbx + 0x19]
cmp qword [rax + 0x28], r12
je 0x140097f61
test dl, dl
je 0x140097f3b
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x19], r12b
jne 0x140097f33
nop dword [rax]
cmp rax, qword [rcx + 0x10]
jne 0x140097f33
mov rax, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], r12b
je 0x140097f20
mov rax, rcx
jmp 0x140097fba
mov rdx, qword [rbx]
mov rax, rbx
cmp byte [rdx + 0x19], r12b
jne 0x140097fba
nop word [rax + rax]
mov rcx, qword [rdx]
mov rax, rdx
mov rdx, rcx
cmp byte [rcx + 0x19], r12b
je 0x140097f50
jmp 0x140097fba
mov rcx, rax
test dl, dl
je 0x140097f87
mov rbx, qword [rax + 8]
cmp byte [rbx + 0x19], r12b
jne 0x140097f9f
cmp rcx, qword [rbx + 0x10]
jne 0x140097f9f
mov rcx, rbx
mov rbx, qword [rbx + 8]
cmp byte [rbx + 0x19], r12b
je 0x140097f72
jmp 0x140097f9f
mov r8, qword [rbx]
cmp byte [r8 + 0x19], r12b
jne 0x140097f9f
mov rdx, qword [r8]
mov rbx, r8
mov r8, rdx
cmp byte [rdx + 0x19], r12b
je 0x140097f90
mov rdx, rax
mov rcx, r9
call fcn.140087060
mov edx, 0x38
mov rcx, rax
call fcn.1400b8a80
mov rax, rbx
mov r9, qword [r14 + 8]
cmp rax, qword [r9]
jne 0x140097f00
mov rcx, r15
call fcn.1400b8a80
mov r12, qword [rsp + 0x88]
xor eax, eax
mov rdi, qword [rsp + 0x90]
mov r15, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400b89f0
add rsp, 0xa8
pop r14
pop rbx
ret