Function at 0x44745c
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 0x4476c6
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 0x4474ca
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x2c]
call fcn.00408cc0
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 4]
mov ecx, 0x4476dc
call fcn.00405098
mov ebx, dword [edi + 8]
cmp ebx, 0x100000
jae 0x447512
mov dword [ebp - 0x38], ebx
xor eax, eax
mov dword [ebp - 0x34], eax
fild qword [ebp - 0x38]
fdiv dword [0x4476e0]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x30]
push eax
mov ecx, 1
mov edx, 0xa
mov al, 2
call fcn.0040a398
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 4]
mov ecx, 0x4476ec
call fcn.00405098
mov ebx, dword [edi + 8]
cmp ebx, 0x40000000
jae 0x44755a
mov dword [ebp - 0x38], ebx
xor eax, eax
mov dword [ebp - 0x34], eax
fild qword [ebp - 0x38]
fdiv dword [0x4476f0]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x3c]
push eax
mov ecx, 1
mov edx, 0xa
mov al, 2
call fcn.0040a398
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 4]
mov ecx, 0x4476fc
call fcn.00405098
mov ebx, dword [edi + 8]
cmp ebx, 0x40000000
jbe 0x4475a2
mov dword [ebp - 0x38], ebx
xor eax, eax
mov dword [ebp - 0x34], eax
fild qword [ebp - 0x38]
fdiv dword [0x447700]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x40]
push eax
mov ecx, 1
mov edx, 0xa
mov al, 2
call fcn.0040a398
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 4]
mov ecx, 0x44770c
call fcn.00405098
mov ebx, dword [edi + 0xc]
cmp ebx, 0x100000
jae 0x4475ea
mov dword [ebp - 0x38], ebx
xor eax, eax
mov dword [ebp - 0x34], eax
fild qword [ebp - 0x38]
fdiv dword [0x4476e0]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x44]
push eax
mov ecx, 1
mov edx, 0xa
mov al, 2
call fcn.0040a398
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 8]
mov ecx, 0x4476ec
call fcn.00405098
mov ebx, dword [edi + 0xc]
cmp ebx, 0x40000000
jae 0x447632
mov dword [ebp - 0x38], ebx
xor eax, eax
mov dword [ebp - 0x34], eax
fild qword [ebp - 0x38]
fdiv dword [0x4476f0]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x48]
push eax
mov ecx, 1
mov edx, 0xa
mov al, 2
call fcn.0040a398
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 8]
mov ecx, 0x4476fc
call fcn.00405098
mov ebx, dword [edi + 0xc]
cmp ebx, 0x40000000
jbe 0x44767a
mov dword [ebp - 0x38], ebx
xor eax, eax
mov dword [ebp - 0x34], eax
fild qword [ebp - 0x38]
fdiv dword [0x447700]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x4c]
push eax
mov ecx, 1
mov edx, 0xa
mov al, 2
call fcn.0040a398
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 8]
mov ecx, 0x44770c
call fcn.00405098
push dword [ebp - 4]
push 0x447718
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 0x4476cd
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