Function at 0x417930
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x417938
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x417b80
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 4]
push eax
mov esi, 0x41792c
mov ecx, esi
xor edx, edx
xor eax, eax
call fcn.004040c0
mov eax, dword [ebp - 4]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x58]
call fcn.004079ec
mov edx, dword [ebp - 0x58]
mov eax, ebx
call fcn.004043d4
push 0
push 0
lea eax, [ebp - 4]
push eax
mov ecx, esi
xor edx, edx
xor eax, eax
call fcn.004040c0
mov eax, dword [ebp - 4]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x5c]
call fcn.004079ec
mov edx, dword [ebp - 0x5c]
mov eax, ebx
call fcn.004043d4
push 0
push 0
lea eax, [ebp - 4]
push eax
mov ecx, esi
xor edx, edx
xor eax, eax
call fcn.004040c0
mov eax, dword [ebp - 4]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x60]
call fcn.004079ec
mov edx, dword [ebp - 0x60]
mov eax, ebx
call fcn.004043d4
push 0
push 0
lea eax, [ebp - 4]
push eax
mov ecx, esi
xor edx, edx
xor eax, eax
call fcn.004040c0
mov eax, dword [ebp - 4]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x64]
call fcn.004079ec
mov edx, dword [ebp - 0x64]
mov eax, ebx
call fcn.004043d4
call fcn.00409188
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x68]
call fcn.0040aa14
mov edx, dword [ebp - 0x68]
mov eax, ebx
call fcn.004043d4
call fcn.00409188
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0xa]
lea edx, [ebp - 8]
lea eax, [ebp - 6]
call fcn.00408e64
lea edx, [ebp - 0x6c]
movzx eax, word [ebp - 0xc]
call fcn.00407900
mov edx, dword [ebp - 0x6c]
mov eax, ebx
call fcn.004043d4
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x70]
call fcn.004079ec
mov edx, dword [ebp - 0x70]
mov eax, ebx
call fcn.004043d4
lea eax, [ebp - 0x14]
push eax
call sub.user32.dll_GetCursorPos
push dword [ebx]
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 0x14]
call fcn.00407900
push dword [ebp - 0x74]
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 0x10]
call fcn.00407900
push dword [ebp - 0x78]
mov eax, ebx
mov edx, 3
call fcn.0040448c
mov word [ebp - 6], 1
mov eax, 0x1000000
call fcn.00402ee8
lea edx, [ebp - 0x7c]
call fcn.00407900
mov edx, dword [ebp - 0x7c]
mov eax, ebx
call fcn.004043d4
inc word [ebp - 6]
cmp word [ebp - 6], 0xb
jne 0x417aad
lea eax, [ebp - 0x54]
xor ecx, ecx
mov edx, 0x40
call fcn.00402ec8
mov dword [ebp - 0x54], 0x40
lea eax, [ebp - 0x54]
push eax
call sub.kernel32.dll_GlobalMemoryStatusEx
call fcn.0040ce18
mov eax, dword [ebp - 0x50]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x80]
call fcn.004079ec
mov edx, dword [ebp - 0x80]
mov eax, ebx
call fcn.004043d4
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 0x44]
call fcn.00407900
mov edx, dword [ebp - 0x84]
mov eax, ebx
call fcn.004043d4
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 0x34]
call fcn.00407900
mov edx, dword [ebp - 0x88]
mov eax, ebx
call fcn.004043d4
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 0x24]
call fcn.00407900
mov edx, dword [ebp - 0x8c]
mov eax, ebx
call fcn.004043d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x417b87
lea eax, [ebp - 0x8c]
mov edx, 0xe
call fcn.00404128
ret