Function at 0x4468c8
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 0x446b32
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 0x446936
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, 0x446b48
call fcn.00405098
mov ebx, dword [edi + 8]
cmp ebx, 0x100000
jae 0x44697e
mov dword [ebp - 0x38], ebx
xor eax, eax
mov dword [ebp - 0x34], eax
fild qword [ebp - 0x38]
fdiv dword [0x446b4c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x30]
push eax
mov ecx, 1
mov edx, 0xa
mov al, 2
call fcn.0040a348
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 4]
mov ecx, 0x446b58
call fcn.00405098
mov ebx, dword [edi + 8]
cmp ebx, 0x40000000
jae 0x4469c6
mov dword [ebp - 0x38], ebx
xor eax, eax
mov dword [ebp - 0x34], eax
fild qword [ebp - 0x38]
fdiv dword [0x446b5c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x3c]
push eax
mov ecx, 1
mov edx, 0xa
mov al, 2
call fcn.0040a348
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 4]
mov ecx, 0x446b68
call fcn.00405098
mov ebx, dword [edi + 8]
cmp ebx, 0x40000000
jbe 0x446a0e
mov dword [ebp - 0x38], ebx
xor eax, eax
mov dword [ebp - 0x34], eax
fild qword [ebp - 0x38]
fdiv dword [0x446b6c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x40]
push eax
mov ecx, 1
mov edx, 0xa
mov al, 2
call fcn.0040a348
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 4]
mov ecx, 0x446b78
call fcn.00405098
mov ebx, dword [edi + 0xc]
cmp ebx, 0x100000
jae 0x446a56
mov dword [ebp - 0x38], ebx
xor eax, eax
mov dword [ebp - 0x34], eax
fild qword [ebp - 0x38]
fdiv dword [0x446b4c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x44]
push eax
mov ecx, 1
mov edx, 0xa
mov al, 2
call fcn.0040a348
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 8]
mov ecx, 0x446b58
call fcn.00405098
mov ebx, dword [edi + 0xc]
cmp ebx, 0x40000000
jae 0x446a9e
mov dword [ebp - 0x38], ebx
xor eax, eax
mov dword [ebp - 0x34], eax
fild qword [ebp - 0x38]
fdiv dword [0x446b5c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x48]
push eax
mov ecx, 1
mov edx, 0xa
mov al, 2
call fcn.0040a348
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 8]
mov ecx, 0x446b68
call fcn.00405098
mov ebx, dword [edi + 0xc]
cmp ebx, 0x40000000
jbe 0x446ae6
mov dword [ebp - 0x38], ebx
xor eax, eax
mov dword [ebp - 0x34], eax
fild qword [ebp - 0x38]
fdiv dword [0x446b6c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x4c]
push eax
mov ecx, 1
mov edx, 0xa
mov al, 2
call fcn.0040a348
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 8]
mov ecx, 0x446b78
call fcn.00405098
push dword [ebp - 4]
push 0x446b84
push dword [ebp - 8]
mov eax, esi
mov edx, 3
call fcn.0040510c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446b39
lea eax, [ebp - 0x4c]
mov edx, 5
call fcn.00404db0
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00404db0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404db0
ret