Function at 0x140091070
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 [0x140241cc0]
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 0x140091116
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 0x1400910e9
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x60]
jmp 0x1400910fd
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14009111d
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x20]
cmp rcx, 0x6000000
jbe 0x14009111d
cmp rax, 0x4000000
jbe 0x14009111d
add qword [r14 + 0x28], 0x1000000
xor eax, eax
jmp 0x140091459
mov rcx, 0xffffffffffffffff
mov qword [rsp + 0x80], r15
mov eax, 8
mul rbx
lea rdx, [0x1401f1fd5]
cmovo rax, rcx
mov rcx, rax
call fcn.140144e50
mov r15, rax
test rax, rax
jne 0x140091158
lea eax, [r15 + 8]
jmp 0x140091451
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x88], r12
xor r12d, r12d
mov edi, r12d
cmp qword [r14], r12
je 0x1400911b0
mov ecx, r12d
cmp qword [r14 + 0x18], r12
jbe 0x140091437
mov edx, r12d
mov r8, qword [r14]
add r8, rdx
cmp qword [r8], r12
je 0x14009119e
mov qword [rax + rdi*8], r8
inc rdi
cmp rdi, rbx
je 0x140091244
inc rcx
add rdx, 0x10
cmp rcx, qword [r14 + 0x18]
jb 0x140091183
jmp 0x140091244
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x140091437
mov rcx, qword [rcx]
mov rax, qword [rcx]
cmp rax, rcx
je 0x140091437
nop dword [rax]
cmp qword [rax + 0x28], r12
lea rdx, [rax + 0x28]
je 0x1400911e6
mov qword [r15 + rdi*8], rdx
inc rdi
cmp rdi, rbx
je 0x140091244
mov rdx, qword [rax + 0x10]
cmp byte [rdx + 0x19], r12b
je 0x140091218
mov rdx, qword [rax + 8]
cmp byte [rdx + 0x19], r12b
jne 0x140091213
nop word [rax + rax]
cmp rax, qword [rdx + 0x10]
jne 0x140091213
mov rax, rdx
mov rdx, qword [rdx + 8]
cmp byte [rdx + 0x19], r12b
je 0x140091200
mov rax, rdx
jmp 0x14009123f
mov r8, qword [rdx]
mov rax, rdx
cmp byte [r8 + 0x19], r12b
jne 0x14009123f
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [r8]
mov rax, r8
mov r8, rdx
cmp byte [rdx + 0x19], r12b
je 0x140091230
cmp rax, rcx
jne 0x1400911d0
cmp rdi, 1
jbe 0x140091437
mov rax, qword [r14]
mov qword [rsp + 0xa0], rbp
test rax, rax
je 0x14009127d
cmp qword [rax], r12
je 0x140091267
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 0x14009127d
add dword [rax + rcx*8 - 4], 2
lea r9, [0x140091020]
mov r8d, 8
mov rdx, rdi
mov rcx, r15
call fcn.140180020
mov rax, qword [r14]
test rax, rax
je 0x1400912bc
cmp qword [rax], r12
je 0x1400912a6
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 0x1400912bc
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 0x1400912f7
lea rbx, [rdi - 1]
test rbx, rbx
je 0x1400912f7
lea rcx, [r15 - 8]
lea rcx, [rcx + rbx*8]
mov rax, qword [rcx]
cmp dword [rax + 8], edx
jbe 0x1400912f7
sub rcx, 8
sub rbx, 1
jne 0x1400912e5
test rbp, rbp
je 0x140091347
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 0x140091339
call fcn.140144330
mov qword [rsi], r12
mov qword [rsi + 8], r12
dec qword [r14 + 0x20]
sub rbp, 1
jne 0x140091310
mov rsi, qword [rsp + 0x98]
mov r9, qword [r14 + 8]
mov rbp, qword [rsp + 0xa0]
test r9, r9
je 0x140091437
mov rcx, qword [r9]
mov rax, qword [rcx]
cmp rax, rcx
je 0x140091437
nop dword [rax + rax]
mov rbx, qword [rax + 0x10]
movzx edx, byte [rbx + 0x19]
cmp qword [rax + 0x28], r12
je 0x1400913d1
test dl, dl
je 0x1400913ab
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x19], r12b
jne 0x1400913a3
nop dword [rax]
cmp rax, qword [rcx + 0x10]
jne 0x1400913a3
mov rax, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], r12b
je 0x140091390
mov rax, rcx
jmp 0x14009142a
mov rdx, qword [rbx]
mov rax, rbx
cmp byte [rdx + 0x19], r12b
jne 0x14009142a
nop word [rax + rax]
mov rcx, qword [rdx]
mov rax, rdx
mov rdx, rcx
cmp byte [rcx + 0x19], r12b
je 0x1400913c0
jmp 0x14009142a
mov rcx, rax
test dl, dl
je 0x1400913f7
mov rbx, qword [rax + 8]
cmp byte [rbx + 0x19], r12b
jne 0x14009140f
cmp rcx, qword [rbx + 0x10]
jne 0x14009140f
mov rcx, rbx
mov rbx, qword [rbx + 8]
cmp byte [rbx + 0x19], r12b
je 0x1400913e2
jmp 0x14009140f
mov r8, qword [rbx]
cmp byte [r8 + 0x19], r12b
jne 0x14009140f
mov rdx, qword [r8]
mov rbx, r8
mov r8, rdx
cmp byte [rdx + 0x19], r12b
je 0x140091400
mov rdx, rax
mov rcx, r9
call fcn.140023c20
mov edx, gethostname
mov rcx, rax
call fcn.140144330
mov rax, rbx
mov r9, qword [r14 + 8]
cmp rax, qword [r9]
jne 0x140091370
mov rcx, r15
call fcn.140144330
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.140144310
add rsp, 0xa8
pop r14
pop rbx
ret