Function at 0x1005f8e0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xf0
call sym.std::hash::random::RandomState::new::KEYS::__u7b__u7b_closure_u7d__u7d_::h0c6dfc005550d88a
test eax, eax
je 0x1005fb38
movdqu xmm0, xmmword [eax]
movd ecx, xmm0
movdqa xmmword [esp + 0xd0], xmm0
add ecx, 1
mov dword [eax], ecx
adc dword [eax + 4], 0
mov eax, dword [0x100f2e44]
movzx eax, byte [eax]
sub esp, 0xc
mov dword [esp + 8], 0x3c420
mov dword [esp + 4], 0
call sym.std::sys::alloc::windows::process_heap_alloc::hc2bfe060f1f208f4
add esp, 0xc
test eax, eax
je 0x1005fb53
mov edi, dword [ebp + 0xc]
mov esi, eax
and esi, 0xfffffff0
mov dword [esi + 0xc], eax
add esi, 0x3c010
push 0x410
push 0xff
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
movzx eax, byte [edi + 9]
movaps xmm1, xmmword [esp + 0xd0]
pxor xmm0, xmm0
movq qword [esp + 0x88], xmm0
movq qword [esp + 0x90], xmm0
movq qword [esp + 0x98], xmm0
movq qword [esp + 0xa0], xmm0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 8
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0x80000000
mov dword [esp + 0x60], 0
mov byte [esp + 0x64], 0
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], 0x3ff
mov dword [esp + 0x70], 0x380
mov dword [esp + 0x74], 0
cmp al, 2
movups xmmword [esp + 0x78], xmm1
mov dword [esp + 0xa8], 0
je 0x1005fac0
movzx ebx, byte [edi + 0xa]
test al, 1
je 0x1005fa44
pxor xmm0, xmm0
mov eax, esp
movdqa xmmword [esp], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
movdqa xmmword [esp + 0x10], xmm0
mov dword [esp], 0x40
push eax
call sub.kernel32.dll_GlobalMemoryStatusEx
test eax, eax
jne 0x1005fa35
call sub.kernel32.dll_GetLastError
movdqu xmm0, xmmword [esp + 8]
movdqu xmmword [esp + 0x88], xmm0
test bl, 1
je 0x1005fac0
pxor xmm0, xmm0
mov eax, esp
movq qword [esp + 0x30], xmm0
pxor xmm0, xmm0
movdqa xmmword [esp + 0x20], xmm0
movdqa xmmword [esp + 0x10], xmm0
movdqa xmmword [esp], xmm0
push 0x38
push eax
call sub.kernel32.dll_K32GetPerformanceInfo
test eax, eax
je 0x1005fac0
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x28]
xor esi, esi
mov edx, 0
sub eax, ebx
sbb edx, edx
cmovb eax, esi
mul ecx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x9c], edx
mov edx, 0
sub eax, ebx
sbb edx, edx
cmovb eax, esi
mul ecx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa0], eax
mov esi, dword [ebp + 8]
cmp byte [edi + 0xb], 2
je 0x1005fad9
movzx edx, byte [edi + 0xc]
lea ecx, [esp + 0x48]
and edx, 1
call sym.__ZN7sysinfo7windows6system11SystemInner21refresh_cpu_specifics17hd323725b8e3d177cE.llvm.14058084406345062012
movzx eax, byte [edi]
cmp al, 2
je 0x1005fb1b
mov ecx, dword [edi + 1]
mov edx, dword [edi + 5]
mov byte [esp], al
mov dword [esp + 5], edx
mov dword [esp + 1], ecx
sub esp, 0x14
lea eax, [esp + 0x14]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x5c]
mov dword [esp], eax
call sym.sysinfo::common::system::System::refresh_processes_specifics::h8ec17f0f37c9f82f
add esp, 0x14
lea eax, [esp + 0x48]
push 0x88
push eax
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 0x48]
push 0x100f1c54
push 0x100f1ee0
push eax
push 0x46
push str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_f6e511eec7342f59a25f7c0534f1dbea00d01b14library_std_src_threadlocal.rs
call sym.core::result::unwrap_failed::h534a40e08cfe968a
push 0x3c410
push 0x10
call sym.alloc::alloc::handle_alloc_error::h3ca6a9ac69c8e3db
nop