Function at 0x4902a8
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x4902b0
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4905c3
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.00408f90
mov edx, dword [ebp - 0x60]
mov eax, ebx
mov ecx, 0x4905d8
call fcn.0040485c
push dword [ebx]
lea eax, [ebp - 0x64]
call fcn.0048ff60
push dword [ebp - 0x64]
push 0x4905e8
mov eax, ebx
mov edx, 3
call fcn.004048d0
push dword [ebx]
lea edx, [ebp - 0x6c]
mov eax, 0x4905f4
call fcn.0047ea04
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
call fcn.00408c90
push dword [ebp - 0x68]
push 0x490608
lea eax, [ebp - 0x70]
call fcn.0047ec0c
push dword [ebp - 0x70]
push 0x4905e8
mov eax, ebx
mov edx, 5
call fcn.004048d0
call sub.winmm.dll_waveOutGetNumDevs
test eax, eax
jne 0x49037f
push dword [ebx]
push 0x490614
push 0x4905e8
mov eax, ebx
mov edx, 3
call fcn.004048d0
jmp 0x4903b2
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.004047c0
push dword [ebp - 0x74]
push 0x4905e8
mov eax, ebx
mov edx, 3
call fcn.004048d0
lea edx, [ebp - 0x78]
mov eax, 0x490620
call fcn.0047ea04
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 4]
call fcn.00408c90
cmp dword [ebp - 4], 0
jne 0x4903ea
push dword [ebx]
push 0x490614
push 0x4905e8
mov eax, ebx
mov edx, 3
call fcn.004048d0
jmp 0x490400
push dword [ebx]
push dword [ebp - 4]
push 0x4905e8
mov eax, ebx
mov edx, 3
call fcn.004048d0
lea edx, [ebp - 0x7c]
mov eax, 0x490630
call fcn.0047ea04
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 4]
call fcn.00408c90
cmp dword [ebp - 4], 0
jne 0x490438
push dword [ebx]
push 0x490614
push 0x4905e8
mov eax, ebx
mov edx, 3
call fcn.004048d0
jmp 0x49044e
push dword [ebx]
push dword [ebp - 4]
push 0x4905e8
mov eax, ebx
mov edx, 3
call fcn.004048d0
lea edx, [ebp - 0x80]
mov eax, 0x49063c
call fcn.0047ea04
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 8]
call fcn.00408c90
cmp dword [ebp - 8], 0
jne 0x490486
push dword [ebx]
push 0x490614
push 0x4905e8
mov eax, ebx
mov edx, 3
call fcn.004048d0
jmp 0x49049c
push dword [ebx]
push dword [ebp - 8]
push 0x4905e8
mov eax, ebx
mov edx, 3
call fcn.004048d0
lea edx, [ebp - 0x84]
mov eax, 0x49064c
call fcn.0047ea04
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 8]
call fcn.00408c90
cmp dword [ebp - 8], 0
jne 0x4904da
push dword [ebx]
push 0x490614
push 0x4905e8
mov eax, ebx
mov edx, 3
call fcn.004048d0
jmp 0x4904f0
push dword [ebx]
push dword [ebp - 8]
push 0x4905e8
mov eax, ebx
mov edx, 3
call fcn.004048d0
lea edx, [ebp - 0x88]
mov eax, 0x490660
call fcn.0047ea04
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 8]
call fcn.00408c90
cmp dword [ebp - 8], 0
jne 0x49052e
push dword [ebx]
push 0x490614
push 0x4905e8
mov eax, ebx
mov edx, 3
call fcn.004048d0
jmp 0x490544
push dword [ebx]
push dword [ebp - 8]
push 0x4905e8
mov eax, ebx
mov edx, 3
call fcn.004048d0
lea edx, [ebp - 0x8c]
mov eax, 0x490670
call fcn.0047ea04
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 8]
call fcn.00408c90
cmp dword [ebp - 8], 0
jne 0x490582
push dword [ebx]
push 0x490614
push 0x4905e8
mov eax, ebx
mov edx, 3
call fcn.004048d0
jmp 0x490598
push dword [ebx]
push dword [ebp - 8]
push 0x4905e8
mov eax, ebx
mov edx, 3
call fcn.004048d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4905ca
lea eax, [ebp - 0x8c]
mov edx, 0xc
call fcn.00404574
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404574
ret