Function at 0x46bda0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ef937
mov eax, dword fs:[0]
push eax
sub esp, 0x550
mov eax, dword [0x70f200]
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 eax, dword [ebp + 8]
lea ecx, [ebp - 0x228]
xorps xmm0, xmm0
mov dword [ebp - 0x558], eax
movq qword [ebp - 0x228], xmm0
mov dword [ebp - 0x220], 0
call fcn.005dc5e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24c]
xorps xmm0, xmm0
mov dword [ebp - 0x244], 0
movq qword [ebp - 0x24c], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x240]
movq qword [ebp - 0x240], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x22c], 0
lea ecx, [ebp - 0x234]
movq qword [ebp - 0x234], xmm0
call fcn.005dc5e0
push 1
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 3
call fcn.005d0610
push 0x200
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.00420090
mov eax, reloc.OLEAUT32.dll_SysReAllocString
lea edi, [ebp - 0x214]
add esp, 0xc
mov dword [ebp - 0x550], eax
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
mov dword [edi], eax
lea edi, [edi + 0x10]
mov eax, dword [ebp - 0x550]
mov dword [edi - 0xc], esi
inc eax
mov dword [edi - 8], ecx
mov dword [edi - 4], edx
mov dword [ebp - 0x550], eax
cmp eax, 0x80000005
jb 0x46be96
push 7
push 0x1b5
push ecx
push 0
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x228]
call fcn.005d9f40
mov ecx, eax
call fcn.005da0f0
push 8
push 0
push 0x62439c
push str._Intel_R_AMD__s_TM_ProcessorCPU_s
lea ecx, [ebp - 0x228]
call fcn.005d9660
xorps xmm0, xmm0
xor esi, esi
movlpd qword [ebp - 0x554], xmm0
push str.Kernel32.dll
movlpd qword [ebp - 0x21c], xmm0
mov dword [ebp - 0x550], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
mov dword [ebp - 0x554], edi
test edi, edi
je 0x46bf42
push str.GetPhysicallyInstalledSystemMemory
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [ebp - 0x550], esi
mov byte [ebp - 4], 4
test edi, edi
je 0x46bf57
test esi, esi
je 0x46bf57
lea eax, [ebp - 0x21c]
push eax
call esi
mov ecx, dword [ebp - 0x21c]
test ecx, ecx
jne 0x46c00c
mov eax, dword [ebp - 0x218]
test eax, eax
jne 0x46c012
lea ecx, [ebp - 0x2bc]
call fcn.00402870
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 4], 5
call fcn.005894d0
push 0
push 0x400
push dword [ebp - 0x2b8]
push dword [ebp - 0x2bc]
call fcn.0042fd90
lea ecx, [ebp - 0x2bc]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], edx
mov byte [ebp - 4], 4
call fcn.004028e0
mov ecx, dword [ebp - 0x21c]
test ecx, ecx
jne 0x46c00c
mov eax, dword [ebp - 0x218]
test eax, eax
jne 0x46c012
lea eax, [ebp - 0x28c]
mov dword [ebp - 0x28c], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x284]
mov eax, dword [ebp - 0x280]
shrd ecx, eax, 0xa
shr eax, 0xa
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], eax
jmp 0x46c012
mov eax, dword [ebp - 0x218]
push ecx
push 1
push eax
push ecx
lea ecx, [ebp - 0x24c]
call fcn.005daea0
push 0x274
lea eax, [ebp - 0x54c]
push 0
push eax
call fcn.00420090
add esp, 0xc
lea ecx, [ebp - 0x54c]
call fcn.0059a7f0
mov ecx, 0x6db6c4
mov byte [ebp - 4], 6
call fcn.005988b0
push eax
lea ecx, [ebp - 0x54c]
call fcn.0059a610
test al, al
je 0x46c093
lea ecx, [ebp - 0x54c]
call fcn.00599f60
push edx
push eax
lea ecx, [ebp - 0x234]
call fcn.00597fd0
push 0
lea ecx, [ebp - 0x54c]
call fcn.00598460
lea edx, [ebp - 0x240]
mov ecx, eax
call fcn.00597f70
push 0
push 0
push 0
push 0x627828
lea ecx, [ebp - 0x240]
call fcn.005dc190
push eax
push 0x62438c
lea ecx, [ebp - 0x234]
call fcn.005dc190
push eax
push 0x6558f0
lea ecx, [ebp - 0x24c]
call fcn.005dc190
push eax
push 0x6558f0
lea ecx, [ebp - 0x228]
call fcn.005dc190
mov ecx, dword [ebp - 0x558]
push eax
push 0x6db6cc
call fcn.005dc200
lea ecx, [ebp - 0x54c]
mov bl, byte [eax + 8]
call fcn.004023a0
test edi, edi
je 0x46c106
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x234]
call fcn.005dc430
lea ecx, [ebp - 0x240]
call fcn.005dc430
lea ecx, [ebp - 0x24c]
call fcn.005dc430
lea ecx, [ebp - 0x228]
call fcn.005dc430
mov al, bl
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.0041e1b5
mov esp, ebp
pop ebp
ret 4