Function at 0x4bcb44
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov byte [ebp - 1], 0
lea eax, [ebp - 0x30]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp + 8]
mov dword [eax - 0xdc], 0x100000
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov byte [eax + 0x8a], 0
mov eax, dword [ebp + 8]
cmp byte [eax - 0xb5], 0
je 0x4bccab
mov eax, dword [ebp + 8]
sub dword [eax - 0xe8], 0xc
sbb dword [eax - 0xe4], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0042514c
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.0042516c
mov eax, dword [ebp + 8]
mov ax, word [eax - 0x100]
push eax
mov eax, dword [ebp + 8]
mov ax, word [eax - 0xfc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xf8]
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 + 0x54]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.004bc674
xor al, 1
mov edx, dword [ebp + 8]
mov byte [edx - 0x107], al
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
cmp byte [eax + 0x130], 0
je 0x4bcc2b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
add eax, 0x54
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0xc]
mov edx, dword [edx + 0x54]
call fcn.00404fb0
jmp 0x4bcc98
mov eax, dword [ebp + 8]
cmp byte [eax - 0x107], 0
je 0x4bcc62
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 + 0x54]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov edx, dword [edx + 0x2e]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x48]
jmp 0x4bcc79
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
add eax, 0x54
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0xc]
mov edx, dword [edx + 0x54]
call fcn.00404fb0
mov eax, dword [ebp + 8]
cmp byte [eax - 0x107], 0
je 0x4bcc98
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
cmp byte [eax + 0x8a], 0
je 0x4bcba6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
cmp byte [eax + 0x8a], 0
jne 0x4bd120
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xdc]
add eax, 2
call fcn.00402ff8
mov edx, dword [ebp + 8]
mov dword [edx - 0x4c], eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0xb4], edx
mov eax, dword [ebp + 8]
add eax, 0xffffff50
xor ecx, ecx
mov edx, 0x40
call fcn.00403830
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 - 0xdc]
mov edx, dword [ebp + 8]
mov dword [edx - 0xac], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0xe8]
mov dword [eax - 0xa8], ecx
mov ecx, dword [edx - 0xe4]
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 0x4bd115
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4bcd92
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x4bd12c
mov eax, dword [ebp + 8]
add eax, 0xffffff50
mov ecx, 0x40
call fcn.004a90c8
call fcn.004a703c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bd09e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0xd8]
mov dword [eax + 0x98], ecx
mov ecx, dword [edx - 0xd4]
mov dword [eax + 0x9c], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
cmp byte [eax + 0x89], 0
je 0x4bcebb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
fild qword [eax + 0x98]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
fild qword [eax + 0xa0]
fdivp st(1)
fmul dword [0x4bd134]
add esp, 0xfffffff8
fstp qword [esp]
wait
push 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
add eax, 0x88
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov cl, byte [ecx + 0x6f]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov edx, dword [edx + 0x2e]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
cmp byte [eax + 0x88], 0
jne 0x4bd0cc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
fild qword [eax + 0x98]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
fild qword [eax + 0xa0]
fdivp st(1)
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
fild dword [eax + 0x70]
faddp st(1)
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
fild dword [eax + 0x74]
fdivp st(1)
fmul dword [0x4bd134]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
add eax, 0x88
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov dl, byte [edx + 0x6f]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov cl, 1
mov ebx, dword [eax]
call dword [ebx + 0x34]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
cmp byte [eax + 0x88], 0
jne 0x4bd0cc
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xe4]
mov eax, dword [eax - 0xe8]
mov ecx, dword [ebp + 8]
sub eax, dword [ecx - 0xd8]
sbb edx, dword [ecx - 0xd4]
push edx
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xdc]
cdq
cmp edx, dword [esp + 4]
jne 0x4bcef4
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4bcf0d
jmp 0x4bcef8
pop edx
pop eax
jge 0x4bcf0d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xdc]
cdq
mov ecx, dword [ebp + 8]
mov dword [ecx - 0x48], eax
mov dword [ecx - 0x44], edx
jmp 0x4bcf34
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xe4]
mov eax, dword [eax - 0xe8]
mov ecx, dword [ebp + 8]
sub eax, dword [ecx - 0xd8]
sbb edx, dword [ecx - 0xd4]
mov ecx, dword [ebp + 8]
mov dword [ecx - 0x48], eax
mov dword [ecx - 0x44], edx
push 0
push 2
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x44]
mov eax, dword [eax - 0x48]
call fcn.00406320
mov ecx, dword [ebp + 8]
mov dword [ecx - 0x48], eax
mov dword [ecx - 0x44], edx
push 0
push 2
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x44]
mov eax, dword [eax - 0x48]
call fcn.00406344
mov ecx, dword [ebp + 8]
mov dword [ecx - 0x48], eax
mov dword [ecx - 0x44], edx
mov eax, dword [ebp + 8]
cmp dword [eax - 0x44], 0
jne 0x4bcf7e
cmp dword [eax - 0x48], 0x200
jae 0x4bcf80
jmp 0x4bcfbe
jl 0x4bcfbe
mov eax, dword [ebp + 8]
push eax
call fcn.004bc79c
pop ecx
mov ecx, dword [ebp + 8]
mov dword [ecx - 0xc8], eax
mov dword [ecx - 0xc4], edx
mov eax, dword [ebp - 0x24]
mov ecx, 0x14
xor edx, edx
div ecx
xor edx, edx
mov ecx, dword [ebp + 8]
cmp edx, dword [ecx - 0xc4]
jne 0x4bcfbc
cmp eax, dword [ecx - 0xc8]
jbe 0x4bcf4f
jmp 0x4bcfbe
jle 0x4bcf4f
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.004bc6e0
pop ecx
test al, al
jne 0x4bcfe2
call fcn.00404960
jmp 0x4bd120
mov eax, dword [ebp + 8]
push eax
call fcn.004bc890
pop ecx
test al, al
jne 0x4bcffa
call fcn.00404960
jmp 0x4bd120
mov eax, dword [ebp + 8]
lea ecx, [eax - 0xe0]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xc0]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xb4]
call fcn.004b5fe0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc0]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xb4]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x10c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.004c70bc
test al, al
jne 0x4bd04f
call fcn.00404960
jmp 0x4bd120
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xb4]
call fcn.0040302c
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0xb4], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xbc]
mov eax, dword [eax - 0xc0]
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 - 0xd8], eax
adc dword [ecx - 0xd4], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xd4]
mov eax, dword [eax - 0xd8]
mov ecx, dword [ebp + 8]
cmp edx, dword [ecx - 0xe4]
jne 0x4bd0c6
cmp eax, dword [ecx - 0xe8]
jb 0x4bcdb0
jmp 0x4bd0cc
jl 0x4bcdb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd11c
mov eax, dword [ebp + 8]
add eax, 0xffffff50
call fcn.004aa6c8
mov eax, dword [ebp + 8]
cmp dword [eax - 0xb4], 0
je 0x4bd100
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xb4]
call fcn.0040302c
mov eax, dword [ebp + 8]
cmp dword [eax - 0x4c], 0
je 0x4bd114
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
call fcn.0040302c
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret