Function at 0x41ca37
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x41ca99
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x98], eax
push dword [ebp - 0x54]
push dword [ebp - 0x5c]
push 0x74a8
push dword [ebp - 0x1c]
push 1
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax]
push eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
push eax
push 1
call fcn.0041cceb
add esp, 0x20
jmp 0x41cce7
lea eax, [ebp + 0x20]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x6c], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x38]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x41cc98
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x41cb82
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax]
test eax, eax
je 0x41cb43
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
jmp 0x41cb7d
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0xb8]
call fcn.00404fa9
pop ecx
pop ecx
mov ecx, eax
call fcn.00402b40
push eax
call fcn.00492968
pop ecx
lea ecx, [ebp - 0xb8]
call fcn.0040292d
jmp 0x41cc96
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x41cc14
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
cmp dword [eax], 0x4d94
jle 0x41cc0f
and dword [ebp - 8], 0
jmp 0x41cbc2
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x9a7
jge 0x41cc0f
push 0x7d6f
push 0
push 0x5630
push 0x3348
push 0x2d1e
push 1
push 1
push 0x47b6
lea eax, [ebp - 8]
push eax
push 1
push 0
push 0
push 0x449c
push 0xdc4
push 1
push 0x53b1
call fcn.00417dad
add esp, 0x40
jmp 0x41cbbb
jmp 0x41cc96
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
cmp dword [eax], 0x5211
jle 0x41cc96
and dword [ebp - 4], 0
jmp 0x41cc38
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x47d4
jge 0x41cc96
and dword [ebp - 0xc], 0
jmp 0x41cc4e
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x50e9
jge 0x41cc94
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
shl eax, cl
cdq
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], edx
push 1
push 0
push 0x74ee
push 1
push 0
lea eax, [ebp - 0xa0]
push eax
push 0x2ecb
push 0x2607
call fcn.0041c13c
add esp, 0x20
jmp 0x41cc47
jmp 0x41cc31
jmp 0x41cce7
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x88], eax
push 0x15f8
push 0
push 0x5c32
push 0x78aa
push 0xe31
push 0x44
push 1
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax]
push eax
push 1
push dword [ebp - 0x88]
push dword [ebp - 0x90]
call fcn.004186ce
add esp, 0x2c
mov esp, ebp
pop ebp
ret