Function at 0x1000ba14
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067dc6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1000c321
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xbc], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xcc]
movzx eax, byte [eax]
test eax, eax
je 0x1000baab
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
movzx eax, byte [eax]
test eax, eax
je 0x1000baa6
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
jmp 0x1000c31f
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x140], 0x61f9c28a
mov byte [ebp - 0x23], 0
movzx eax, byte [ebp - 0x23]
test eax, eax
je 0x1000baea
push 0
push 0x4a9f
call fcn.100209c0
pop ecx
pop ecx
push 0
push 1
call fcn.1000a9a6
pop ecx
pop ecx
mov ecx, dword [ebp - 0x40]
call fcn.1002139d
movzx eax, al
test eax, eax
je 0x1000bb0f
mov eax, dword [ebp - 0x48]
mov byte [eax], 0
jmp 0x1000c335
mov dword [ebp - 0x8c], 0xfffffff6
push 1
lea ecx, [ebp - 0x104]
call fcn.100213ce
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x130]
push eax
push 1
lea eax, [ebp - 0x104]
push eax
call fcn.1000aeb2
add esp, 0x10
push 0x36cb
push 0
push 0
lea eax, [ebp - 0x104]
push eax
push 0x63e6
lea eax, [ebp - 0x8c]
push eax
call fcn.1000aacf
add esp, 0x18
lea eax, [ebp - 0x8c]
push eax
push 0x3954
push 0x2791
push 0x58c5
push 0
push 0
push 0x43ca
push 1
push 0x3762
push 0x58c9
push 0x6bfa
call fcn.1000f10f
add esp, 0x2c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x104]
call fcn.100214a3
push 0
push 0x3ec4
push 0x6775
push 0x3371
lea eax, [ebp - 0x44]
push eax
push 0x3c55
push 0x4da2
push 1
push 0x6960
call fcn.1000b86d
add esp, 0x24
mov dword [ebp - 0x20], 0x39beb064
mov dword [ebp - 0xc4], 0xfffffff6
mov dword [ebp - 0xc0], 1
mov dword [ebp - 0x98], 0xffffffff
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x58], 9
mov dword [ebp - 0x128], 5
mov dword [ebp - 0xa8], 0xf6b4
mov dword [ebp - 0xdc], 0x4dcd7820
mov dword [ebp - 0x10], 0
jmp 0x1000bc41
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1000bc57
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x170], 0x3e90
jmp 0x1000bc3a
mov dword [ebp - 0x10], 0
jmp 0x1000bc67
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x1000bc7d
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xf8], 0x4122e7df
jmp 0x1000bc60
mov byte [ebp - 0x24], 0
lea eax, [ebp - 0x24]
push eax
push 0
push 0x7871
push 1
push 0
call fcn.1001cf3b
add esp, 0x14
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x20]
je 0x1000bd19
mov dword [ebp - 0x164], 7
mov dword [ebp - 0xec], 0x811ffbe6
mov dword [ebp - 0x20], 0
jmp 0x1000bcc4
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jg 0x1000bd14
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x160], 0xffffffff
mov dword [ebp - 0x3c], 0
jmp 0x1000bceb
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 3
jge 0x1000bd01
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x170], 0xfff7
jmp 0x1000bce4
mov eax, dword [ebp - 0x58]
dec eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0xec], 1
jmp 0x1000bcbd
jmp 0x1000be55
mov dword [ebp - 0x2c], 0x85a1ec8f
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x20], 0
jne 0x1000bd38
mov dword [ebp - 0x68], 1
jmp 0x1000bd3c
and dword [ebp - 0x68], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xf8]
mov dword [ebp - 0x134], eax
xor eax, eax
inc eax
je 0x1000bd66
cmp dword [ebp - 0x98], 0
je 0x1000bd66
mov dword [ebp - 0x54], 1
jmp 0x1000bd6a
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x2c], 0
jne 0x1000bd88
cmp dword [ebp - 0xdc], 0
jne 0x1000bd88
and dword [ebp - 0x60], 0
jmp 0x1000bd8f
mov dword [ebp - 0x60], 1
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x60], eax
je 0x1000bda3
mov dword [ebp - 0x88], 1
jmp 0x1000bdaa
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x88], eax
jge 0x1000bdbe
mov dword [ebp - 0x70], 1
jmp 0x1000bdc2
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x2c], 0
je 0x1000bdfc
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xf8], 0
je 0x1000bdfc
mov dword [ebp - 0x90], 1
jmp 0x1000be03
and dword [ebp - 0x90], 0
cmp dword [ebp - 0x90], 0xc0ed
jg 0x1000be18
mov dword [ebp - 0x78], 1
jmp 0x1000be1c
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
neg eax
mov dword [ebp - 0xc4], eax
mov eax, 0x7d9c
test eax, eax
jne 0x1000be3f
cmp dword [ebp - 0x2c], 0
jne 0x1000be3f
and dword [ebp - 0xa0], 0
jmp 0x1000be49
mov dword [ebp - 0xa0], 1
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x40]
call fcn.1002136c
jmp 0x1000be6b
lea ecx, [ebp - 0x38]
call fcn.100213a9
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x40]
call fcn.10021380
push eax
lea ecx, [ebp - 0x38]
call fcn.100213ae
movzx eax, al
test eax, eax
je 0x1000c2a8
mov dword [ebp - 0x1c], 6
mov dword [ebp - 0x28], 0x829ed890
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x124], 0x38c8a251
mov dword [ebp - 0x120], 0x38c8a251
mov dword [ebp - 0x11c], 0x38c8a251
mov dword [ebp - 0x118], 0x38c8a251
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x158], eax
mov eax, 0xffff
test eax, eax
je 0x1000bf03
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], eax
jne 0x1000beee
mov dword [ebp - 0x80], 1
jmp 0x1000bef2
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x80], eax
jl 0x1000bf03
mov dword [ebp - 0x50], 1
jmp 0x1000bf07
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x50], eax
jl 0x1000bf18
mov dword [ebp - 0x5c], 1
jmp 0x1000bf1c
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x5c], eax
jg 0x1000bf30
mov dword [ebp - 0xd0], 1
jmp 0x1000bf37
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x144], eax
mov eax, 0x68807383
test eax, eax
jne 0x1000bf58
mov eax, 0x47d1afd0
test eax, eax
jne 0x1000bf58
and dword [ebp - 0x64], 0
jmp 0x1000bf5f
mov dword [ebp - 0x64], 1
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x64], eax
jl 0x1000bf70
mov dword [ebp - 0x6c], 1
jmp 0x1000bf74
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x6c], eax
jg 0x1000bf85
mov dword [ebp - 0x74], 1
jmp 0x1000bf89
and dword [ebp - 0x74], 0
mov eax, 0x814b
sub eax, dword [ebp - 0x74]
dec eax
sub eax, dword [ebp - 0x30]
cmp eax, 0xa6f
jne 0x1000c156
push 1
lea ecx, [ebp - 0xb8]
call fcn.100213ce
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 0
jmp 0x1000bfc4
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x1000bfda
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x94], 0xcadd6352
jmp 0x1000bfbd
mov dword [ebp - 0x18], 0
jmp 0x1000bfea
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x1000c003
push dword [ebp - 0x18]
lea ecx, [ebp - 0xb8]
call fcn.100214c8
or dword [eax], 0xffffffff
jmp 0x1000bfe3
mov dword [ebp - 0x30], 0
jmp 0x1000c013
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x1000c02a
push 1
mov edx, 0x9e9
mov cl, 1
call fcn.1000a47f
pop ecx
jmp 0x1000c00c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x7c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x7c]
mov dword [ebp + eax - 0x94], ecx
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x30]
je 0x1000c079
cmp dword [ebp - 0x28], 0
jl 0x1000c060
mov dword [ebp - 0x84], 1
jmp 0x1000c067
and dword [ebp - 0x84], 0
cmp dword [ebp - 0x84], 0xffffffff
je 0x1000c079
mov dword [ebp - 0x4c], 1
jmp 0x1000c07d
and dword [ebp - 0x4c], 0
push 0
lea ecx, [ebp - 0xb8]
call fcn.100214c8
mov ecx, dword [ebp - 0x4c]
cmp ecx, dword [eax]
jne 0x1000c095
cmp dword [ebp - 0x1c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x94]
mov dword [ebp - 0x12c], eax
mov esi, dword [ebp - 0x28]
add esi, 0x63ab
push 0
lea ecx, [ebp - 0xb8]
call fcn.100214c8
sub esi, dword [eax]
push 0
lea ecx, [ebp - 0xb8]
call fcn.100214c8
cmp esi, dword [eax]
jle 0x1000c0e2
xor eax, eax
inc eax
je 0x1000c0e2
mov dword [ebp - 0x9c], 1
jmp 0x1000c0e9
and dword [ebp - 0x9c], 0
push 0
lea ecx, [ebp - 0xb8]
call fcn.100214c8
mov ecx, dword [ebp - 0x9c]
cmp ecx, dword [eax]
jne 0x1000c10c
mov dword [ebp - 0xa4], 1
jmp 0x1000c113
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0xfff8
jne 0x1000c12b
mov dword [ebp - 0xac], 1
jmp 0x1000c132
and dword [ebp - 0xac], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xac]
mov dword [ebp + eax - 0x124], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.100214a3
jmp 0x1000c18b
mov byte [ebp - 0x22], 0
push 0x5b19
push 0x7f6a
push 0x1f10
push 0x5b1e
push 0x4648
push 0
lea eax, [ebp - 0x22]
push eax
push 0x61f1
push 0x744c
call fcn.1000c424
add esp, 0x24
lea ecx, [ebp - 0x38]
call fcn.100213a6
movsx eax, byte [eax]
cmp eax, 0x30
jl 0x1000c292
lea ecx, [ebp - 0x38]
call fcn.100213a6
movsx eax, byte [eax]
cmp eax, 0x39
jg 0x1000c292
push 3
lea ecx, [ebp - 0x150]
call fcn.100213ce
mov dword [ebp - 4], 2
mov dword [ebp - 0x14], 0
jmp 0x1000c1d7
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x1000c1f0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x150]
call fcn.100214c8
and dword [eax], 0
jmp 0x1000c1d0
mov dword [ebp - 0x14], 0
jmp 0x1000c200
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x1000c216
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x114], 0xfffffff8
jmp 0x1000c1f9
push 4
pop eax
imul eax, eax, 3
mov dword [ebp + eax - 0x114], 2
jmp 0x1000c244
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x114]
dec eax
push 4
pop ecx
imul ecx, ecx, 3
mov dword [ebp + ecx - 0x114], eax
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x114], 0
jl 0x1000c25e
push 0
call fcn.1000ed5c
pop ecx
jmp 0x1000c229
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x150]
call fcn.100214a3
push 1
push 0x2668
push 0x2aa5
lea eax, [ebp - 0x38]
push eax
push 0
push 0x7bc0
lea eax, [ebp - 0x44]
push eax
call fcn.1000aa2a
add esp, 0x1c
jmp 0x1000c2a3
mov eax, dword [ebp - 0x44]
and dword [eax], 0
mov eax, dword [ebp - 0x48]
mov byte [eax], 0
jmp 0x1000c335
jmp 0x1000be63
mov dword [ebp - 0x34], 1
mov dword [ebp - 0xd8], 0xbac04ee7
mov dword [ebp - 0x34], 0xb
jmp 0x1000c2c9
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffec
jne 0x1000c303
mov dword [ebp - 0xe0], 1
push 0
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xe0]
push eax
push 0x39cb
push 0
push 0x705d
call fcn.1000e0d5
add esp, 0x1c
jmp 0x1000c2c2
mov byte [ebp - 0x21], 0
push 1
lea eax, [ebp - 0x21]
push eax
push 0
call fcn.1000a5f8
add esp, 0xc
mov eax, dword [ebp - 0x48]
mov byte [eax], 1
jmp 0x1000c335
jmp 0x1000c335
push 0
push 0x67b1
push 0x514d
call fcn.1000adfd
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret