Function at 0x5d6284
Capabilities:
Get memory capacity

Disassembly:
push 0x198
mov eax, 0x6df79b
call fcn.00648b50
mov dword [ebp - 0x118], ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x1a4]
xor edi, edi
push 0x680
mov dword [ebp - 0x10c], edi
call fcn.006c22f9
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x6c]
push eax
mov dword [ebp - 0x74], edi
call fcn.0052b35a
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x128]
mov ecx, esi
push eax
call fcn.005ad1f2
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.0051f634
lea ecx, [ebp - 0x6c]
call fcn.006c2344
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 5
call fcn.006c2344
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x174]
call fcn.005ad02d
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 6
push eax
mov dword [ebp - 0xcc], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
push 0x30
call fcn.006484ac
mov dword [ebp - 0x110], eax
sub esp, 0x60
mov ebx, esp
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x114], esp
mov dword [ecx], edi
sub esp, 0x20
mov byte [ebp - 4], 8
mov ecx, esp
push ecx
push 0x59fd10
call fcn.005cffb9
mov eax, dword [ebp - 0x118]
sub esp, 0x20
mov edi, esp
add eax, 0x14
mov dword [ebp - 0x114], eax
push ecx
sub esp, 0xc
mov esi, esp
push ecx
push ecx
mov ecx, esp
push eax
call fcn.0052b222
mov edx, fcn.0062b6ec
mov ecx, esi
call fcn.005d9c75
pop ecx
pop ecx
mov ecx, edi
call fcn.005d9cda
mov ecx, ebx
mov byte [ebp - 4], 7
call fcn.005c8b25
lea ecx, [ebp - 0x14c]
call fcn.005cfee0
sub esp, 0x14
mov byte [ebp - 4], 9
movsd xmm0, qword [0x78d608]
mov ecx, esp
mov dword [ebp - 0x108], esp
mov dword [ebp - 0x10c], 1
movsd qword [esp + 0xc], xmm0
xorps xmm0, xmm0
movsd qword [esp + 4], xmm0
push 0x741504
call fcn.00515719
push 0x683
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 4], 0xa
call fcn.006c22f9
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x10c], 3
lea ecx, [ebp - 0x14c]
mov dword [ebp - 4], 0xc
push ecx
mov ecx, dword [ebp - 0x110]
push eax
lea eax, [ebp - 0x174]
push eax
call fcn.005da637
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], 0xe
call fcn.005c9316
push eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], 0xf
mov ecx, dword [eax + 8]
call fcn.0052ee28
mov dword [ebp - 4], 0x10
mov ecx, dword [ebp - 0x11c]
test ecx, ecx
je 0x5d6473
call fcn.0051578b
lea ecx, [ebp - 0x1a4]
call fcn.006c2344
lea ecx, [ebp - 0x14c]
mov dword [ebp - 4], 0x11
call fcn.0051f634
mov byte [ebp - 4], 6
lea eax, [ebp - 0x110]
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
push eax
call fcn.005a0a0b
add esp, 0xc
push eax
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0x12
call fcn.006c22ac
push 0x67f
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x13
call fcn.006c22f9
xor esi, esi
mov byte [ebp - 4], 0x14
push esi
push esi
lea ecx, [ebp - 0x15c]
push ecx
push eax
lea ecx, [ebp - 0x8c]
call fcn.00530696
push eax
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x174]
call fcn.005ad24e
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x11c]
test ecx, ecx
je 0x5d6518
call fcn.0051578b
lea ecx, [ebp - 0x8c]
call fcn.00530663
lea ecx, [ebp - 0x1a4]
call fcn.006c2344
lea ecx, [ebp - 0x15c]
call fcn.006c2344
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x110]
lea ecx, [ecx - 0x10]
call fcn.00515ed6
push 0x30
call fcn.006484ac
mov dword [ebp - 0x110], eax
sub esp, 0x60
mov ebx, esp
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x108], esp
mov dword [ecx], esi
sub esp, 0x20
mov byte [ebp - 4], 0x18
mov ecx, esp
push ecx
push ecx
call fcn.005d9d7b
sub esp, 0x20
mov edi, esp
sub esp, 0x10
mov esi, esp
push ecx
push ecx
mov ecx, esp
push dword [ebp - 0x114]
call fcn.0052b222
mov edx, fcn.0062b755
mov ecx, esi
call fcn.005d9c75
pop ecx
pop ecx
mov ecx, edi
call fcn.005d9cda
mov ecx, ebx
mov byte [ebp - 4], 0x17
call fcn.005c8b25
lea ecx, [ebp - 0x14c]
call fcn.005cfee0
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0x10c], 4
call fcn.006c5bd0
sub esp, 0x14
mov ecx, esp
mov dword [ebp - 0x108], esp
movsd qword [esp + 0xc], xmm0
xorps xmm0, xmm0
movsd qword [esp + 4], xmm0
push 0x741504
call fcn.00515719
push 0x67e
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 4], 0x1a
call fcn.006c22f9
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x10c], 0xc
lea ecx, [ebp - 0x14c]
mov dword [ebp - 4], 0x1c
push ecx
mov ecx, dword [ebp - 0x110]
push eax
lea eax, [ebp - 0x174]
push eax
call fcn.005da637
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], 0x1e
call fcn.005c9316
push eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], 0x1f
mov ecx, dword [eax + 8]
call fcn.0052ee28
mov dword [ebp - 4], 0x20
mov ecx, dword [ebp - 0x11c]
test ecx, ecx
je 0x5d6686
call fcn.0051578b
lea ecx, [ebp - 0x1a4]
call fcn.006c2344
lea ecx, [ebp - 0x14c]
mov dword [ebp - 4], 0x21
call fcn.0051f634
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 6
push eax
mov dword [ebp - 0x54], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
push dword [ebp - 0x38]
lea eax, [ebp - 0x110]
push dword [ebp - 0x3c]
push eax
call fcn.005a0a0b
add esp, 0xc
push eax
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0x22
call fcn.006c22ac
push 0x682
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x23
call fcn.006c22f9
xor esi, esi
mov byte [ebp - 4], 0x24
push esi
push esi
lea ecx, [ebp - 0x15c]
push ecx
push eax
lea ecx, [ebp - 0x104]
call fcn.00530696
push eax
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 0x25
push eax
lea ecx, [ebp - 0x174]
call fcn.005ad24e
mov byte [ebp - 4], 0x26
mov ecx, dword [ebp - 0x11c]
test ecx, ecx
je 0x5d6736
call fcn.0051578b
lea ecx, [ebp - 0x104]
call fcn.00530663
lea ecx, [ebp - 0x1a4]
call fcn.006c2344
lea ecx, [ebp - 0x15c]
call fcn.006c2344
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x110]
lea ecx, [ecx - 0x10]
call fcn.00515ed6
push 0x30
call fcn.006484ac
mov dword [ebp - 0x110], eax
sub esp, 0x60
mov ebx, esp
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x108], esp
mov dword [ecx], esi
sub esp, 0x20
mov byte [ebp - 4], 0x28
mov ecx, esp
push ecx
push ecx
call fcn.005d9d7b
sub esp, 0x20
mov edi, esp
sub esp, 0x10
mov esi, esp
push ecx
push ecx
mov ecx, esp
push dword [ebp - 0x114]
call fcn.0052b222
mov edx, fcn.0062b720
mov ecx, esi
call fcn.005d9c75
pop ecx
pop ecx
mov ecx, edi
call fcn.005d9cda
mov ecx, ebx
mov byte [ebp - 4], 0x27
call fcn.005c8b25
lea ecx, [ebp - 0x14c]
call fcn.005cfee0
mov byte [ebp - 4], 0x29
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x10c], 0x10
call fcn.006c5bd0
sub esp, 0x14
mov ecx, esp
mov dword [ebp - 0x108], esp
movsd qword [esp + 0xc], xmm0
xorps xmm0, xmm0
movsd qword [esp + 4], xmm0
push 0x741504
call fcn.00515719
push 0x681
lea ecx, [ebp - 0xbc]
mov dword [ebp - 4], 0x2a
call fcn.006c22f9
push 0x30
pop ebx
mov byte [ebp - 4], 0x2b
mov dword [ebp - 0x10c], ebx
lea ecx, [ebp - 0x14c]
mov dword [ebp - 4], 0x2c
push ecx
mov ecx, dword [ebp - 0x110]
push eax
lea eax, [ebp - 0x174]
push eax
call fcn.005da637
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], 0x2e
call fcn.005c9316
push eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], 0x2f
mov ecx, dword [eax + 8]
call fcn.0052ee28
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x11c]
test ecx, ecx
je 0x5d6899
call fcn.0051578b
lea ecx, [ebp - 0xbc]
call fcn.006c2344
lea ecx, [ebp - 0x14c]
mov dword [ebp - 4], 0x31
call fcn.0051f634
lea ecx, [ebp - 0x174]
call fcn.005ad08b
mov dword [ebp - 4], 0x32
mov ecx, dword [ebp - 0x124]
test ecx, ecx
je 0x5d68d7
call fcn.0051578b
call fcn.00648afa
ret 4