Function at 0x6e7c5c
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x74], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040576c
xor eax, eax
push ebp
push 0x6e80da
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 0x8b0
call fcn.0040ffa4
mov eax, dword [0x7a8aec]
mov eax, dword [eax]
mov edx, 0xe
mov ecx, dword [eax]
call dword [ecx + 0xd0]
mov eax, dword [0x7a8aec]
mov eax, dword [eax]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0xc4]
lea eax, [ebp - 0x70]
call fcn.006e7b04
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [0x7a8c7c]
mov eax, dword [eax]
movsx eax, word [eax + 0x44]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x7a8c7c]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.004913a8
xor edx, edx
mov eax, dword [0x7b5c24]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov byte [ebp - 0x25], 0
xor edx, edx
push ebp
push 0x6e80b5
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x427220]
call fcn.0042baa8
mov dword [ebp - 0x14], eax
test ebx, ebx
jne 0x6e7d67
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.0042bc90
mov eax, dword [0x7a8a0c]
mov eax, dword [eax]
mov edx, dword [0x7a7f54]
push dword [edx + eax*4]
push 0x6e80f0
push 0x6e80fc
push 0x6e8108
push dword [ebp - 8]
push 0x6e8118
lea eax, [ebp - 0x74]
mov edx, 6
call fcn.0040563c
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 4]
call fcn.00471f74
jmp 0x6e7d71
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0x50], 0x20
lea eax, [ebp - 0x50]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [0x7a8cc8]
mov eax, dword [eax]
sub eax, 2
jb 0x6e7d94
je 0x6e7da4
jmp 0x6e7e21
mov eax, dword [ebp - 0x48]
sub eax, 0x3200000
mov dword [ebp - 0x30], eax
jmp 0x6e7e2c
mov eax, dword [0x7a88d8]
cmp dword [eax], 2
jne 0x6e7dc5
mov eax, dword [0x7a82d8]
cmp dword [eax], 5
jne 0x6e7dc5
mov eax, dword [ebp - 0x48]
sub eax, 0x6400000
mov dword [ebp - 0x30], eax
jmp 0x6e7e2c
mov eax, dword [0x7a88d8]
cmp dword [eax], 1
jne 0x6e7de6
mov eax, dword [0x7a82d8]
cmp dword [eax], 5
jne 0x6e7de6
mov eax, dword [ebp - 0x48]
sub eax, 0x6400000
mov dword [ebp - 0x30], eax
jmp 0x6e7e2c
mov eax, dword [0x7a82d8]
cmp dword [eax], 4
jne 0x6e7dfd
mov eax, dword [ebp - 0x48]
sub eax, 0x4b00000
mov dword [ebp - 0x30], eax
jmp 0x6e7e2c
mov eax, dword [0x7a82d8]
cmp dword [eax], 5
jne 0x6e7e14
mov eax, dword [ebp - 0x48]
sub eax, 0x4b00000
mov dword [ebp - 0x30], eax
jmp 0x6e7e2c
mov eax, dword [ebp - 0x48]
sub eax, 0x6400000
mov dword [ebp - 0x30], eax
jmp 0x6e7e2c
mov eax, dword [ebp - 0x48]
sub eax, 0x6400000
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
call fcn.0042c234
mov eax, dword [ebp - 0x14]
call fcn.0042c24c
lea eax, [ebp - 0x70]
call fcn.006e7b78
mov eax, dword [0x7a8aec]
mov eax, dword [eax]
call fcn.004b7ac4
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax + 0xc]
mov eax, ebx
mov edx, dword [0x4274cc]
call fcn.00404634
test al, al
je 0x6e7e79
mov eax, ebx
mov edx, dword [0x4274cc]
call fcn.00404658
mov dword [ebp - 0x24], eax
jmp 0x6e7ec3
mov eax, ebx
mov edx, dword [0x4e99d0]
call fcn.00404634
test al, al
je 0x6e7ead
mov dl, 1
mov eax, dword [0x4274cc]
call fcn.0042e00c
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x25], 1
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x6e7ec3
mov ecx, 0x6e8124
mov dl, 1
mov eax, dword [0x408cb0]
call fcn.0040e380
call fcn.00404c74
mov eax, dword [0x7a8aec]
mov eax, dword [eax]
call fcn.004b7ac4
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x6e7f69
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x24]
call fcn.005261fc
mov eax, dword [0x7a8aec]
mov eax, dword [eax]
call fcn.004b7ac4
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0042c234
push eax
mov eax, dword [ebp - 0x14]
call fcn.0042c24c
push eax
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x526184]
call fcn.0052969c
mov edx, dword [ebp - 4]
mov dword [edx + 0x8b0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e7f70
mov eax, dword [ebp - 0x18]
call fcn.00402ab4
mov eax, dword [ebp - 0x1c]
call fcn.00402ab4
mov eax, dword [ebp - 0x20]
call fcn.00402ab4
ret