Function at 0x44dc90
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 0x44df7a
push 0x40
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.004ad5f0
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 0x44dcea
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
jmp 0x44dd00
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x44dd26
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x60]
mov esi, dword [ebp - 0x64]
mov edx, dword [ebp - 0x68]
test esi, esi
jne 0x44dd0c
cmp edx, 0x6000000
jbe 0x44dd23
test ecx, ecx
jne 0x44dd17
cmp eax, 0x4000000
jbe 0x44dd23
add dword [ebx + 0x14], 0x1000000
jmp 0x44df7a
mov esi, dword [ebp - 0x50]
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
push 0x524df8
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00493c76
mov ecx, eax
add esp, 8
mov dword [ebp - 0x4c], ecx
test ecx, ecx
jne 0x44dd65
lea eax, [ecx + 8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493bec
mov esp, ebp
pop ebp
ret 8
xor edi, edi
cmp dword [ebx], edi
je 0x44dd9c
xor ecx, ecx
cmp dword [ebx + 0xc], ecx
jbe 0x44df6f
xor edx, edx
mov eax, dword [ebx]
add eax, edx
cmp dword [eax], 0
je 0x44dd91
mov esi, dword [ebp - 0x4c]
mov dword [esi + edi*4], eax
inc edi
cmp edi, dword [ebp - 0x50]
je 0x44de0e
inc ecx
add edx, 0xc
cmp ecx, dword [ebx + 0xc]
jb 0x44dd78
jmp 0x44de0e
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x44df6f
mov ecx, dword [ecx]
mov eax, dword [ecx]
cmp eax, ecx
je 0x44df6f
mov ebx, dword [ebp - 0x4c]
cmp dword [eax + 0x18], 0
lea edx, [eax + 0x18]
je 0x44ddc7
mov dword [ebx + edi*4], edx
inc edi
cmp edi, esi
je 0x44de0b
cmp byte [eax + 0xd], 0
jne 0x44de07
mov edx, dword [eax + 8]
cmp byte [edx + 0xd], 0
jne 0x44ddec
mov eax, edx
mov edx, dword [eax]
cmp byte [edx + 0xd], 0
jne 0x44de07
mov eax, edx
mov edx, dword [eax]
cmp byte [edx + 0xd], 0
je 0x44dde0
jmp 0x44de07
mov edx, dword [eax + 4]
cmp byte [edx + 0xd], 0
jne 0x44de05
cmp eax, dword [edx + 8]
jne 0x44de05
mov eax, edx
mov edx, dword [edx + 4]
cmp byte [edx + 0xd], 0
je 0x44ddf5
mov eax, edx
cmp eax, ecx
jne 0x44ddb6
mov ebx, dword [ebp - 0x54]
cmp edi, 1
jbe 0x44df6f
mov eax, dword [ebx]
test eax, eax
je 0x44de3a
cmp dword [eax], 0
je 0x44de26
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 0x44de3a
add dword [eax + ecx*4 - 4], 2
push 0x44dc50
push 4
push edi
push dword [ebp - 0x4c]
call fcn.004c0560
mov eax, dword [ebx]
add esp, 0x10
test eax, eax
je 0x44de70
cmp dword [eax], 0
je 0x44de5c
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 0x44de70
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 0x44deb2
lea esi, [edi - 1]
test esi, esi
je 0x44deb2
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 0x44deaf
sub ecx, 4
sub esi, 1
jne 0x44dea0
mov ebx, dword [ebp - 0x54]
test edx, edx
je 0x44defb
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 0x44def0
push eax
call fcn.00493c71
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 0x44def3
mov ebx, dword [ebp - 0x54]
sub edx, 1
mov dword [ebp - 0x50], edx
jne 0x44deb6
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x44df6f
mov ecx, dword [ecx]
mov eax, dword [ecx]
cmp eax, ecx
je 0x44df6f
nop word [eax + eax]
cmp dword [eax + 0x18], 0
je 0x44df59
cmp byte [eax + 0xd], 0
jne 0x44df68
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x44df3c
mov eax, ecx
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
jne 0x44df68
nop
mov eax, ecx
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
je 0x44df30
jmp 0x44df68
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x44df55
cmp eax, dword [ecx + 8]
jne 0x44df55
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x44df45
mov eax, ecx
jmp 0x44df68
mov ecx, dword [ebx + 4]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00445630
mov eax, dword [eax]
mov ecx, dword [ebx + 4]
cmp eax, dword [ecx]
jne 0x44df10
push dword [ebp - 0x4c]
call fcn.00493c71
add esp, 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00493bec
mov esp, ebp
pop ebp
ret 8