Function at 0x440d20
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x99
push 0
push 0
dec ecx
jne 0x440d28
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44133e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x441358
mov eax, dword [ebp - 8]
call fcn.00436fa0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x420]
call fcn.00404be4
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add eax, eax
mov eax, dword [ebp + eax*8 - 0x418]
mov edx, dword [ebp - 0x20]
add edx, edx
imul dword [ebp + edx*8 - 0x41c]
xor edx, edx
add dword [ebp - 0x10], eax
adc dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x20]
add eax, eax
mov eax, dword [ebp + eax*8 - 0x414]
xor edx, edx
add dword [ebp - 0x18], eax
adc dword [ebp - 0x14], edx
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0x37
jne 0x440d7c
mov eax, dword [ebp - 0xac]
xor edx, edx
add dword [ebp - 0x10], eax
adc dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xa0]
xor edx, edx
add dword [ebp - 0x10], eax
adc dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xa8]
xor edx, edx
add dword [ebp - 0x18], eax
adc dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x9c]
xor edx, edx
add dword [ebp - 0x18], eax
adc dword [ebp - 0x14], edx
push 0x44138c
push dword [ebp - 0xc]
push dword [ebp - 0x10]
lea eax, [ebp - 0x428]
call fcn.004313f0
push dword [ebp - 0x428]
push 0x4413b8
push dword [ebp - 0x14]
push dword [ebp - 0x18]
lea eax, [ebp - 0x42c]
call fcn.004313f0
push dword [ebp - 0x42c]
lea eax, [ebp - 0x424]
mov edx, 4
call fcn.00407c98
mov edx, dword [ebp - 0x424]
mov eax, dword [ebp - 8]
call fcn.00436fa0
mov edx, 0x4413e4
mov eax, dword [ebp - 8]
call fcn.00436fa0
mov eax, dword [0x48a744]
mov eax, dword [eax]
cdq
push edx
push eax
lea eax, [ebp - 0x434]
call fcn.004313f0
mov ecx, dword [ebp - 0x434]
lea eax, [ebp - 0x430]
mov edx, 0x441408
call fcn.00407c10
mov edx, dword [ebp - 0x430]
mov eax, dword [ebp - 8]
call fcn.00436fa0
mov byte [ebp - 0x19], 0
mov al, byte [ebp - 0x19]
lea edx, [ebp - 0x30]
call fcn.0042f100
test al, al
je 0x440f40
xor eax, eax
mov al, byte [ebp - 0x19]
mov edx, dword [0x48a5fc]
push dword [edx + eax*4]
push 0x44142c
mov eax, dword [ebp - 0x30]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x43c]
call fcn.00431340
push dword [ebp - 0x43c]
push 0x441458
mov eax, dword [ebp - 0x2c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x440]
call fcn.00431340
push dword [ebp - 0x440]
push 0x441484
mov eax, dword [ebp - 0x28]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x444]
call fcn.00431340
push dword [ebp - 0x444]
push 0x4414b4
lea edx, [ebp - 0x448]
mov eax, dword [ebp - 0x24]
call fcn.00417760
push dword [ebp - 0x448]
lea eax, [ebp - 0x438]
mov edx, 9
call fcn.00407c98
mov edx, dword [ebp - 0x438]
mov eax, dword [ebp - 8]
call fcn.00436fa0
inc byte [ebp - 0x19]
cmp byte [ebp - 0x19], 3
jne 0x440e91
mov edx, 0x4414dc
mov eax, dword [ebp - 8]
call fcn.00436fa0
lea eax, [ebp - 0x70]
mov edx, 0x40
call fcn.0042f000
mov dword [ebp - 0x70], 0x40
lea eax, [ebp - 0x70]
push eax
call sub.kernel32.dll_GlobalMemoryStatusEx
test eax, eax
je 0x4410f3
mov eax, dword [ebp - 0x6c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x450]
call fcn.00417728
mov ecx, dword [ebp - 0x450]
lea eax, [ebp - 0x44c]
mov edx, 0x4414fc
call fcn.00407c10
mov edx, dword [ebp - 0x44c]
mov eax, dword [ebp - 8]
call fcn.00436fa0
push dword [ebp - 0x64]
push dword [ebp - 0x68]
lea eax, [ebp - 0x458]
call fcn.00431340
mov ecx, dword [ebp - 0x458]
lea eax, [ebp - 0x454]
mov edx, 0x441524
call fcn.00407c10
mov edx, dword [ebp - 0x454]
mov eax, dword [ebp - 8]
call fcn.00436fa0
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
lea eax, [ebp - 0x460]
call fcn.00431340
mov ecx, dword [ebp - 0x460]
lea eax, [ebp - 0x45c]
mov edx, 0x441548
call fcn.00407c10
mov edx, dword [ebp - 0x45c]
mov eax, dword [ebp - 8]
call fcn.00436fa0
push dword [ebp - 0x54]
push dword [ebp - 0x58]
lea eax, [ebp - 0x468]
call fcn.00431340
mov ecx, dword [ebp - 0x468]
lea eax, [ebp - 0x464]
mov edx, 0x44156c
call fcn.00407c10
mov edx, dword [ebp - 0x464]
mov eax, dword [ebp - 8]
call fcn.00436fa0
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
lea eax, [ebp - 0x470]
call fcn.00431340
mov ecx, dword [ebp - 0x470]
lea eax, [ebp - 0x46c]
mov edx, 0x441598
call fcn.00407c10
mov edx, dword [ebp - 0x46c]
mov eax, dword [ebp - 8]
call fcn.00436fa0
push dword [ebp - 0x44]
push dword [ebp - 0x48]
lea eax, [ebp - 0x478]
call fcn.00431340
mov ecx, dword [ebp - 0x478]
lea eax, [ebp - 0x474]
mov edx, 0x4415c4
call fcn.00407c10
mov edx, dword [ebp - 0x474]
mov eax, dword [ebp - 8]
call fcn.00436fa0
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
lea eax, [ebp - 0x480]
call fcn.00431340
mov ecx, dword [ebp - 0x480]
lea eax, [ebp - 0x47c]
mov edx, 0x4415f0
call fcn.00407c10
mov edx, dword [ebp - 0x47c]
mov eax, dword [ebp - 8]
call fcn.00436fa0
lea eax, [ebp - 0x98]
mov edx, 0x28
call fcn.0042f000
mov dword [ebp - 0x98], 0x28
push 0x28
lea eax, [ebp - 0x98]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.psapi.dll_GetProcessMemoryInfo
test eax, eax
je 0x44131e
mov eax, dword [ebp - 0x94]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x488]
call fcn.00417728
mov ecx, dword [ebp - 0x488]
lea eax, [ebp - 0x484]
mov edx, 0x44161c
call fcn.00407c10
mov edx, dword [ebp - 0x484]
mov eax, dword [ebp - 8]
call fcn.00436fa0
mov eax, dword [ebp - 0x90]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x490]
call fcn.00431340
mov ecx, dword [ebp - 0x490]
lea eax, [ebp - 0x48c]
mov edx, 0x44164c
call fcn.00407c10
mov edx, dword [ebp - 0x48c]
mov eax, dword [ebp - 8]
call fcn.00436fa0
mov eax, dword [ebp - 0x8c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x498]
call fcn.00431340
mov ecx, dword [ebp - 0x498]
lea eax, [ebp - 0x494]
mov edx, 0x441684
call fcn.00407c10
mov edx, dword [ebp - 0x494]
mov eax, dword [ebp - 8]
call fcn.00436fa0
mov eax, dword [ebp - 0x88]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x4a0]
call fcn.00431340
mov ecx, dword [ebp - 0x4a0]
lea eax, [ebp - 0x49c]
mov edx, 0x4416b4
call fcn.00407c10
mov edx, dword [ebp - 0x49c]
mov eax, dword [ebp - 8]
call fcn.00436fa0
mov eax, dword [ebp - 0x84]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x4a8]
call fcn.00431340
mov ecx, dword [ebp - 0x4a8]
lea eax, [ebp - 0x4a4]
mov edx, 0x4416f4
call fcn.00407c10
mov edx, dword [ebp - 0x4a4]
mov eax, dword [ebp - 8]
call fcn.00436fa0
mov eax, dword [ebp - 0x80]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x4b0]
call fcn.00431340
mov ecx, dword [ebp - 0x4b0]
lea eax, [ebp - 0x4ac]
mov edx, 0x44172c
call fcn.00407c10
mov edx, dword [ebp - 0x4ac]
mov eax, dword [ebp - 8]
call fcn.00436fa0
mov eax, dword [ebp - 0x7c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x4b8]
call fcn.00431340
mov ecx, dword [ebp - 0x4b8]
lea eax, [ebp - 0x4b4]
mov edx, 0x441774
call fcn.00407c10
mov edx, dword [ebp - 0x4b4]
mov eax, dword [ebp - 8]
call fcn.00436fa0
mov eax, dword [ebp - 0x78]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x4c0]
call fcn.00431340
mov ecx, dword [ebp - 0x4c0]
lea eax, [ebp - 0x4bc]
mov edx, 0x4417b4
call fcn.00407c10
mov edx, dword [ebp - 0x4bc]
mov eax, dword [ebp - 8]
call fcn.00436fa0
mov eax, dword [ebp - 0x74]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x4c8]
call fcn.00431340
mov ecx, dword [ebp - 0x4c8]
lea eax, [ebp - 0x4c4]
mov edx, 0x4417e0
call fcn.00407c10
mov edx, dword [ebp - 0x4c4]
mov eax, dword [ebp - 8]
call fcn.00436fa0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441345
lea eax, [ebp - 0x4c8]
mov edx, 0x2a
call fcn.00406fb8
pop eax
jmp eax