Function at 0x4396c0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3593
mov eax, dword fs:[0]
push eax
mov eax, 0x24e8
call fcn.004b6c70
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
lea ecx, [ebp - 0x2328]
push ecx
mov ecx, edi
call dword [eax + 0x68]
push str..last
lea edx, [ebp - 0x2328]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2340]
call fcn.00406890
mov esi, eax
add esp, 4
lea eax, [ebp - 0x2328]
cmp eax, esi
je 0x43976d
cmp dword [ebp - 0x2314], 8
jb 0x439744
push dword [ebp - 0x2328]
call fcn.00494c0b
add esp, 4
xor eax, eax
mov dword [ebp - 0x2314], 7
push esi
lea ecx, [ebp - 0x2328]
mov dword [ebp - 0x2318], 0
mov word [ebp - 0x2328], ax
call fcn.00402370
cmp dword [ebp - 0x232c], 8
jb 0x439784
push dword [ebp - 0x2340]
call fcn.00494c0b
add esp, 4
xorps xmm0, xmm0
mov dword [ebp - 0x2308], 0
movq qword [ebp - 0x2310], xmm0
mov dword [ebp - 0x2310], 0
mov dword [ebp - 0x230c], 0
mov dword [ebp - 0x2308], 0
mov byte [ebp - 4], 1
cmp dword [edi + 0x218], 0
jne 0x439b08
push 0xb8
lea eax, [ebp - 0x2418]
push 0
push eax
call fcn.0049aba0
add esp, 8
lea ecx, [ebp - 0x2418]
call fcn.00447fe0
sub esp, 8
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2328]
lea ecx, [ebp - 0x2418]
push eax
call fcn.004480b0
sub esp, 0xc
lea ecx, [ebp - 0x2418]
call fcn.004463c0
lea eax, [ebp - 0x2340]
push eax
lea ecx, [ebp - 0x2418]
call fcn.004464c0
mov byte [ebp - 0x24c1], 0
mov ecx, dword [eax + 8]
add ecx, dword [eax]
mov edx, dword [eax + 0xc]
adc edx, dword [eax + 4]
js 0x439852
jg 0x439840
cmp ecx, 0x168
jbe 0x439852
add ecx, 0xfffffe98
mov byte [ebp - 0x24c1], 1
adc edx, 0xffffffff
jmp 0x439869
xorps xmm0, xmm0
movlpd qword [ebp - 0x24d8], xmm0
mov edx, dword [ebp - 0x24d4]
mov ecx, dword [ebp - 0x24d8]
sub esp, 0x18
mov eax, esp
mov dword [eax], ecx
lea ecx, [ebp - 0x2418]
mov dword [eax + 4], edx
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
call fcn.004462b0
mov esi, 7
mov dword [ebp - 0x2350], 0
xor eax, eax
mov dword [ebp - 0x234c], esi
mov word [ebp - 0x2360], ax
mov byte [ebp - 4], 3
cmp byte [ebp - 0x24c1], al
je 0x4398d4
lea edx, [ebp - 0x2360]
lea ecx, [ebp - 0x2418]
call fcn.0044ac20
mov esi, dword [ebp - 0x234c]
xor eax, eax
push 0x2e2
push eax
mov word [ebp - 0x2f8], ax
lea eax, [ebp - 0x2f6]
push eax
call fcn.0049aba0
add esp, 4
lea eax, [ebp - 0x2f8]
lea ecx, [ebp - 0x2418]
push eax
call fcn.00446180
mov eax, dword [ebp - 0x2410]
lea ecx, [ebp - 0x2340]
mov dword [ebp - 0x24c8], eax
mov eax, dword [ebp - 0x240c]
push 0x4e4dc8
mov dword [ebp - 0x24d0], eax
call fcn.00405d20
lea eax, [ebp - 0x2f8]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x24f0]
call fcn.00405d20
lea eax, [ebp - 0x2340]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x24f0]
lea ecx, [ebp - 0x2304]
call fcn.00451790
add esp, 4
push eax
lea ecx, [ebp - 0x2310]
mov byte [ebp - 4], 6
call fcn.00446a20
mov ecx, dword [ebp - 0x2304]
test ecx, ecx
je 0x4399b9
push dword [ebp - 0x24d4]
mov edx, dword [ebp - 0x2300]
push ecx
call fcn.004070c0
push dword [ebp - 0x2304]
call fcn.00494c0b
add esp, 0xc
mov dword [ebp - 0x2304], 0
mov dword [ebp - 0x2300], 0
mov dword [ebp - 0x22fc], 0
cmp dword [ebp - 0x24dc], 8
jb 0x4399d0
push dword [ebp - 0x24f0]
call fcn.00494c0b
add esp, 4
xor eax, eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x232c], 8
mov dword [ebp - 0x24dc], 7
mov dword [ebp - 0x24e0], 0
mov word [ebp - 0x24f0], ax
jb 0x439a08
push dword [ebp - 0x2340]
call fcn.00494c0b
add esp, 4
lea ecx, [ebp - 0x2408]
call fcn.00448b20
test eax, eax
jne 0x439a3f
mov eax, dword [ebp - 0x2418]
lea ecx, [ebp - 0x2418]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x439a37
or eax, 4
push 0
push eax
call fcn.00408330
cmp byte [ebp - 0x24c1], 0
je 0x439ae6
push 0xa8
lea eax, [ebp - 0x24c0]
push 0
push eax
call fcn.0049aba0
add esp, 8
lea ecx, [ebp - 0x24c0]
call fcn.00447440
sub esp, 8
mov byte [ebp - 4], 7
lea eax, [ebp - 0x2328]
lea ecx, [ebp - 0x24c0]
push eax
call fcn.00447500
push dword [ebp - 0x24d0]
lea eax, [ebp - 0x2f8]
push dword [ebp - 0x24c8]
lea ecx, [ebp - 0x24c0]
push eax
call fcn.00447590
lea ecx, [ebp - 0x24bc]
call fcn.00448b20
test eax, eax
jne 0x439adb
mov eax, dword [ebp - 0x24c0]
lea ecx, [ebp - 0x24c0]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x439ad3
or eax, 4
push 0
push eax
call fcn.00408330
lea ecx, [ebp - 0x24c0]
call fcn.004360e0
cmp esi, 8
jb 0x439af9
push dword [ebp - 0x2360]
call fcn.00494c0b
add esp, 4
lea ecx, [ebp - 0x2418]
mov byte [ebp - 4], 1
call fcn.00439e20
xorps xmm0, xmm0
lea eax, [ebp - 0x2348]
movdqu xmmword [ebp - 0x2348], xmm0
push eax
movdqu xmmword [ebp - 0x2338], xmm0
mov dword [ebp - 0x2348], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x233c]
mov ecx, 1
shr eax, 0x14
sar eax, 9
test eax, eax
cmove eax, ecx
mov ecx, dword [ebp - 0x230c]
sub ecx, dword [ebp - 0x2310]
xor esi, esi
mov dword [ebp - 0x24d0], eax
mov eax, 0x2aaaaaab
imul ecx
mov dword [ebp - 0x24c8], esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x24cc], eax
jne 0x439b87
cmp dword [edi + 0x218], esi
jne 0x439d98
mov ecx, dword [0x519de8]
test eax, eax
push 1
mov eax, dword [ecx]
mov eax, dword [eax]
je 0x439cfb
call eax
test al, al
je 0x439bd8
push str.warm_apps_which_run_latest
lea eax, [ebp - 0x22f8]
push 0x1000
push eax
call fcn.0040b1a0
mov ecx, dword [0x519de8]
lea edx, [ebp - 0x22f8]
add esp, 0xc
mov eax, dword [ecx]
push 0xd91
push str.AppManager.cpp
push edx
push 1
call dword [eax + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x22fc], esi
xor ecx, ecx
movq qword [ebp - 0x2304], xmm0
mov dword [ebp - 0x2304], esi
mov dword [ebp - 0x2300], ecx
mov dword [ebp - 0x22fc], ecx
mov eax, dword [ebp - 0x24cc]
mov byte [ebp - 4], 8
test eax, eax
je 0x439d98
mov edx, dword [ebp - 0x2310]
lea esi, [eax - 1]
lea esi, [esi + esi*2]
xor eax, eax
lea esi, [edx + esi*8]
mov edx, dword [ebp - 0x24cc]
jmp 0x439c30
cmp eax, dword [ebp - 0x24d0]
jge 0x439ccf
cmp dword [esi + 0x10], 0
je 0x439cbd
mov byte [ebp - 0x24d4], 0
mov edx, ecx
push dword [ebp - 0x24d4]
mov ecx, dword [ebp - 0x2304]
push esi
call fcn.0044dbb0
mov ecx, dword [ebp - 0x2300]
add esp, 8
cmp eax, ecx
jne 0x439cb1
push esi
lea ecx, [ebp - 0x2304]
call fcn.00446a90
cmp dword [esi + 0x14], 8
jb 0x439c80
mov ecx, dword [esi]
jmp 0x439c82
mov ecx, esi
mov eax, dword [edi]
push 1
push ecx
mov ecx, edi
mov eax, dword [eax + 0xb8]
call eax
mov ecx, dword [ebp - 0x2300]
cmp eax, 2
mov edx, dword [ebp - 0x24cc]
mov eax, dword [ebp - 0x24c8]
jne 0x439cbd
inc eax
mov dword [ebp - 0x24c8], eax
jmp 0x439cbd
mov eax, dword [ebp - 0x24c8]
mov edx, dword [ebp - 0x24cc]
dec edx
sub esi, 0x18
mov dword [ebp - 0x24cc], edx
test edx, edx
jne 0x439c30
mov esi, dword [ebp - 0x2304]
test esi, esi
je 0x439d98
push dword [ebp - 0x24d4]
mov edx, ecx
push ecx
mov ecx, esi
call fcn.004070c0
push esi
call fcn.00494c0b
add esp, 0xc
jmp 0x439d98
call eax
test al, al
je 0x439d38
push str.warm_apps_which_is_installed
lea eax, [ebp - 0x22f8]
push 0x1000
push eax
call fcn.0040b1a0
mov ecx, dword [0x519de8]
lea edx, [ebp - 0x22f8]
add esp, 0xc
mov eax, dword [ecx]
push 0xda3
push str.AppManager.cpp
push edx
push 1
call dword [eax + 4]
mov eax, dword [edi + 0x24]
xor ecx, ecx
sub eax, dword [edi + 0x20]
sar eax, 3
mov dword [ebp - 0x24c8], ecx
test eax, eax
je 0x439d98
lea ecx, [ecx]
cmp esi, dword [ebp - 0x24d0]
jge 0x439d98
mov eax, dword [edi + 0x20]
mov ecx, dword [eax + ecx*8]
add ecx, 0x3c
cmp dword [ecx + 0x14], 8
jb 0x439d69
mov ecx, dword [ecx]
mov eax, dword [edi]
push 1
push ecx
mov ecx, edi
mov eax, dword [eax + 0xb8]
call eax
cmp eax, 2
jne 0x439d7e
inc esi
mov eax, dword [edi + 0x24]
mov ecx, dword [ebp - 0x24c8]
sub eax, dword [edi + 0x20]
inc ecx
sar eax, 3
mov dword [ebp - 0x24c8], ecx
cmp ecx, eax
jb 0x439d50
mov edi, dword [ebp - 0x2310]
test edi, edi
je 0x439de9
mov eax, dword [ebp - 0x230c]
mov esi, edi
cmp edi, eax
je 0x439de0
mov edi, edi
cmp dword [esi + 0x14], 8
jb 0x439dc6
push dword [esi]
call fcn.00494c0b
mov eax, dword [ebp - 0x230c]
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
add esi, 0x18
cmp esi, eax
jne 0x439db0
push edi
call fcn.00494c0b
add esp, 4
cmp dword [ebp - 0x2314], 8
jb 0x439e00
push dword [ebp - 0x2328]
call fcn.00494c0b
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret