Function at 0x40ee10
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44afb0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x463074]
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 edi, dword [ebp + 8]
mov esi, dword [edi]
mov ecx, edi
mov dword [ebp - 4], 0
push dword [esi + 4]
call fcn.0040a020
mov eax, dword [edi]
xor bl, bl
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
lea eax, [ebp - 0x80]
push eax
mov dword [edi + 4], 0
mov dword [ebp - 0x80], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x40ee8b
xor al, al
jmp 0x40f09d
push 0xc
push str.ullTotalPhys
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00403200
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
mov ecx, edi
call fcn.00409330
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], ecx
mov ecx, dword [ebp - 0x74]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40ef04
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40eefa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f0bb
push edx
push ecx
call fcn.0042730e
add esp, 8
push 0xc
push str.ullAvailPhys
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00403200
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
mov ecx, edi
call fcn.00409330
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], ecx
mov ecx, dword [ebp - 0x6c]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40ef7d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ef73
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f0c0
push edx
push ecx
call fcn.0042730e
add esp, 8
push 0x10
push str.ullTotalPageFile
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00403200
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 3
push eax
mov ecx, edi
call fcn.00409330
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], ecx
mov ecx, dword [ebp - 0x64]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40eff6
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40efec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f0c5
push edx
push ecx
call fcn.0042730e
add esp, 8
push 0x10
push str.ullAvailPageFile
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00403200
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 4
push eax
mov ecx, edi
call fcn.00409330
mov ecx, dword [ebp - 0x60]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x5c]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x40f064
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f05a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f0ca
push edx
push ecx
call fcn.0042730e
add esp, 8
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x70]
call fcn.00427f50
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x78]
movsd qword [ebp - 0x88], xmm0
call fcn.00427f50
mulsd xmm0, qword [0x44f0b8]
mov ecx, 1
movzx eax, bl
comisd xmm0, xmmword [ebp - 0x88]
cmova eax, ecx
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.0042784a
mov esp, ebp
pop ebp
ret 4
call fcn.0042c719
call fcn.0042c719
call fcn.0042c719
call fcn.0042c719
int3