Function at 0x480460
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x3a
push 0
push 0
dec ecx
jne 0x480468
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x480c3c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x44], 0x40
lea eax, [ebp - 0x44]
push eax
call sub.kernel32.dll_GlobalMemoryStatusEx
mov eax, dword [ebx + 0x2dc]
mov eax, dword [eax + 0x20c]
call fcn.00469990
call fcn.0047e5a4
lea edx, [ebp - 0x4c]
call fcn.0047e500
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
call dword [edx + 0xc]
dec eax
test eax, eax
jl 0x48052c
inc eax
mov dword [ebp - 4], eax
xor esi, esi
push 0
push 0
call fcn.0047e5a4
lea ecx, [ebp - 0x58]
mov edx, esi
call fcn.0047e4d8
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x50]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [esi + 1]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0
lea edx, [ebp - 0x64]
xor ecx, ecx
mov eax, 0x480c54
call fcn.00409c74
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebx + 0x2dc]
pop ecx
call fcn.0047f9cc
inc esi
dec dword [ebp - 4]
jne 0x4804cd
push 0
push 0
lea eax, [ebp - 0x68]
push eax
call fcn.004566d8
fstp xword [ebp - 0x74]
wait
lea eax, [ebp - 0x74]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 3
lea edx, [ebp - 0x64]
xor ecx, ecx
mov eax, 0x480c64
call fcn.00409c74
mov ecx, dword [ebp - 0x68]
mov edx, 0x480c74
mov eax, dword [ebx + 0x2dc]
call fcn.0047f9cc
push 0
push 0
lea eax, [ebp - 0x7c]
call fcn.00474410
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x78]
call fcn.00408db8
mov ecx, dword [ebp - 0x78]
mov edx, 0x480c88
mov eax, dword [ebx + 0x2dc]
call fcn.0047f9cc
push 0
push 0
lea eax, [ebp - 0x80]
push eax
fild qword [ebp - 0x3c]
fdiv dword [0x480c94]
fdiv dword [0x480c94]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x94]
mov eax, 0x480ca0
call fcn.00409db8
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x90], eax
mov byte [ebp - 0x8c], 0xb
fild qword [ebp - 0x34]
fdiv dword [0x480c94]
fdiv dword [0x480c94]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x98]
mov eax, 0x480ca0
call fcn.00409db8
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0xb
lea edx, [ebp - 0x90]
mov ecx, 1
mov eax, 0x480cbc
call fcn.00409c74
mov ecx, dword [ebp - 0x80]
mov edx, 0x480cdc
mov eax, dword [ebx + 0x2dc]
call fcn.0047f9cc
push 0
push 0
lea edx, [ebp - 0xa4]
xor eax, eax
call fcn.004746c4
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0xa0]
call fcn.00408db8
push dword [ebp - 0xa0]
push 0x480cec
lea edx, [ebp - 0xac]
xor eax, eax
call fcn.004745ac
mov eax, dword [ebp - 0xac]
lea edx, [ebp - 0xa8]
call fcn.00408db8
push dword [ebp - 0xa8]
lea eax, [ebp - 0x9c]
mov edx, 3
call fcn.00403fe4
mov ecx, dword [ebp - 0x9c]
mov edx, 0x480cf8
mov eax, dword [ebx + 0x2dc]
call fcn.0047f9cc
push 0
push 0
lea edx, [ebp - 0xc4]
mov eax, 3
call fcn.00454fe0
lea eax, [ebp - 0xc4]
mov edx, 0x480d18
call fcn.00403f2c
mov edx, dword [ebp - 0xc4]
lea eax, [ebp - 0xc0]
call fcn.004051c0
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xd4]
push eax
mov eax, dword [0x47f46c]
call fcn.0047f4e8
push eax
lea eax, [ebp - 0xe4]
mov edx, 0x480d24
call fcn.004051c0
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0xf4]
mov edx, 0x480d34
call fcn.004051c0
lea edx, [ebp - 0xf4]
pop ecx
pop eax
call fcn.00454b4c
lea edx, [ebp - 0xd4]
pop eax
call fcn.004055cc
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x104]
mov edx, 0x480d44
call fcn.004051c0
lea edx, [ebp - 0x104]
pop eax
call fcn.004055cc
lea eax, [ebp - 0xc0]
push eax
lea edx, [ebp - 0x118]
mov eax, 4
call fcn.00454fe0
mov edx, dword [ebp - 0x118]
lea eax, [ebp - 0x114]
call fcn.004051c0
lea edx, [ebp - 0x114]
pop eax
call fcn.004055cc
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x128]
mov edx, 0x480d58
call fcn.004051c0
lea edx, [ebp - 0x128]
pop eax
call fcn.004055cc
lea eax, [ebp - 0xc0]
push eax
lea edx, [ebp - 0x13c]
mov eax, 5
call fcn.00454fe0
mov edx, dword [ebp - 0x13c]
lea eax, [ebp - 0x138]
call fcn.004051c0
lea edx, [ebp - 0x138]
pop eax
call fcn.004055cc
lea eax, [ebp - 0xc0]
push eax
mov al, 0x29
mov byte [ebp - 0x14f], al
mov byte [ebp - 0x150], 1
lea eax, [ebp - 0x14c]
lea edx, [ebp - 0x150]
call fcn.00405170
lea edx, [ebp - 0x14c]
pop eax
call fcn.004055cc
lea edx, [ebp - 0xc0]
lea eax, [ebp - 0xb0]
call fcn.00404fd0
mov ecx, dword [ebp - 0xb0]
mov edx, 0x480d64
mov eax, dword [ebx + 0x2dc]
call fcn.0047f9cc
push 0
push 0
lea edx, [ebp - 0x154]
mov eax, 6
call fcn.00454fe0
mov ecx, dword [ebp - 0x154]
mov edx, 0x480d7c
mov eax, dword [ebx + 0x2dc]
call fcn.0047f9cc
push 0
push 0
lea edx, [ebp - 0x158]
mov eax, 7
call fcn.00454fe0
mov ecx, dword [ebp - 0x158]
mov edx, 0x480d8c
mov eax, dword [ebx + 0x2dc]
call fcn.0047f9cc
push 0
push 0
lea edx, [ebp - 0x15c]
mov eax, 3
call fcn.004553c4
mov ecx, dword [ebp - 0x15c]
mov edx, 0x480d9c
mov eax, dword [ebx + 0x2dc]
call fcn.0047f9cc
push 0
push 0
lea edx, [ebp - 0x174]
mov eax, 4
call fcn.004553c4
lea eax, [ebp - 0x174]
mov edx, 0x480d18
call fcn.00403f2c
mov edx, dword [ebp - 0x174]
lea eax, [ebp - 0x170]
call fcn.004051c0
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x194]
mov edx, 0x480db4
call fcn.004051c0
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x1a4]
mov edx, 0x480dd0
call fcn.004051c0
lea eax, [ebp - 0x1a4]
push eax
call fcn.00457824
pop edx
pop ecx
call fcn.00454b4c
lea edx, [ebp - 0x184]
pop eax
call fcn.004055cc
lea edx, [ebp - 0x170]
lea eax, [ebp - 0x160]
call fcn.00404fd0
mov ecx, dword [ebp - 0x160]
mov edx, 0x480df0
mov eax, dword [ebx + 0x2dc]
call fcn.0047f9cc
push 0
push 0
lea eax, [ebp - 0x1a8]
call fcn.0045790c
mov ecx, dword [ebp - 0x1a8]
mov edx, 0x480e04
mov eax, dword [ebx + 0x2dc]
call fcn.0047f9cc
push 0
push 0
lea edx, [ebp - 0x1ac]
mov eax, 0xd
call fcn.004553c4
mov ecx, dword [ebp - 0x1ac]
mov edx, 0x480e1c
mov eax, dword [ebx + 0x2dc]
call fcn.0047f9cc
push 0
push 0
lea edx, [ebp - 0x1b0]
mov eax, 0xe
call fcn.004553c4
mov ecx, dword [ebp - 0x1b0]
mov edx, 0x480e34
mov eax, dword [ebx + 0x2dc]
call fcn.0047f9cc
push 0
push 0
lea eax, [ebp - 0x1b4]
call fcn.00462ce8
mov ecx, dword [ebp - 0x1b4]
mov edx, 0x480e50
mov eax, dword [ebx + 0x2dc]
call fcn.0047f9cc
push 0
push 0
lea eax, [ebp - 0x1b8]
call fcn.00462d50
mov ecx, dword [ebp - 0x1b8]
mov edx, 0x480e64
mov eax, dword [ebx + 0x2dc]
call fcn.0047f9cc
push 0
push 0
lea edx, [ebp - 0x1bc]
mov eax, 1
call fcn.004553c4
mov ecx, dword [ebp - 0x1bc]
mov edx, 0x480e78
mov eax, dword [ebx + 0x2dc]
call fcn.0047f9cc
push 0
push 0
lea edx, [ebp - 0x1c0]
mov eax, 2
call fcn.004553c4
mov ecx, dword [ebp - 0x1c0]
mov edx, 0x480e90
mov eax, dword [ebx + 0x2dc]
call fcn.0047f9cc
push 0
push 0
lea edx, [ebp - 0x1c4]
mov eax, 5
call fcn.004553c4
mov ecx, dword [ebp - 0x1c4]
mov edx, 0x480ea4
mov eax, dword [ebx + 0x2dc]
call fcn.0047f9cc
push 0
push 0
lea edx, [ebp - 0x1c8]
mov eax, 0xb
call fcn.00457408
mov ecx, dword [ebp - 0x1c8]
mov edx, 0x480eb8
mov eax, dword [ebx + 0x2dc]
call fcn.0047f9cc
push 0
push 0
lea edx, [ebp - 0x1cc]
mov eax, 0xc
call fcn.00457408
mov ecx, dword [ebp - 0x1cc]
mov edx, 0x480ed0
mov eax, dword [ebx + 0x2dc]
call fcn.0047f9cc
push 0
push 0
lea eax, [ebp - 0x1d0]
call fcn.004569b0
mov ecx, dword [ebp - 0x1d0]
mov edx, 0x480ee8
mov eax, dword [ebx + 0x2dc]
call fcn.0047f9cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480c46
lea eax, [ebp - 0x1d0]
mov edx, 0xb
call fcn.00403cc8
lea eax, [ebp - 0x1a4]
mov edx, dword [0x4010c4]
mov ecx, 3
call fcn.004046b8
lea eax, [ebp - 0x174]
call fcn.00403ca4
lea eax, [ebp - 0x170]
call fcn.0040581c
lea eax, [ebp - 0x160]
mov edx, 4
call fcn.00403cc8
lea eax, [ebp - 0x14c]
call fcn.0040581c
lea eax, [ebp - 0x13c]
call fcn.00403ca4
lea eax, [ebp - 0x138]
mov edx, dword [0x4010c4]
mov ecx, 2
call fcn.004046b8
lea eax, [ebp - 0x118]
call fcn.00403ca4
lea eax, [ebp - 0x114]
mov edx, dword [0x4010c4]
mov ecx, 5
call fcn.004046b8
lea eax, [ebp - 0xc4]
call fcn.00403ca4
lea eax, [ebp - 0xc0]
call fcn.0040581c
lea eax, [ebp - 0xb0]
mov edx, 8
call fcn.00403cc8
lea eax, [ebp - 0x80]
mov edx, 3
call fcn.00403cc8
lea eax, [ebp - 0x68]
call fcn.00403ca4
lea eax, [ebp - 0x5c]
call fcn.00403ca4
lea eax, [ebp - 0x58]
call fcn.0040615c
lea eax, [ebp - 0x54]
call fcn.0040615c
lea eax, [ebp - 0x50]
call fcn.00403ca4
lea eax, [ebp - 0x4c]
call fcn.0040615c
lea eax, [ebp - 0x48]
call fcn.0040615c
ret