Function at 0x44d920
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x520078]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ecx + 0x7c]
push esi
push edi
mov dword [ebp - 0x54], ebx
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x50], esi
test esi, esi
je 0x44dc0a
push 0x40
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.004ad200
add esp, 0xc
mov dword [ebp - 0x48], 0x40
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x44d97a
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
jmp 0x44d990
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x44d9b6
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x60]
mov esi, dword [ebp - 0x64]
mov edx, dword [ebp - 0x68]
test esi, esi
jne 0x44d99c
cmp edx, 0x6000000
jbe 0x44d9b3
test ecx, ecx
jne 0x44d9a7
cmp eax, 0x4000000
jbe 0x44d9b3
add dword [ebx + 0x14], 0x1000000
jmp 0x44dc0a
mov esi, dword [ebp - 0x50]
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
push 0x524808
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004938d6
mov ecx, eax
add esp, 8
mov dword [ebp - 0x4c], ecx
test ecx, ecx
jne 0x44d9f5
lea eax, [ecx + 8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049384c
mov esp, ebp
pop ebp
ret 8
xor edi, edi
cmp dword [ebx], edi
je 0x44da2c
xor ecx, ecx
cmp dword [ebx + 0xc], ecx
jbe 0x44dbff
xor edx, edx
mov eax, dword [ebx]
add eax, edx
cmp dword [eax], 0
je 0x44da21
mov esi, dword [ebp - 0x4c]
mov dword [esi + edi*4], eax
inc edi
cmp edi, dword [ebp - 0x50]
je 0x44da9e
inc ecx
add edx, 0xc
cmp ecx, dword [ebx + 0xc]
jb 0x44da08
jmp 0x44da9e
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x44dbff
mov ecx, dword [ecx]
mov eax, dword [ecx]
cmp eax, ecx
je 0x44dbff
mov ebx, dword [ebp - 0x4c]
cmp dword [eax + 0x18], 0
lea edx, [eax + 0x18]
je 0x44da57
mov dword [ebx + edi*4], edx
inc edi
cmp edi, esi
je 0x44da9b
cmp byte [eax + 0xd], 0
jne 0x44da97
mov edx, dword [eax + 8]
cmp byte [edx + 0xd], 0
jne 0x44da7c
mov eax, edx
mov edx, dword [eax]
cmp byte [edx + 0xd], 0
jne 0x44da97
mov eax, edx
mov edx, dword [eax]
cmp byte [edx + 0xd], 0
je 0x44da70
jmp 0x44da97
mov edx, dword [eax + 4]
cmp byte [edx + 0xd], 0
jne 0x44da95
cmp eax, dword [edx + 8]
jne 0x44da95
mov eax, edx
mov edx, dword [edx + 4]
cmp byte [edx + 0xd], 0
je 0x44da85
mov eax, edx
cmp eax, ecx
jne 0x44da46
mov ebx, dword [ebp - 0x54]
cmp edi, 1
jbe 0x44dbff
mov eax, dword [ebx]
test eax, eax
je 0x44daca
cmp dword [eax], 0
je 0x44dab6
add dword [eax + 8], 2
mov eax, dword [ebx + 0xc]
lea ecx, [eax + eax*2]
mov eax, dword [ebx]
cmp dword [eax + ecx*4 - 0xc], 0
je 0x44daca
add dword [eax + ecx*4 - 4], 2
push 0x44d8e0
push 4
push edi
push dword [ebp - 0x4c]
call fcn.004c0110
mov eax, dword [ebx]
add esp, 0x10
test eax, eax
je 0x44db00
cmp dword [eax], 0
je 0x44daec
add dword [eax + 8], 0xfffffffe
mov eax, dword [ebx + 0xc]
lea ecx, [eax + eax*2]
mov eax, dword [ebx]
cmp dword [eax + ecx*4 - 0xc], 0
je 0x44db00
add dword [eax + ecx*4 - 4], 0xfffffffe
mov eax, dword [ebp - 0x4c]
mov edx, edi
mov ecx, dword [ebx + 0x18]
xor esi, esi
shr edx, 2
mov dword [ebp - 0x50], edx
mov eax, dword [eax + edi*4 - 4]
mov dword [ebp - 0x58], ecx
cmp dword [eax + 4], ecx
jbe 0x44db42
lea esi, [edi - 1]
test esi, esi
je 0x44db42
mov ecx, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x58]
add ecx, 0xfffffffc
lea ecx, [ecx + esi*4]
nop
mov eax, dword [ecx]
cmp dword [eax + 4], ebx
jbe 0x44db3f
sub ecx, 4
sub esi, 1
jne 0x44db30
mov ebx, dword [ebp - 0x54]
test edx, edx
je 0x44db8b
cmp esi, edi
sbb eax, eax
and esi, eax
mov eax, dword [ebp - 0x4c]
mov ebx, dword [eax + esi*4]
mov eax, dword [ebx]
test eax, eax
je 0x44db80
push eax
call fcn.004938d1
mov edx, dword [ebp - 0x50]
add esp, 4
mov dword [ebx], 0
mov dword [ebx + 8], 0
mov dword [ebx + 4], 0
mov ebx, dword [ebp - 0x54]
dec dword [ebx + 0x10]
jmp 0x44db83
mov ebx, dword [ebp - 0x54]
sub edx, 1
mov dword [ebp - 0x50], edx
jne 0x44db46
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x44dbff
mov ecx, dword [ecx]
mov eax, dword [ecx]
cmp eax, ecx
je 0x44dbff
nop word [eax + eax]
cmp dword [eax + 0x18], 0
je 0x44dbe9
cmp byte [eax + 0xd], 0
jne 0x44dbf8
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x44dbcc
mov eax, ecx
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
jne 0x44dbf8
nop
mov eax, ecx
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
je 0x44dbc0
jmp 0x44dbf8
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x44dbe5
cmp eax, dword [ecx + 8]
jne 0x44dbe5
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x44dbd5
mov eax, ecx
jmp 0x44dbf8
mov ecx, dword [ebx + 4]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004452c0
mov eax, dword [eax]
mov ecx, dword [ebx + 4]
cmp eax, dword [ecx]
jne 0x44dba0
push dword [ebp - 0x4c]
call fcn.004938d1
add esp, 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049384c
mov esp, ebp
pop ebp
ret 8