Function at 0x42cd90
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e0977
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x663000]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0xbc], vtable.srl::Size.0
movlpd qword [ebp - 0xb4], xmm0
mov dword [ebp - 0xac], vtable.srl::Size.0
movlpd qword [ebp - 0xa4], xmm0
mov dword [ebp - 0x8c], vtable.srl::Size.0
movlpd qword [ebp - 0x84], xmm0
mov dword [ebp - 0x9c], vtable.srl::Size.0
movlpd qword [ebp - 0x94], xmm0
mov byte [ebp - 4], 4
push str.kernel32.dll
mov dword [ebp - 0x74], 0x40
mov dword [ebp - 0x34], 0x20
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x42cf54
push ecx
lea ecx, [ebp - 0x2d0]
call fcn.00415de0
push ecx
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 5
call fcn.00415de0
push ecx
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 6
call fcn.00415de0
push str.GlobalMemoryStatusEx
mov byte [ebp - 4], 7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
call esi
push str.GetPhysicallyInstalledSystemMemory
push edi
mov ebx, eax
call esi
mov esi, eax
test ebx, ebx
je 0x42cebd
lea eax, [ebp - 0x74]
push eax
call ebx
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xa4], ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x80], ecx
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x90], ecx
jmp 0x42cef7
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], eax
test esi, esi
je 0x42cf28
lea eax, [ebp - 0x7c]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x7c], xmm0
call esi
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x78]
shld ecx, eax, 0xa
shl eax, 0xa
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], ecx
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x170]
call fcn.00415cc0
lea ecx, [ebp - 0x220]
call fcn.00415cc0
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 4
call fcn.00415cc0
mov eax, dword [0x66d6f4]
test eax, eax
jne 0x42cf8c
push 0x80
call fcn.00465805
add esp, 4
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x42cf81
mov ecx, eax
call fcn.0040dc20
jmp 0x42cf83
xor eax, eax
mov byte [ebp - 4], 4
mov dword [0x66d6f4], eax
lea esi, [eax + 0x64]
lea eax, [ebp - 0xbc]
mov ecx, esi
push eax
push 0x11597
call fcn.0041a920
lea eax, [ebp - 0x8c]
mov ecx, esi
push eax
push 0x116d5
call fcn.0041a920
lea eax, [ebp - 0x9c]
mov ecx, esi
push eax
push 0x116d6
call fcn.0041a920
lea eax, [ebp - 0xac]
mov ecx, esi
push eax
push 0x117b8
call fcn.0041a920
push 0x62de00
push 0x11606
mov ecx, esi
call fcn.0041ab80
push 0x62de00
push 0x11607
mov ecx, esi
call fcn.0041ab80
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005af765
mov esp, ebp
pop ebp
ret