Function at 0x427698
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov esi, eax
lea edi, [ebp - 0x28]
xor eax, eax
push ebp
push 0x427902
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [edi], 0x20
push edi
call sub.kernel32.dll_GlobalMemoryStatus
mov ebx, dword [edi + 8]
cmp ebx, 0x400
jae 0x427706
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x2c]
call fcn.00408c70
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 4]
mov ecx, 0x427918
call fcn.004050e0
mov ebx, dword [edi + 8]
cmp ebx, 0x100000
jae 0x42774e
mov dword [ebp - 0x38], ebx
xor eax, eax
mov dword [ebp - 0x34], eax
fild qword [ebp - 0x38]
fdiv dword [0x42791c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x30]
push eax
mov ecx, 1
mov edx, 0xa
mov al, 2
call fcn.0040a634
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 4]
mov ecx, 0x427928
call fcn.004050e0
mov ebx, dword [edi + 8]
cmp ebx, 0x40000000
jae 0x427796
mov dword [ebp - 0x38], ebx
xor eax, eax
mov dword [ebp - 0x34], eax
fild qword [ebp - 0x38]
fdiv dword [0x42792c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x3c]
push eax
mov ecx, 1
mov edx, 0xa
mov al, 2
call fcn.0040a634
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 4]
mov ecx, 0x427938
call fcn.004050e0
mov ebx, dword [edi + 8]
cmp ebx, 0x40000000
jbe 0x4277de
mov dword [ebp - 0x38], ebx
xor eax, eax
mov dword [ebp - 0x34], eax
fild qword [ebp - 0x38]
fdiv dword [0x42793c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x40]
push eax
mov ecx, 1
mov edx, 0xa
mov al, 2
call fcn.0040a634
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 4]
mov ecx, 0x427948
call fcn.004050e0
mov ebx, dword [edi + 0xc]
cmp ebx, 0x100000
jae 0x427826
mov dword [ebp - 0x38], ebx
xor eax, eax
mov dword [ebp - 0x34], eax
fild qword [ebp - 0x38]
fdiv dword [0x42791c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x44]
push eax
mov ecx, 1
mov edx, 0xa
mov al, 2
call fcn.0040a634
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 8]
mov ecx, 0x427928
call fcn.004050e0
mov ebx, dword [edi + 0xc]
cmp ebx, 0x40000000
jae 0x42786e
mov dword [ebp - 0x38], ebx
xor eax, eax
mov dword [ebp - 0x34], eax
fild qword [ebp - 0x38]
fdiv dword [0x42792c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x48]
push eax
mov ecx, 1
mov edx, 0xa
mov al, 2
call fcn.0040a634
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 8]
mov ecx, 0x427938
call fcn.004050e0
mov ebx, dword [edi + 0xc]
cmp ebx, 0x40000000
jbe 0x4278b6
mov dword [ebp - 0x38], ebx
xor eax, eax
mov dword [ebp - 0x34], eax
fild qword [ebp - 0x38]
fdiv dword [0x42793c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x4c]
push eax
mov ecx, 1
mov edx, 0xa
mov al, 2
call fcn.0040a634
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 8]
mov ecx, 0x427948
call fcn.004050e0
push dword [ebp - 4]
push 0x427954
push dword [ebp - 8]
mov eax, esi
mov edx, 3
call fcn.00405154
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427909
lea eax, [ebp - 0x4c]
mov edx, 5
call fcn.00404df8
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00404df8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404df8
ret