Function at 0x10026aa0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ab11c
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x100de514]
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.10028350
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.1001ff00
mov ecx, eax
call fcn.100346a0
push eax
lea ecx, [ebp - 0xf8]
call fcn.100180e0
mov esi, dword [ebp - 0xf8]
mov dword [ebp - 4], 1
test esi, esi
je 0x100271da
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 0x10026b73
push 0x100b6860
push esi
push ebx
call fcn.10061510
test ebx, ebx
jne 0x100271da
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x100271da
push eax
push dword [ebp - 0xac]
lea ecx, [ebp - 0x118]
call fcn.100753e0
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x104]
call fcn.100752b0
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], 0
push eax
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x9c], 0
call fcn.100753b0
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x104]
call fcn.100753b0
cmp dword [ebp - 0x9c], 0xf10
jb 0x100271cf
mov eax, dword [ebp - 0x114]
cmp dword [eax + 8], 0
jne 0x100271cf
push 0x3c
lea eax, [ebp - 0x90]
mov dword [ebp - 0x94], 0x40
push 0
push eax
call fcn.100805f0
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 0x100271cf
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.10075350
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0x9c]
jne 0x100271c9
cmp dword [ebp - 0x98], 0
je 0x100271c9
push str.machine
lea ecx, [ebp - 0xb4]
call fcn.10012420
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.1001ba80
mov ecx, eax
call fcn.1001b9b0
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 2
call fcn.100090c0
push 0x100b6fd8
lea ecx, [ebp - 0xb8]
call fcn.10012420
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.1001ba80
mov ecx, eax
call fcn.1001b9b0
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 2
call fcn.100090c0
push 0x100b5b50
lea ecx, [ebp - 0xbc]
call fcn.10012420
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.1001ba80
mov ecx, eax
call fcn.1001b9b0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 2
call fcn.100090c0
push 0x100b6fe0
lea ecx, [ebp - 0xc0]
call fcn.10012420
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.1001ba80
mov ecx, eax
call fcn.1001b9b0
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 2
call fcn.100090c0
push str.chip
lea ecx, [ebp - 0xc4]
call fcn.10012420
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.1001ba80
mov ecx, eax
call fcn.1001b9b0
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 2
call fcn.100090c0
push 0x100b6ff4
lea ecx, [ebp - 0xc8]
call fcn.10012420
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.1001ba80
mov ecx, eax
call fcn.1001b9b0
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 2
call fcn.100090c0
push str.ram_capacity
lea ecx, [ebp - 0xcc]
call fcn.10012420
push dword [ebp - 0x88]
lea eax, [ebp - 0x12]
mov byte [ebp - 4], 9
push dword [ebp - 0x8c]
push eax
call fcn.1001ae40
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 0x10026e8d
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x54]
call fcn.10017f00
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.1001ba80
mov ecx, eax
call fcn.1001b9b0
lea ecx, [ebp - 0x54]
call fcn.100092d0
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 2
call fcn.100090c0
push 0x100b7018
lea ecx, [ebp - 0xd0]
call fcn.10012420
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.1001ba80
mov ecx, eax
call fcn.1001b9b0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 2
call fcn.100090c0
push str.directx
lea ecx, [ebp - 0xd4]
call fcn.10012420
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.1001ba80
mov ecx, eax
call fcn.1001b9b0
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 2
call fcn.100090c0
push 0x100b703c
lea ecx, [ebp - 0xd8]
call fcn.10012420
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.1001ba80
mov ecx, eax
call fcn.1001b9b0
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 2
call fcn.100090c0
push str.monitor
lea ecx, [ebp - 0xdc]
call fcn.10012420
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.1001ba80
mov ecx, eax
call fcn.1001b9b0
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 2
call fcn.100090c0
push str.cdrom
lea ecx, [ebp - 0xe0]
call fcn.10012420
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.1001ba80
mov ecx, eax
call fcn.1001b9b0
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 2
call fcn.100090c0
push str.sound_card
lea ecx, [ebp - 0xe4]
call fcn.10012420
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.1001ba80
mov ecx, eax
call fcn.1001b9b0
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 2
call fcn.100090c0
push str.net_card
lea ecx, [ebp - 0xe8]
call fcn.10012420
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.1001ba80
mov ecx, eax
call fcn.1001b9b0
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 2
call fcn.100090c0
push str.is_notebook
lea ecx, [ebp - 0xec]
call fcn.10012420
mov eax, dword [ebp - 0x98]
mov byte [ebp - 4], 0x12
push dword [eax + 0x97c]
lea eax, [ebp - 0x54]
push eax
call fcn.10028b60
add esp, 8
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x13
jb 0x100270dc
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xec]
mov ecx, edi
push eax
call fcn.1001ba80
mov ecx, eax
call fcn.1001b9b0
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.10012420
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 0x14
push eax
mov ecx, esi
call fcn.10020230
push eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x15
push eax
mov ecx, edi
call fcn.1001ba80
mov ecx, eax
call fcn.1001b940
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 0x100271b6
mov ebx, dword [ebp - 0x98]
lea ecx, [ebp - 0xf0]
push str.os_ver
call fcn.10012420
lea eax, [ebx + 0xfe0]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0xf0]
mov ecx, edi
push eax
call fcn.1001ba80
mov ecx, eax
call fcn.1001b9b0
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 0x10026c50
mov esi, dword [ebp - 0xf8]
lea ecx, [ebp - 0x118]
call fcn.10075410
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x100271eb
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.1007590b
mov esp, ebp
pop ebp
ret