Function at 0x4e4c38
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov byte [ebp - 1], 0
lea eax, [ebp - 0x30]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp + 8]
mov dword [eax - 0xe4], 0x100000
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov byte [eax + 0x8a], 0
mov eax, dword [ebp + 8]
cmp byte [eax - 0xb9], 0
je 0x4e4d9f
mov eax, dword [ebp + 8]
sub dword [eax - 0xf0], 0xc
sbb dword [eax - 0xec], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0041fcd4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0041fcf4
mov eax, dword [ebp + 8]
mov ax, word [eax - 0x108]
push eax
mov eax, dword [ebp + 8]
mov ax, word [eax - 0x104]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x100]
push eax
mov eax, dword [ebp + 8]
add eax, 0xffffff98
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov ecx, dword [eax + 0x54]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.004e4768
xor al, 1
mov edx, dword [ebp + 8]
mov byte [edx - 0x10f], al
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
cmp byte [eax + 0x130], 0
je 0x4e4d1f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
add eax, 0x54
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0xc]
mov edx, dword [edx + 0x54]
call fcn.00405420
jmp 0x4e4d8c
mov eax, dword [ebp + 8]
cmp byte [eax - 0x10f], 0
je 0x4e4d56
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
add eax, 0x8a
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
lea ecx, [eax + 0x54]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov edx, dword [edx + 0x2e]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x48]
jmp 0x4e4d6d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
add eax, 0x54
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0xc]
mov edx, dword [edx + 0x54]
call fcn.00405420
mov eax, dword [ebp + 8]
cmp byte [eax - 0x10f], 0
je 0x4e4d8c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
cmp byte [eax + 0x8a], 0
je 0x4e4c9a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
cmp byte [eax + 0x8a], 0
jne 0x4e51ff
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xe4]
add eax, 2
call fcn.0040b248
mov edx, dword [ebp + 8]
mov dword [edx - 0x4c], eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0x6c], edx
mov eax, dword [ebp + 8]
add eax, 0xffffff54
xor ecx, ecx
mov edx, 0x40
call fcn.00403aa4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov edx, dword [ebp + 8]
mov dword [edx - 0xac], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xe4]
mov edx, dword [ebp + 8]
mov dword [edx - 0xa8], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0xf0]
mov dword [eax - 0xa4], ecx
mov ecx, dword [edx - 0xec]
mov dword [eax - 0xa0], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0x9c], edx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0x98], edx
mov eax, dword [ebp + 8]
mov dword [eax - 0x94], 0
mov dword [eax - 0x90], 0
xor eax, eax
push ebp
push 0x4e51f4
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4e4e83
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x4e520c
mov eax, dword [ebp + 8]
add eax, 0xffffff54
mov ecx, 0x40
call fcn.004ce6cc
call fcn.004cc640
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e5183
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0xe0]
mov dword [eax + 0x98], ecx
mov ecx, dword [edx - 0xdc]
mov dword [eax + 0x9c], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
cmp byte [eax + 0x89], 0
je 0x4e4fac
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
fild qword [eax + 0x98]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
fild qword [eax + 0xa0]
fdivp st(1)
fmul dword [0x4e5214]
add esp, 0xfffffff8
fstp qword [esp]
wait
push 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
add eax, 0x88
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov cl, byte [ecx + 0x6f]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov edx, dword [edx + 0x2e]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
cmp byte [eax + 0x88], 0
jne 0x4e51b1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
fild qword [eax + 0x98]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
fild qword [eax + 0xa0]
fdivp st(1)
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
fild dword [eax + 0x70]
faddp st(1)
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
fild dword [eax + 0x74]
fdivp st(1)
fmul dword [0x4e5214]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
add eax, 0x88
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov dl, byte [edx + 0x6f]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov cl, 1
mov ebx, dword [eax]
call dword [ebx + 0x34]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
cmp byte [eax + 0x88], 0
jne 0x4e51b1
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xec]
mov eax, dword [eax - 0xf0]
mov ecx, dword [ebp + 8]
sub eax, dword [ecx - 0xe0]
sbb edx, dword [ecx - 0xdc]
push edx
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xe4]
cdq
cmp edx, dword [esp + 4]
jne 0x4e4fe5
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4e4ffe
jmp 0x4e4fe9
pop edx
pop eax
jge 0x4e4ffe
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xe4]
cdq
mov ecx, dword [ebp + 8]
mov dword [ecx - 0x48], eax
mov dword [ecx - 0x44], edx
jmp 0x4e5025
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xec]
mov eax, dword [eax - 0xf0]
mov ecx, dword [ebp + 8]
sub eax, dword [ecx - 0xe0]
sbb edx, dword [ecx - 0xdc]
mov ecx, dword [ebp + 8]
mov dword [ecx - 0x48], eax
mov dword [ecx - 0x44], edx
push 0
push 2
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x44]
mov eax, dword [eax - 0x48]
call fcn.004066a0
mov ecx, dword [ebp + 8]
mov dword [ecx - 0x48], eax
mov dword [ecx - 0x44], edx
push 0
push 2
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x44]
mov eax, dword [eax - 0x48]
call fcn.004066c4
mov ecx, dword [ebp + 8]
mov dword [ecx - 0x48], eax
mov dword [ecx - 0x44], edx
mov eax, dword [ebp + 8]
cmp dword [eax - 0x44], 0
jne 0x4e506f
cmp dword [eax - 0x48], 0x200
jae 0x4e5071
jmp 0x4e50af
jl 0x4e50af
mov eax, dword [ebp + 8]
push eax
call fcn.004e4890
pop ecx
mov ecx, dword [ebp + 8]
mov dword [ecx - 0xd0], eax
mov dword [ecx - 0xcc], edx
mov eax, dword [ebp - 0x24]
mov ecx, 0x14
xor edx, edx
div ecx
xor edx, edx
mov ecx, dword [ebp + 8]
cmp edx, dword [ecx - 0xcc]
jne 0x4e50ad
cmp eax, dword [ecx - 0xd0]
jbe 0x4e5040
jmp 0x4e50af
jle 0x4e5040
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
call fcn.004e47d4
pop ecx
test al, al
jne 0x4e50d3
call fcn.00404e08
jmp 0x4e51ff
mov eax, dword [ebp + 8]
push eax
call fcn.004e498c
pop ecx
test al, al
jne 0x4e50eb
call fcn.00404e08
jmp 0x4e51ff
mov eax, dword [ebp + 8]
lea ecx, [eax - 0xe8]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xc8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x6c]
call fcn.004de2d4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc8]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x6c]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x114]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.004eebb0
test al, al
jne 0x4e513a
call fcn.00404e08
jmp 0x4e51ff
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x6c]
call fcn.00402ed4
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0x6c], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xc4]
mov eax, dword [eax - 0xc8]
mov ecx, dword [ebp + 8]
add dword [ecx - 0x120], eax
adc dword [ecx - 0x11c], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x44]
mov eax, dword [eax - 0x48]
mov ecx, dword [ebp + 8]
add dword [ecx - 0xe0], eax
adc dword [ecx - 0xdc], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xdc]
mov eax, dword [eax - 0xe0]
mov ecx, dword [ebp + 8]
cmp edx, dword [ecx - 0xec]
jne 0x4e51ab
cmp eax, dword [ecx - 0xf0]
jb 0x4e4ea1
jmp 0x4e51b1
jl 0x4e4ea1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e51fb
mov eax, dword [ebp + 8]
add eax, 0xffffff54
call fcn.004cfccc
mov eax, dword [ebp + 8]
cmp dword [eax - 0x6c], 0
je 0x4e51df
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x6c]
call fcn.00402ed4
mov eax, dword [ebp + 8]
cmp dword [eax - 0x4c], 0
je 0x4e51f3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
call fcn.00402ed4
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret