Function at 0x10026d20
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ab8cc
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x100df514]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0xa0], eax
lea edi, [eax + 0x28]
mov esi, dword [edi]
mov ecx, edi
mov dword [ebp - 4], 0
push dword [esi + 4]
call fcn.100285d0
mov eax, dword [edi]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
call fcn.10020180
mov ecx, eax
call fcn.10034e20
push eax
lea ecx, [ebp - 0xf8]
call fcn.10018370
mov esi, dword [ebp - 0xf8]
mov dword [ebp - 4], 1
test esi, esi
je 0x1002745a
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xac], 0
push ecx
lea ecx, [ebp - 0xac]
mov dword [ebp - 0xa8], 0
mov eax, dword [esi]
push ecx
push 0
push esi
call dword [eax + 0x24]
mov ebx, eax
test ebx, ebx
jns 0x10026df3
push 0x100b7880
push esi
push ebx
call fcn.10061cb0
test ebx, ebx
jne 0x1002745a
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x1002745a
push eax
push dword [ebp - 0xac]
lea ecx, [ebp - 0x118]
call fcn.10075ba0
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x104]
call fcn.10075a70
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], 0
push eax
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x9c], 0
call fcn.10075b70
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x104]
call fcn.10075b70
cmp dword [ebp - 0x9c], 0xf10
jb 0x1002744f
mov eax, dword [ebp - 0x114]
cmp dword [eax + 8], 0
jne 0x1002744f
push 0x3c
lea eax, [ebp - 0x90]
mov dword [ebp - 0x94], 0x40
push 0
push eax
call fcn.10080db0
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
xor ebx, ebx
mov dword [ebp - 0xf4], ebx
cmp dword [ebp - 0xa4], ebx
jle 0x1002744f
mov esi, dword [ebp - 0xa0]
nop dword [eax + eax]
lea eax, [ebp - 0xb0]
mov dword [ebp - 0x98], 0
push eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0xb0], 0
push eax
lea ecx, [ebp - 0x104]
call fcn.10075b10
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0x9c]
jne 0x10027449
cmp dword [ebp - 0x98], 0
je 0x10027449
push str.machine
lea ecx, [ebp - 0xb4]
call fcn.10012690
mov eax, dword [ebp - 0x98]
mov ecx, edi
add eax, 4
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.1001bd10
mov ecx, eax
call fcn.1001bc40
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 2
call fcn.100090c0
push 0x100b7ff8
lea ecx, [ebp - 0xb8]
call fcn.10012690
mov eax, dword [ebp - 0x98]
mov ecx, edi
add eax, 0xce
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.1001bd10
mov ecx, eax
call fcn.1001bc40
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 2
call fcn.100090c0
push 0x100b6b70
lea ecx, [ebp - 0xbc]
call fcn.10012690
mov eax, dword [ebp - 0x98]
mov ecx, edi
add eax, 0x198
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.1001bd10
mov ecx, eax
call fcn.1001bc40
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 2
call fcn.100090c0
push 0x100b8000
lea ecx, [ebp - 0xc0]
call fcn.10012690
mov eax, dword [ebp - 0x98]
mov ecx, edi
add eax, 0x262
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.1001bd10
mov ecx, eax
call fcn.1001bc40
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 2
call fcn.100090c0
push str.chip
lea ecx, [ebp - 0xc4]
call fcn.10012690
mov eax, dword [ebp - 0x98]
mov ecx, edi
add eax, 0x32c
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.1001bd10
mov ecx, eax
call fcn.1001bc40
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 2
call fcn.100090c0
push 0x100b8014
lea ecx, [ebp - 0xc8]
call fcn.10012690
mov eax, dword [ebp - 0x98]
mov ecx, edi
add eax, 0x3f6
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.1001bd10
mov ecx, eax
call fcn.1001bc40
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 2
call fcn.100090c0
push str.ram_capacity
lea ecx, [ebp - 0xcc]
call fcn.10012690
push dword [ebp - 0x88]
lea eax, [ebp - 0x12]
mov byte [ebp - 4], 9
push dword [ebp - 0x8c]
push eax
call fcn.1001b0d0
mov ecx, eax
mov dword [ebp - 0x44], 0
xor eax, eax
add esp, 0xc
mov word [ebp - 0x54], ax
mov edx, 7
lea eax, [ebp - 0x12]
mov dword [ebp - 0x40], edx
cmp ecx, eax
je 0x1002710d
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x54]
call fcn.10018190
mov edx, dword [ebp - 0x40]
cmp edx, 8
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x54]
mov ecx, edi
cmovae eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.1001bd10
mov ecx, eax
call fcn.1001bc40
lea ecx, [ebp - 0x54]
call fcn.100092d0
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 2
call fcn.100090c0
push 0x100b8038
lea ecx, [ebp - 0xd0]
call fcn.10012690
mov eax, dword [ebp - 0x98]
mov ecx, edi
add eax, 0x4c0
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.1001bd10
mov ecx, eax
call fcn.1001bc40
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 2
call fcn.100090c0
push str.directx
lea ecx, [ebp - 0xd4]
call fcn.10012690
mov eax, dword [ebp - 0x98]
mov ecx, edi
add eax, 0xa52
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.1001bd10
mov ecx, eax
call fcn.1001bc40
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 2
call fcn.100090c0
push 0x100b805c
lea ecx, [ebp - 0xd8]
call fcn.10012690
mov eax, dword [ebp - 0x98]
mov ecx, edi
add eax, 0x58a
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.1001bd10
mov ecx, eax
call fcn.1001bc40
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 2
call fcn.100090c0
push str.monitor
lea ecx, [ebp - 0xdc]
call fcn.10012690
mov eax, dword [ebp - 0x98]
mov ecx, edi
add eax, 0x654
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.1001bd10
mov ecx, eax
call fcn.1001bc40
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 2
call fcn.100090c0
push str.cdrom
lea ecx, [ebp - 0xe0]
call fcn.10012690
mov eax, dword [ebp - 0x98]
mov ecx, edi
add eax, 0x71e
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.1001bd10
mov ecx, eax
call fcn.1001bc40
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 2
call fcn.100090c0
push str.sound_card
lea ecx, [ebp - 0xe4]
call fcn.10012690
mov eax, dword [ebp - 0x98]
mov ecx, edi
add eax, 0x7e8
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.1001bd10
mov ecx, eax
call fcn.1001bc40
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 2
call fcn.100090c0
push str.net_card
lea ecx, [ebp - 0xe8]
call fcn.10012690
mov eax, dword [ebp - 0x98]
mov ecx, edi
add eax, 0x8b2
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.1001bd10
mov ecx, eax
call fcn.1001bc40
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 2
call fcn.100090c0
push str.is_notebook
lea ecx, [ebp - 0xec]
call fcn.10012690
mov eax, dword [ebp - 0x98]
mov byte [ebp - 4], 0x12
push dword [eax + 0x97c]
lea eax, [ebp - 0x54]
push eax
call fcn.10028de0
add esp, 8
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x13
jb 0x1002735c
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xec]
mov ecx, edi
push eax
call fcn.1001bd10
mov ecx, eax
call fcn.1001bc40
lea ecx, [ebp - 0x54]
call fcn.100092d0
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 2
call fcn.100090c0
push str.release_id
lea ecx, [ebp - 0xa0]
call fcn.10012690
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 0x14
push eax
mov ecx, esi
call fcn.100204b0
push eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x15
push eax
mov ecx, edi
call fcn.1001bd10
mov ecx, eax
call fcn.1001bbd0
lea ecx, [ebp - 0xfc]
call fcn.100090c0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 2
call fcn.100090c0
cmp dword [ebp - 0x9c], 0x10ac
jb 0x10027436
mov ebx, dword [ebp - 0x98]
lea ecx, [ebp - 0xf0]
push str.os_ver
call fcn.10012690
lea eax, [ebx + 0xfe0]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0xf0]
mov ecx, edi
push eax
call fcn.1001bd10
mov ecx, eax
call fcn.1001bc40
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 2
call fcn.100090c0
mov ebx, dword [ebp - 0xf4]
inc ebx
mov dword [ebp - 0xf4], ebx
cmp ebx, dword [ebp - 0xa4]
jl 0x10026ed0
mov esi, dword [ebp - 0xf8]
lea ecx, [ebp - 0x118]
call fcn.10075bd0
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x1002746b
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100760cb
mov esp, ebp
pop ebp
ret