Function at 0x1002e800
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x101a49d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
push 0
push 0x1018ed8c
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
call fcn.10051fd0
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x1002eeac
mov ecx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x84]
shrd ecx, eax, 0x14
shr eax, 0x14
push eax
push ecx
lea ecx, [ebp - 0x4c]
call fcn.10022cd0
add esp, 8
push 0x16
push str.Total_Physical_Memory
push ecx
mov ecx, eax
call fcn.1005d830
mov esi, eax
mov dword [ebp - 0x34], 0
push 0x18
lea eax, [ebp - 0x34]
mov dword [ebp - 0x24], 0
push esi
push eax
mov dword [ebp - 0x20], 0
call fcn.1011b630
add esp, 0xc
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
lea ecx, [ebp - 0x34]
mov word [esi], ax
push 4
push str._MB_n
call fcn.100520e0
mov esi, eax
mov dword [ebp - 0x1c], 0
push 0x18
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], 0
push esi
push eax
mov dword [ebp - 8], 0
call fcn.1011b630
xor eax, eax
mov dword [esi + 0x10], 0
add esp, 0xc
mov word [esi], ax
mov dword [esi + 0x14], 7
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 8
mov ecx, edi
push dword [ebp - 0xc]
cmovae eax, dword [ebp - 0x1c]
push eax
call fcn.100520e0
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x1002e956
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002e94c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002eebe
push edx
push ecx
call fcn.1011a823
add esp, 8
mov edx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
cmp edx, 8
jb 0x1002e9a4
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002e99a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002eebe
push edx
push ecx
call fcn.1011a823
add esp, 8
mov edx, dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp edx, 8
jb 0x1002e9f2
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002e9e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002eebe
push edx
push ecx
call fcn.1011a823
add esp, 8
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x7c]
shrd ecx, eax, 0x14
shr eax, 0x14
push eax
push ecx
lea ecx, [ebp - 0x4c]
call fcn.10022cd0
add esp, 8
push 0x1a
push str.Available_Physical_Memory
push ecx
mov ecx, eax
call fcn.1005d830
mov esi, eax
mov dword [ebp - 0x34], 0
push 0x18
lea eax, [ebp - 0x34]
mov dword [ebp - 0x24], 0
push esi
push eax
mov dword [ebp - 0x20], 0
call fcn.1011b630
add esp, 0xc
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
lea ecx, [ebp - 0x34]
mov word [esi], ax
push 4
push str._MB_n
call fcn.100520e0
mov esi, eax
mov dword [ebp - 0x1c], 0
push 0x18
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], 0
push esi
push eax
mov dword [ebp - 8], 0
call fcn.1011b630
xor eax, eax
mov dword [esi + 0x10], 0
add esp, 0xc
mov word [esi], ax
mov dword [esi + 0x14], 7
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 8
mov ecx, edi
push dword [ebp - 0xc]
cmovae eax, dword [ebp - 0x1c]
push eax
call fcn.100520e0
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x1002eaec
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002eae2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002eec3
push edx
push ecx
call fcn.1011a823
add esp, 8
mov edx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
cmp edx, 8
jb 0x1002eb3a
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002eb30
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002eec3
push edx
push ecx
call fcn.1011a823
add esp, 8
mov edx, dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp edx, 8
jb 0x1002eb88
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002eb7e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002eec3
push edx
push ecx
call fcn.1011a823
add esp, 8
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x64]
shrd ecx, eax, 0x14
shr eax, 0x14
push eax
push ecx
lea ecx, [ebp - 0x4c]
call fcn.10022cd0
add esp, 8
push 0x15
push str.Total_Virtual_Memory
push ecx
mov ecx, eax
call fcn.1005d830
mov esi, eax
mov dword [ebp - 0x34], 0
push 0x18
lea eax, [ebp - 0x34]
mov dword [ebp - 0x24], 0
push esi
push eax
mov dword [ebp - 0x20], 0
call fcn.1011b630
add esp, 0xc
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
lea ecx, [ebp - 0x34]
mov word [esi], ax
push 4
push str._MB_n
call fcn.100520e0
mov esi, eax
mov dword [ebp - 0x1c], 0
push 0x18
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], 0
push esi
push eax
mov dword [ebp - 8], 0
call fcn.1011b630
xor eax, eax
mov dword [esi + 0x10], 0
add esp, 0xc
mov word [esi], ax
mov dword [esi + 0x14], 7
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 8
mov ecx, edi
push dword [ebp - 0xc]
cmovae eax, dword [ebp - 0x1c]
push eax
call fcn.100520e0
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x1002ec82
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002ec78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002eec8
push edx
push ecx
call fcn.1011a823
add esp, 8
mov edx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
cmp edx, 8
jb 0x1002ecd0
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002ecc6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002eec8
push edx
push ecx
call fcn.1011a823
add esp, 8
mov edx, dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp edx, 8
jb 0x1002ed1e
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002ed14
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002eec8
push edx
push ecx
call fcn.1011a823
add esp, 8
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x5c]
shrd ecx, eax, 0x14
shr eax, 0x14
push eax
push ecx
lea ecx, [ebp - 0x4c]
call fcn.10022cd0
add esp, 8
push 0x19
push str.Available_Virtual_Memory
push ecx
mov ecx, eax
call fcn.1005d830
mov esi, eax
mov dword [ebp - 0x34], 0
push 0x18
lea eax, [ebp - 0x34]
mov dword [ebp - 0x24], 0
push esi
push eax
mov dword [ebp - 0x20], 0
call fcn.1011b630
add esp, 0xc
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
lea ecx, [ebp - 0x34]
mov word [esi], ax
push 4
push str._MB_n
call fcn.100520e0
mov esi, eax
mov dword [ebp - 0x1c], 0
push 0x18
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], 0
push esi
push eax
mov dword [ebp - 8], 0
call fcn.1011b630
xor eax, eax
mov dword [esi + 0x10], 0
add esp, 0xc
mov word [esi], ax
mov dword [esi + 0x14], 7
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 8
mov ecx, edi
push dword [ebp - 0xc]
cmovae eax, dword [ebp - 0x1c]
push eax
call fcn.100520e0
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x1002ee18
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002ee0e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002eecd
push edx
push ecx
call fcn.1011a823
add esp, 8
mov edx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
cmp edx, 8
jb 0x1002ee62
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002ee58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002eecd
push edx
push ecx
call fcn.1011a823
add esp, 8
mov edx, dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp edx, 8
jb 0x1002eeac
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002eea2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002eecd
push edx
push ecx
call fcn.1011a823
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.1011a2e1
mov esp, ebp
pop ebp
ret
call fcn.10125fc5
call fcn.10125fc5
call fcn.10125fc5
call fcn.10125fc5
int3