Function at 0x575720
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff0
sub esp, 0x270
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x173], 0
mov dword [esp + 0x174], 1
mov byte [esp + 0x17b], 0
mov dword [esp + 0x17c], 1
lea ecx, [esp + 0xe0]
mov dword [esp + 0x180], ecx
mov dword [esp + 0x184], ecx
mov byte [esp + 0x12f], 0
movzx edx, byte [esp + 0x12f]
and edx, 1
mov eax, esp
mov dword [eax + 8], edx
mov dword [eax], ecx
mov dword [eax + 4], 8
call fcn.005728c0
xorps xmm0, xmm0
movaps xmmword [esp + 0x110], xmm0
movaps xmmword [esp + 0x100], xmm0
movaps xmmword [esp + 0xf0], xmm0
movaps xmmword [esp + 0xe0], xmm0
movaps xmm0, xmmword [esp + 0x110]
movaps xmmword [esp + 0xd0], xmm0
movaps xmm0, xmmword [esp + 0x100]
movaps xmmword [esp + 0xc0], xmm0
movaps xmm0, xmmword [esp + 0xe0]
movaps xmm1, xmmword [esp + 0xf0]
movaps xmmword [esp + 0xb0], xmm1
movaps xmmword [esp + 0xa0], xmm0
movaps xmm0, xmmword [esp + 0xd0]
movaps xmmword [esp + 0x160], xmm0
movaps xmm0, xmmword [esp + 0xc0]
movaps xmmword [esp + 0x150], xmm0
movaps xmm0, xmmword [esp + 0xa0]
movaps xmm1, xmmword [esp + 0xb0]
movaps xmmword [esp + 0x140], xmm1
movaps xmmword [esp + 0x130], xmm0
movaps xmm0, xmmword [esp + 0x160]
movaps xmmword [esp + 0x50], xmm0
movaps xmm0, xmmword [esp + 0x150]
movaps xmmword [esp + 0x40], xmm0
movaps xmm0, xmmword [esp + 0x130]
movaps xmm1, xmmword [esp + 0x140]
movaps xmmword [esp + 0x30], xmm1
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x20], 0x40
mov eax, esp
lea ecx, [esp + 0x20]
mov dword [eax], ecx
call sub.kernel32.dll_GlobalMemoryStatusEx
sub esp, 4
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0x3e8
call fcn.005f4f80
sub esp, 0x10
mov ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x44], edx
mov dword [eax + 0x40], ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0x3e8
call fcn.005f4f80
sub esp, 0x10
mov ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x4c], edx
mov dword [eax + 0x48], ecx
mov byte [esp + 0x237], 0
mov dword [esp + 0x238], 1
mov byte [esp + 0x23f], 0
mov dword [esp + 0x240], 1
lea eax, [esp + 0x1c0]
mov dword [esp + 0x244], eax
lea eax, [esp + 0x1c0]
mov dword [esp + 0x248], eax
mov byte [esp + 0x1fb], 0
mov al, byte [esp + 0x1fb]
lea ecx, [esp + 0x1c0]
and al, 1
mov dword [esp], ecx
mov dword [esp + 4], 4
movzx eax, al
mov dword [esp + 8], eax
call fcn.005728c0
lea eax, [esp + 0x1c0]
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x38
call sub.VCRUNTIME140.dll_memset
lea ecx, [esp + 0x188]
lea eax, [esp + 0x1c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x38
call sub.VCRUNTIME140.dll_memcpy
lea ecx, [esp + 0x1fc]
lea eax, [esp + 0x188]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x38
call sub.VCRUNTIME140.dll_memcpy
lea ecx, [esp + 0x60]
lea eax, [esp + 0x1fc]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x38
call sub.VCRUNTIME140.dll_memcpy
lea eax, [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], 0x38
call sub.psapi.dll_GetPerformanceInfo
sub esp, 8
cmp eax, 1
je 0x5759fd
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x258], ecx
mov dword [esp + 0x25c], esi
xor edx, edx
sub ecx, esi
cmovb ecx, edx
mov dword [esp + 0x260], ecx
mul dword [esp + 0x260]
mov dword [esp + 0x18], eax
seto al
jo 0x575a80
mov eax, dword [esp + 0x18]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x24c], ecx
mov dword [esp + 0x250], esi
xor edx, edx
sub ecx, esi
cmovb ecx, edx
mov dword [esp + 0x254], ecx
mul dword [esp + 0x254]
mov dword [esp + 0x14], eax
seto al
jo 0x575ad2
jmp 0x575a8d
mov eax, esp
mov dword [eax], 0x60abf8
call fcn.005f70d0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x9c], ecx
mov ecx, 0x10624dd3
mul ecx
mov eax, dword [esp + 0x14]
mov esi, edx
mov edx, dword [esp + 0x1c]
shr esi, 6
mov dword [edx + 0x50], esi
mov dword [edx + 0x54], 0
mul ecx
mov eax, dword [esp + 0x1c]
shr edx, 6
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], 0
jmp 0x5759f7
mov eax, esp
mov dword [eax], 0x60ac08
call fcn.005f70d0
int3