Function at 0x4b1c38
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x4b1c40
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b1f53
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.00409268
mov edx, dword [ebp - 0x60]
mov eax, ebx
mov ecx, 0x4b1f68
call fcn.004049d4
push dword [ebx]
lea eax, [ebp - 0x64]
call fcn.004b18f0
push dword [ebp - 0x64]
push 0x4b1f78
mov eax, ebx
mov edx, 3
call fcn.00404a48
push dword [ebx]
lea edx, [ebp - 0x6c]
mov eax, 0x4b1f84
call fcn.00480f5c
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
call fcn.00408e14
push dword [ebp - 0x68]
push 0x4b1f98
lea eax, [ebp - 0x70]
call fcn.00481164
push dword [ebp - 0x70]
push 0x4b1f78
mov eax, ebx
mov edx, 5
call fcn.00404a48
call sub.winmm.dll_waveOutGetNumDevs
test eax, eax
jne 0x4b1d0f
push dword [ebx]
push 0x4b1fa4
push 0x4b1f78
mov eax, ebx
mov edx, 3
call fcn.00404a48
jmp 0x4b1d42
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 0x4b1f78
mov eax, ebx
mov edx, 3
call fcn.00404a48
lea edx, [ebp - 0x78]
mov eax, 0x4b1fb0
call fcn.00480f5c
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 4]
call fcn.00408e14
cmp dword [ebp - 4], 0
jne 0x4b1d7a
push dword [ebx]
push 0x4b1fa4
push 0x4b1f78
mov eax, ebx
mov edx, 3
call fcn.00404a48
jmp 0x4b1d90
push dword [ebx]
push dword [ebp - 4]
push 0x4b1f78
mov eax, ebx
mov edx, 3
call fcn.00404a48
lea edx, [ebp - 0x7c]
mov eax, 0x4b1fc0
call fcn.00480f5c
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 4]
call fcn.00408e14
cmp dword [ebp - 4], 0
jne 0x4b1dc8
push dword [ebx]
push 0x4b1fa4
push 0x4b1f78
mov eax, ebx
mov edx, 3
call fcn.00404a48
jmp 0x4b1dde
push dword [ebx]
push dword [ebp - 4]
push 0x4b1f78
mov eax, ebx
mov edx, 3
call fcn.00404a48
lea edx, [ebp - 0x80]
mov eax, 0x4b1fcc
call fcn.00480f5c
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 8]
call fcn.00408e14
cmp dword [ebp - 8], 0
jne 0x4b1e16
push dword [ebx]
push 0x4b1fa4
push 0x4b1f78
mov eax, ebx
mov edx, 3
call fcn.00404a48
jmp 0x4b1e2c
push dword [ebx]
push dword [ebp - 8]
push 0x4b1f78
mov eax, ebx
mov edx, 3
call fcn.00404a48
lea edx, [ebp - 0x84]
mov eax, 0x4b1fdc
call fcn.00480f5c
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 8]
call fcn.00408e14
cmp dword [ebp - 8], 0
jne 0x4b1e6a
push dword [ebx]
push 0x4b1fa4
push 0x4b1f78
mov eax, ebx
mov edx, 3
call fcn.00404a48
jmp 0x4b1e80
push dword [ebx]
push dword [ebp - 8]
push 0x4b1f78
mov eax, ebx
mov edx, 3
call fcn.00404a48
lea edx, [ebp - 0x88]
mov eax, 0x4b1ff0
call fcn.00480f5c
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 8]
call fcn.00408e14
cmp dword [ebp - 8], 0
jne 0x4b1ebe
push dword [ebx]
push 0x4b1fa4
push 0x4b1f78
mov eax, ebx
mov edx, 3
call fcn.00404a48
jmp 0x4b1ed4
push dword [ebx]
push dword [ebp - 8]
push 0x4b1f78
mov eax, ebx
mov edx, 3
call fcn.00404a48
lea edx, [ebp - 0x8c]
mov eax, 0x4b2000
call fcn.00480f5c
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 8]
call fcn.00408e14
cmp dword [ebp - 8], 0
jne 0x4b1f12
push dword [ebx]
push 0x4b1fa4
push 0x4b1f78
mov eax, ebx
mov edx, 3
call fcn.00404a48
jmp 0x4b1f28
push dword [ebx]
push dword [ebp - 8]
push 0x4b1f78
mov eax, ebx
mov edx, 3
call fcn.00404a48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1f5a
lea eax, [ebp - 0x8c]
mov edx, 0xc
call fcn.004046ec
lea eax, [ebp - 8]
mov edx, 2
call fcn.004046ec
ret