Function at 0x43af53
Capabilities:
Get memory capacity

Disassembly:
push 0x180
mov eax, 0x5bf9bf
call fcn.00580ed4
push str.SystemInfo_
lea eax, [ebp - 0x138]
push eax
call fcn.00408561
and dword [ebp - 4], 0
lea esi, [ebp - 0x13c]
call fcn.0041dd6f
mov byte [ebp - 4], 1
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x138]
call fcn.0040ce50
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.004085a2
mov esi, 0x679890
push esi
lea eax, [ebp - 0x138]
push eax
call fcn.00408624
call fcn.0041f23d
mov edi, eax
lea eax, [ebp - 0x148]
push eax
call fcn.0040850b
mov byte [ebp - 4], 2
push edi
push str._i_MHz
lea eax, [ebp - 0x148]
call fcn.00417833
mov eax, dword [ebp - 0x148]
pop ecx
pop ecx
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x138]
call fcn.0040ce50
push esi
lea eax, [ebp - 0x138]
push eax
call fcn.00408624
lea eax, [ebp - 0x18c]
push eax
mov dword [ebp - 0x18c], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
lea eax, [ebp - 0x140]
push eax
call fcn.0040850b
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x184]
mov ecx, dword [ebp - 0x180]
shrd eax, ecx, 0x14
shr ecx, 0x14
push ecx
push eax
mov edi, str._i_MB
push edi
lea eax, [ebp - 0x140]
call fcn.00417833
mov eax, dword [ebp - 0x140]
add esp, 0xc
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x138]
call fcn.0040ce50
push esi
lea eax, [ebp - 0x138]
push eax
call fcn.00408624
mov eax, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0x178]
shrd eax, ecx, 0x14
shr ecx, 0x14
push ecx
push eax
push edi
lea eax, [ebp - 0x140]
call fcn.00417833
mov eax, dword [ebp - 0x140]
add esp, 0xc
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x138]
call fcn.0040ce50
push esi
lea eax, [ebp - 0x138]
push eax
call fcn.00408624
lea eax, [ebp - 0x134]
push eax
mov dword [ebp - 0x134], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push str.Workstation
lea eax, [ebp - 0x144]
push eax
call fcn.00408561
mov byte [ebp - 4], 4
cmp byte [ebp - 0x1a], 2
jne 0x43b0fb
push str.Domain_Controller
lea eax, [ebp - 0x144]
push eax
call fcn.00408606
cmp byte [ebp - 0x1a], 3
jne 0x43b112
push str.Server
lea eax, [ebp - 0x144]
push eax
call fcn.00408606
mov eax, dword [ebp - 0x144]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x138]
call fcn.0040ce50
push esi
lea eax, [ebp - 0x138]
push eax
call fcn.00408624
mov eax, dword [0x6c8ed8]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x138]
call fcn.0040ce50
push esi
lea eax, [ebp - 0x138]
push eax
call fcn.00408624
mov eax, dword [0x6c8edc]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x138]
call fcn.0040ce50
push esi
lea eax, [ebp - 0x138]
push eax
call fcn.00408624
mov eax, dword [0x6c8ee0]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x138]
call fcn.0040ce50
push esi
lea eax, [ebp - 0x138]
push eax
call fcn.00408624
mov eax, dword [0x6c8ee4]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x138]
call fcn.0040ce50
push esi
lea eax, [ebp - 0x138]
push eax
call fcn.00408624
mov eax, dword [0x6c8ee8]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x138]
call fcn.0040ce50
push esi
lea eax, [ebp - 0x138]
push eax
call fcn.00408624
lea edi, [ebp - 0x13c]
call fcn.0041e130
mov byte [ebp - 4], 5
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x138]
call fcn.0040ce50
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.004085a2
push esi
lea eax, [ebp - 0x138]
push eax
call fcn.00408624
lea eax, [ebp - 0x13c]
push eax
call fcn.0041de01
pop ecx
mov byte [ebp - 4], 6
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x138]
call fcn.0040ce50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x13c]
call fcn.004085a2
push esi
lea eax, [ebp - 0x138]
push eax
call fcn.00408624
mov eax, dword [0x6c8eec]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x138]
call fcn.0040ce50
push 0x677fe0
lea eax, [ebp - 0x138]
push eax
call fcn.00408624
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x13c], esp
lea ecx, [ebp - 0x138]
push ecx
push eax
call fcn.00408532
mov byte [ebp - 4], 7
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 8]
call fcn.0043874d
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x144]
call fcn.004085a2
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x140]
call fcn.004085a2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x148]
call fcn.004085a2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.004085a2
call fcn.00580f57
ret 4