Function at 0x102e49a0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x1045a1c0
push 0x10454280
push 4
mov edi, ecx
call fcn.1029e230
mov esi, dword [edi + 0xc]
push 0x1045a1c0
push 0x10454280
push 1
call fcn.1029e230
mov eax, dword [ebp + 8]
add esp, 0x18
mov dword [edi + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0xc]
mov ebx, dword [eax + 0x24]
test ebx, ebx
jne 0x102e4a90
push 0xffffffffffffffff
push 0x10469160
xorps xmm0, xmm0
mov dword [ebp - 0x4c], ebx
lea eax, [ebp - 0x24]
push 0x20
push eax
movups xmmword [ebp - 0x44], xmm0
movups xmmword [ebp - 0x34], xmm0
call fcn.1043cfe3
add esp, 0x10
mov dword [ebp - 0x4c], 1
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x44], 0x120
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x8c], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x102e4a64
push 0xffffffffffffffff
push 0x10454240
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.1043cfe3
add esp, 0x10
call fcn.1027e6c0
push eax
lea eax, [ebp - 0x4c]
push eax
push 5
push 0x1045a1c0
push 0x43
push 0x1045a200
push dword [edi + 0xc]
push 0x8007000e
call fcn.1029c7f0
mov edi, eax
jmp 0x102e4c16
push edi
mov dword [ebx + 0x118], 9
mov ecx, ebx
push dword [edi + 8]
push 1
push 1
call fcn.102ba590
test al, al
jne 0x102e4b49
push 0xffffffffffffffff
push 0x10469160
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x24]
push 0x20
push eax
movups xmmword [ebp - 0x44], xmm0
movups xmmword [ebp - 0x34], xmm0
call fcn.1043cfe3
add esp, 0x10
mov dword [ebp - 0x4c], 1
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x44], 0x268
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x8c], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x102e4b1d
push 0xffffffffffffffff
push 0x10454240
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.1043cfe3
add esp, 0x10
call fcn.1027e6c0
push eax
lea eax, [ebp - 0x4c]
push eax
push 5
push 0x1045a1c0
push 0x4a
push 0x1045a200
push dword [edi + 0xc]
push 0x8007000e
call fcn.1029c7f0
mov edi, eax
jmp 0x102e4c16
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], 0
push eax
mov ecx, ebx
call fcn.102bafb0
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp + 0x18]
mov edx, dword [eax + 0x10]
test ecx, ecx
je 0x102e4bfc
mov ebx, dword [ecx + 0x14]
test ebx, ebx
je 0x102e4bb3
mov eax, dword [ecx + 0x10]
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
shr ebx, 0x1f
addsd xmm0, qword [ebx*8 + 0x1122e340]
addsd xmm1, qword [eax*8 + 0x1122e340]
divsd xmm1, xmm0
movsd qword [edx + 0x8c0], xmm1
mov ebx, dword [ecx + 0x1c]
test ebx, ebx
je 0x102e4bf1
mov eax, dword [ecx + 0x18]
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
shr ebx, 0x1f
addsd xmm0, qword [ebx*8 + 0x1122e340]
addsd xmm1, qword [eax*8 + 0x1122e340]
divsd xmm1, xmm0
movsd qword [edx + 0x8c8], xmm1
mov eax, dword [ecx]
mov dword [edx + 0x70], eax
mov eax, dword [ecx + 4]
mov dword [edx + 0x74], eax
xorps xmm0, xmm0
movsd qword [edx + 0x8c8], xmm0
push edi
push dword [edi + 0xc]
mov byte [edi + 0x10], 0
call fcn.1029cd40
xor edi, edi
mov ecx, esi
call fcn.102903c0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1045066c
mov esp, ebp
pop ebp
ret 0x14