Function at 0x49af24
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
mov byte [ebp - 1], 0
lea eax, [ebp - 0x38]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp + 8]
mov dword [eax - 0xd8], 0x100000
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov byte [eax + 0x8a], 0
mov eax, dword [ebp + 8]
cmp byte [eax - 0xb9], 0
je 0x49b20c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
cmp byte [eax + 0x3e], 0
jne 0x49af83
mov eax, dword [ebp + 8]
sub dword [eax - 0xf0], 0xc
sbb dword [eax - 0xec], 0
jmp 0x49afdd
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
cmp byte [eax + 0x3e], 1
je 0x49afa7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
cmp byte [eax + 0x3e], 2
je 0x49afa7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
cmp byte [eax + 0x3e], 3
jne 0x49afdd
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc0]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x28]
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc0]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x34]
add ebx, eax
mov eax, ebx
cdq
mov ecx, dword [ebp + 8]
sub dword [ecx - 0xf0], eax
sbb dword [ecx - 0xec], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0041fd50
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0041fd70
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
cmp byte [eax + 0x3e], 0
jne 0x49b073
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
cmp dword [eax + 0x140], 0
je 0x49b066
mov eax, dword [ebp + 8]
mov ax, word [eax - 0x108]
push eax
mov eax, dword [ebp + 8]
mov ax, word [eax - 0x104]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x100]
push eax
mov eax, dword [ebp + 8]
add eax, 0xffffff98
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov ecx, dword [eax + 0x140]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.0049a77c
test al, al
je 0x49b066
xor eax, eax
jmp 0x49b068
mov al, 1
mov edx, dword [ebp + 8]
mov byte [edx - 0x10f], al
jmp 0x49b0de
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
cmp byte [eax + 0x3e], 1
je 0x49b097
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
cmp byte [eax + 0x3e], 2
je 0x49b097
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
cmp byte [eax + 0x3e], 3
jne 0x49b0de
push 0
push 0
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc0]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [eax + 0x140]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc0]
mov eax, dword [eax]
mov ebx, dword [eax]
call dword [ebx + 4]
xor al, 1
mov edx, dword [ebp + 8]
mov byte [edx - 0x10f], al
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
cmp byte [eax + 0x130], 0
je 0x49b10e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
add eax, 0x140
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0xc]
mov edx, dword [edx + 0x140]
call fcn.00404798
jmp 0x49b1f9
mov eax, dword [ebp + 8]
cmp byte [eax - 0x10f], 0
je 0x49b1be
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
add eax, 0x8a
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
lea ecx, [eax + 0x140]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x14]
mov edx, dword [edx + 0x2e]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
cmp byte [eax + 0x3e], 1
je 0x49b16e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
cmp byte [eax + 0x3e], 2
je 0x49b16e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
cmp byte [eax + 0x3e], 3
jne 0x49b1da
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc0]
mov eax, dword [eax]
mov eax, dword [eax + 0x184]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0xc]
mov edx, dword [edx + 0x140]
call fcn.00404b60
je 0x49b1da
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
cmp byte [eax + 0x8a], 0
jne 0x49b1da
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [eax + 0x140]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc0]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x49b1da
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
add eax, 0x140
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0xc]
mov edx, dword [edx + 0x140]
call fcn.00404798
mov eax, dword [ebp + 8]
cmp byte [eax - 0x10f], 0
je 0x49b1f9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
cmp byte [eax + 0x8a], 0
je 0x49afee
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
cmp byte [eax + 0x8a], 0
jne 0x49b57c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xd8]
add eax, 2
call fcn.00409310
mov edx, dword [ebp + 8]
mov dword [edx - 0x4c], eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0x6c], edx
mov eax, dword [ebp + 8]
add eax, 0xffffff50
xor ecx, ecx
mov edx, 0x40
call fcn.00403288
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov edx, dword [ebp + 8]
mov dword [edx - 0xb0], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xd8]
mov edx, dword [ebp + 8]
mov dword [edx - 0xac], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0xf0]
mov dword [eax - 0xa8], ecx
mov ecx, dword [edx - 0xec]
mov dword [eax - 0xa4], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0xa0], edx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0x9c], edx
mov eax, dword [ebp + 8]
mov dword [eax - 0x98], 0
mov dword [eax - 0x94], 0
xor eax, eax
push ebp
push 0x49b571
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x49b2f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x49b588
mov eax, dword [ebp + 8]
add eax, 0xffffff50
mov ecx, 0x40
call fcn.0047fe08
call fcn.0047da38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49b500
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xec]
mov eax, dword [eax - 0xf0]
mov ecx, dword [ebp + 8]
sub eax, dword [ecx - 0xd0]
sbb edx, dword [ecx - 0xcc]
push edx
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xd8]
cdq
cmp edx, dword [esp + 4]
jne 0x49b347
cmp eax, dword [esp]
pop edx
pop eax
jae 0x49b360
jmp 0x49b34b
pop edx
pop eax
jge 0x49b360
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xd8]
cdq
mov ecx, dword [ebp + 8]
mov dword [ecx - 0x48], eax
mov dword [ecx - 0x44], edx
jmp 0x49b387
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xec]
mov eax, dword [eax - 0xf0]
mov ecx, dword [ebp + 8]
sub eax, dword [ecx - 0xd0]
sbb edx, dword [ecx - 0xcc]
mov ecx, dword [ebp + 8]
mov dword [ecx - 0x48], eax
mov dword [ecx - 0x44], edx
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
call fcn.0049a7e8
pop ecx
test al, al
jne 0x49b3ab
call fcn.00404144
jmp 0x49b57c
mov eax, dword [ebp + 8]
push eax
call fcn.0049a8a4
pop ecx
test al, al
jne 0x49b3c3
call fcn.00404144
jmp 0x49b57c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x6c]
call fcn.00402b40
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0x6c], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xc4]
mov eax, dword [eax - 0xc8]
mov ecx, dword [ebp + 8]
add dword [ecx - 0x118], eax
adc dword [ecx - 0x114], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x44]
mov eax, dword [eax - 0x48]
mov ecx, dword [ebp + 8]
add dword [ecx - 0xd0], eax
adc dword [ecx - 0xcc], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x114]
mov eax, dword [eax - 0x118]
mov ecx, dword [ebp + 8]
cmp edx, dword [ecx + 0xc]
jne 0x49b42a
cmp eax, dword [ecx + 8]
jae 0x49b440
jmp 0x49b42c
jge 0x49b440
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xd4]
call fcn.0041fd70
jmp 0x49b4a7
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x114]
mov eax, dword [eax - 0x118]
mov ecx, dword [ebp + 8]
sub eax, dword [ecx - 0xc8]
sbb edx, dword [ecx - 0xc4]
mov ecx, dword [ebp + 8]
cmp edx, dword [ecx + 0xc]
jne 0x49b46d
cmp eax, dword [ecx + 8]
jae 0x49b4a7
jmp 0x49b46f
jge 0x49b4a7
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xc4]
mov eax, dword [eax - 0xc8]
push edx
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x114]
mov eax, dword [eax - 0x118]
mov ecx, dword [ebp + 8]
sub eax, dword [ecx + 8]
sbb edx, dword [ecx + 0xc]
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
jle 0x49b500
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
cdq
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 8]
adc edx, dword [ecx + 0xc]
mov ecx, dword [ebp + 8]
cmp edx, dword [ecx - 0x114]
jne 0x49b4d5
cmp eax, dword [ecx - 0x118]
ja 0x49b500
jmp 0x49b4d7
jg 0x49b500
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], 0
jne 0x49b4e8
cmp dword [eax + 8], 0
jbe 0x49b52e
jmp 0x49b4ea
jle 0x49b52e
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xd4]
call fcn.0041fd70
jmp 0x49b52e
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xcc]
mov eax, dword [eax - 0xd0]
mov ecx, dword [ebp + 8]
cmp edx, dword [ecx - 0xec]
jne 0x49b528
cmp eax, dword [ecx - 0xf0]
jb 0x49b30e
jmp 0x49b52e
jl 0x49b30e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b578
mov eax, dword [ebp + 8]
add eax, 0xffffff50
call fcn.0048159c
mov eax, dword [ebp + 8]
cmp dword [eax - 0x6c], 0
je 0x49b55c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x6c]
call fcn.00402b40
mov eax, dword [ebp + 8]
cmp dword [eax - 0x4c], 0
je 0x49b570
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
call fcn.00402b40
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret