Function at 0x10060c70
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d97a0
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x10268bac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1bc], eax
lea edi, [ebp - 0xc0]
mov eax, 1
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
nop
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
push ecx
lea ecx, [ebp - 0x290]
mov dword [edi + 0xc], edx
call fcn.10059c80
push 0x10055560
lea ecx, [ebp - 0x280]
mov dword [ebp - 4], 0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov edi, dword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov esi, eax
push 0
push 8
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov byte [eax + esi + 0x40], 0x30
lea eax, [ebp - 0xf0]
push eax
call edi
push dword [eax + 0xc]
mov ecx, dword [eax]
push dword [eax + 8]
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
push eax
call ecx
add esp, 0x18
mov ecx, esi
push dword [ebp - 0xb4]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push 0
mov esi, eax
lea eax, [ebp - 0x1d0]
push 8
push eax
call edi
push dword [eax + 0xc]
mov ecx, dword [eax]
push dword [eax + 8]
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
push eax
call ecx
add esp, 0x18
mov ecx, esi
push dword [ebp - 0xc0]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
xorps xmm0, xmm0
mov dword [ebp - 0xa0], 0
movups xmmword [ebp - 0xb0], xmm0
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x278]
call fcn.10059dd0
mov ecx, dword [ebp - 0x9c]
cmp ecx, 0x10
jb 0x10060ddd
mov edx, dword [ebp - 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10060dd3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10060dd3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101d425d
add esp, 8
movups xmm1, xmmword [ebp - 0x28]
lea eax, [ebp - 0xb0]
movq xmm0, qword [ebp - 0x18]
lea ecx, [ebp - 0xb0]
movq qword [ebp - 0xa0], xmm0
lea edi, [ebp - 0xb0]
cmp dword [ebp - 0x9c], 0x10
movd edx, xmm1
movups xmmword [ebp - 0xb0], xmm1
cmovae eax, edx
cmovae ecx, edx
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0xa0]
add eax, ecx
cmp dword [ebp - 0x9c], 0x10
mov dword [ebp - 0x1bc], eax
cmovae edi, edx
cmp edi, eax
je 0x10060e5b
mov esi, dword [ebp - 0x1c0]
sub esi, edi
movsx eax, byte [edi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov byte [esi + edi], al
add esp, 4
inc edi
cmp edi, dword [ebp - 0x1bc]
jne 0x10060e42
xorps xmm0, xmm0
mov dword [ebp - 0xd0], 0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xcc], 0xf
mov byte [ebp - 0xe0], 0
push str.GlobalMemoryStatusEx
push 0x10252f34
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov esi, eax
test esi, esi
je 0x10060f2a
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x50], 0x40
lea eax, [ebp - 0x50]
push eax
call esi
cmp eax, 1
jne 0x10060f2a
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
shrd ecx, eax, 0x14
shr eax, 0x14
push eax
push ecx
lea ecx, [ebp - 0x53]
call fcn.1006e300
mov ecx, eax
mov dword [ebp - 0x88], 0
lea eax, [ebp - 0x53]
mov dword [ebp - 0x84], 0
add esp, 8
xorps xmm0, xmm0
movups xmmword [ebp - 0x98], xmm0
cmp ecx, eax
jne 0x10060f1e
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
jmp 0x10060fce
lea eax, [ebp - 0x53]
sub eax, ecx
push eax
push ecx
jmp 0x10060fc3
xorps xmm0, xmm0
lea eax, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
push eax
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x30], 0x20
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatus]
mov ecx, dword [ebp - 0x28]
lea esi, [ebp - 0x6b]
shr ecx, 0x14
mov dword [ebp - 0x1c0], ecx
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
mov eax, dword [ebp - 0x1c0]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x1c0], eax
test eax, eax
jne 0x10060f55
lea eax, [ebp - 0x6b]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x98], xmm0
cmp esi, eax
jne 0x10060fbc
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
jmp 0x10060fce
lea eax, [ebp - 0x6b]
sub eax, esi
push eax
push esi
lea ecx, [ebp - 0x98]
call fcn.1004e9e0
movups xmm0, xmmword [ebp - 0x98]
mov eax, bind
lea edi, [ebp - 0xc0]
xor ecx, ecx
movups xmmword [ebp - 0xe0], xmm0
push ebx
movq xmm0, qword [ebp - 0x88]
cpuid
movq qword [ebp - 0xd0], xmm0
mov esi, ebx
movaps xmm0, xmmword [0x10257000]
movups xmmword [ebp - 0xc0], xmm0
pop ebx
nop
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov edi, bind
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x1c0], eax
cmp eax, edi
jb 0x100610a2
nop
mov eax, edi
xor ecx, ecx
push ebx
cpuid
mov dword [ebp - 0x1bc], ebx
pop ebx
nop
lea esi, [ebp - 0xc0]
mov dword [esi], eax
lea eax, [ebp - 0xc0]
mov esi, dword [ebp - 0x1bc]
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
cmp edi, reloc.WS2_32.dll_bind
jne 0x10061071
movups xmm0, xmmword [ebp - 0xc0]
movups xmmword [ebp - 0x50], xmm0
jmp 0x10061099
cmp edi, reloc.WS2_32.dll_closesocket
jne 0x10061086
movups xmm0, xmmword [ebp - 0xc0]
movups xmmword [ebp - 0x40], xmm0
jmp 0x10061099
cmp edi, reloc.WS2_32.dll_connect
jne 0x10061099
movups xmm0, xmmword [ebp - 0xc0]
movups xmmword [ebp - 0x30], xmm0
inc edi
cmp edi, dword [ebp - 0x1c0]
jbe 0x10061030
lea ecx, [ebp - 0x1b8]
call fcn.1007bc40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
xorps xmm0, xmm0
mov dword [ebp - 0xb8], 0
movups xmmword [ebp - 0xc8], xmm0
mov dword [ebp - 0xb4], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100610d5
sub ecx, edx
lea eax, [ebp - 0x50]
push ecx
push eax
lea ecx, [ebp - 0xc8]
call fcn.1004e9e0
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp - 0xc8]
mov dword [ebp - 0x1bc], esp
lea ecx, [ebp - 0x1d8]
push eax
call fcn.1004ca80
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1d8]
mov edi, dword [ebp - 0x1c4]
cmp edi, 0x10
mov edx, dword [ebp - 0x1c8]
cmovae ecx, dword [ebp - 0x1d8]
push 4
sub esp, 8
call fcn.1006aa00
add esp, 0xc
lea ecx, [eax + 1]
cmp dword [ebp - 0x1c8], ecx
jb 0x100615e0
cmp edi, 0x10
mov dword [ebp - 0x1c8], ecx
lea eax, [ebp - 0x1d8]
cmovae eax, dword [ebp - 0x1d8]
mov byte [eax + ecx], 0
lea eax, [ebp - 0x1d8]
push eax
lea ecx, [ebp - 0x28]
call fcn.1004ca80
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1c4]
cmp ecx, 0x10
jb 0x100611b0
mov edx, dword [ebp - 0x1d8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100611a6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006154d
push ecx
push edx
call fcn.101d425d
add esp, 8
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0xf
mov byte [ebp - 0x1d8], 0
push 1
push 0x10253004
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.1004dc30
mov dword [ebp - 0x88], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0x84], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x98], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x88], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 7
lea eax, [ebp - 0xe0]
cmp dword [ebp - 0xcc], 0x10
lea ecx, [ebp - 0x98]
push dword [ebp - 0xd0]
cmovae eax, dword [ebp - 0xe0]
push eax
call fcn.1004dc30
mov dword [ebp - 0x100], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x110], xmm0
mov dword [ebp - 0xfc], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x110], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x100], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 1
push 0x10253004
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 8
call fcn.1004dc30
mov dword [ebp - 0xe8], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xf8], xmm0
mov dword [ebp - 0xe4], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xf8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xe8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 9
lea eax, [ebp - 0xb0]
cmp dword [ebp - 0x9c], 0x10
lea ecx, [ebp - 0xf8]
push dword [ebp - 0xa0]
cmovae eax, dword [ebp - 0xb0]
push eax
call fcn.1004dc30
mov ecx, dword [ebp - 0x1bc]
xorps xmm0, xmm0
mov esi, dword [ebp - 0x1dc]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
mov ecx, esi
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.10060a70
mov ecx, dword [ebp - 0xe4]
add esp, 0x18
cmp ecx, 0x10
jb 0x1006139f
mov edx, dword [ebp - 0xf8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10061395
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006154d
push ecx
push edx
call fcn.101d425d
add esp, 8
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0xf
mov byte [ebp - 0xf8], 0
cmp ecx, 0x10
jb 0x100613f4
mov edx, dword [ebp - 0x110]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100613ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006154d
push ecx
push edx
call fcn.101d425d
add esp, 8
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0xf
mov byte [ebp - 0x110], 0
cmp ecx, 0x10
jb 0x10061449
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006143f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006154d
push ecx
push edx
call fcn.101d425d
add esp, 8
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
cmp ecx, 0x10
jb 0x10061498
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006148e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006154d
push ecx
push edx
call fcn.101d425d
add esp, 8
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0x10
jb 0x100614e0
mov edx, dword [ebp - 0xc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100614d6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006154d
push ecx
push edx
call fcn.101d425d
add esp, 8
lea ecx, [ebp - 0x1b8]
call fcn.100615f0
mov ecx, dword [ebp - 0xcc]
cmp ecx, 0x10
jb 0x10061521
mov edx, dword [ebp - 0xe0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10061517
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006154d
push ecx
push edx
call fcn.101d425d
add esp, 8
mov ecx, dword [ebp - 0x9c]
cmp ecx, 0x10
jb 0x1006155d
mov edx, dword [ebp - 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10061553
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10061553
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101d425d
add esp, 8
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov ecx, dword [ebp - 0x290]
mov edx, dword [ecx + 4]
lea ecx, [edx - 0x68]
mov dword [ebp + edx - 0x294], ecx
lea ecx, [ebp - 0x278]
call fcn.10059bd0
lea ecx, [ebp - 0x270]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x228]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101d3dd8
mov esp, ebp
pop ebp
ret
call fcn.1004e0f0
int3