Function at 0x4b8508
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x4b8510
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b8823
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x28], 0x20
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x20]
mov ecx, 0xfa000
xor edx, edx
div ecx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x60]
call fcn.004092b8
mov edx, dword [ebp - 0x60]
mov eax, ebx
mov ecx, 0x4b8838
call fcn.004049d4
push dword [ebx]
lea eax, [ebp - 0x64]
call fcn.004b81c0
push dword [ebp - 0x64]
push 0x4b8848
mov eax, ebx
mov edx, 3
call fcn.00404a48
push dword [ebx]
lea edx, [ebp - 0x6c]
mov eax, 0x4b8854
call fcn.00483ee8
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
call fcn.00408e64
push dword [ebp - 0x68]
push 0x4b8868
lea eax, [ebp - 0x70]
call fcn.004840f0
push dword [ebp - 0x70]
push 0x4b8848
mov eax, ebx
mov edx, 5
call fcn.00404a48
call sub.winmm.dll_waveOutGetNumDevs
test eax, eax
jne 0x4b85df
push dword [ebx]
push 0x4b8874
push 0x4b8848
mov eax, ebx
mov edx, 3
call fcn.00404a48
jmp 0x4b8612
push 0x34
lea eax, [ebp - 0x5c]
push eax
push 0
call sub.winmm.dll_waveOutGetDevCapsA
push dword [ebx]
lea eax, [ebp - 0x74]
lea edx, [ebp - 0x54]
mov ecx, 0x20
call fcn.00404938
push dword [ebp - 0x74]
push 0x4b8848
mov eax, ebx
mov edx, 3
call fcn.00404a48
lea edx, [ebp - 0x78]
mov eax, 0x4b8880
call fcn.00483ee8
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 4]
call fcn.00408e64
cmp dword [ebp - 4], 0
jne 0x4b864a
push dword [ebx]
push 0x4b8874
push 0x4b8848
mov eax, ebx
mov edx, 3
call fcn.00404a48
jmp 0x4b8660
push dword [ebx]
push dword [ebp - 4]
push 0x4b8848
mov eax, ebx
mov edx, 3
call fcn.00404a48
lea edx, [ebp - 0x7c]
mov eax, 0x4b8890
call fcn.00483ee8
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 4]
call fcn.00408e64
cmp dword [ebp - 4], 0
jne 0x4b8698
push dword [ebx]
push 0x4b8874
push 0x4b8848
mov eax, ebx
mov edx, 3
call fcn.00404a48
jmp 0x4b86ae
push dword [ebx]
push dword [ebp - 4]
push 0x4b8848
mov eax, ebx
mov edx, 3
call fcn.00404a48
lea edx, [ebp - 0x80]
mov eax, 0x4b889c
call fcn.00483ee8
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 8]
call fcn.00408e64
cmp dword [ebp - 8], 0
jne 0x4b86e6
push dword [ebx]
push 0x4b8874
push 0x4b8848
mov eax, ebx
mov edx, 3
call fcn.00404a48
jmp 0x4b86fc
push dword [ebx]
push dword [ebp - 8]
push 0x4b8848
mov eax, ebx
mov edx, 3
call fcn.00404a48
lea edx, [ebp - 0x84]
mov eax, 0x4b88ac
call fcn.00483ee8
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 8]
call fcn.00408e64
cmp dword [ebp - 8], 0
jne 0x4b873a
push dword [ebx]
push 0x4b8874
push 0x4b8848
mov eax, ebx
mov edx, 3
call fcn.00404a48
jmp 0x4b8750
push dword [ebx]
push dword [ebp - 8]
push 0x4b8848
mov eax, ebx
mov edx, 3
call fcn.00404a48
lea edx, [ebp - 0x88]
mov eax, 0x4b88c0
call fcn.00483ee8
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 8]
call fcn.00408e64
cmp dword [ebp - 8], 0
jne 0x4b878e
push dword [ebx]
push 0x4b8874
push 0x4b8848
mov eax, ebx
mov edx, 3
call fcn.00404a48
jmp 0x4b87a4
push dword [ebx]
push dword [ebp - 8]
push 0x4b8848
mov eax, ebx
mov edx, 3
call fcn.00404a48
lea edx, [ebp - 0x8c]
mov eax, 0x4b88d0
call fcn.00483ee8
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 8]
call fcn.00408e64
cmp dword [ebp - 8], 0
jne 0x4b87e2
push dword [ebx]
push 0x4b8874
push 0x4b8848
mov eax, ebx
mov edx, 3
call fcn.00404a48
jmp 0x4b87f8
push dword [ebx]
push dword [ebp - 8]
push 0x4b8848
mov eax, ebx
mov edx, 3
call fcn.00404a48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b882a
lea eax, [ebp - 0x8c]
mov edx, 0xc
call fcn.004046ec
lea eax, [ebp - 8]
mov edx, 2
call fcn.004046ec
ret