Function at 0x1007cb50
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015a3dd
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x101c6474]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x101d2908]
test eax, eax
je 0x1007cbdc
push 0x17
push str.Overlay.ShowCoordinates
push eax
call fcn.10038a60
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1007cbd7
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x10]
call edx
movzx ecx, al
sub ecx, 4
je 0x1007cbbd
sub ecx, 1
je 0x1007cbd7
sub ecx, 1
jne 0x1007cbd7
mov cl, byte [esi + 0x1c]
mov eax, dword [0x101d2908]
jmp 0x1007cbde
mov eax, dword [esi + 0x20]
or eax, dword [esi + 0x24]
je 0x1007cbce
mov eax, dword [0x101d2908]
mov cl, 1
jmp 0x1007cbde
mov eax, dword [0x101d2908]
xor cl, cl
jmp 0x1007cbde
mov eax, dword [0x101d2908]
xor cl, cl
mov byte [0x101d16f8], cl
test eax, eax
je 0x1007cc42
push 0x14
push str.Overlay.ShowCPUUsage
push eax
call fcn.10038a60
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1007cc3d
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x10]
call edx
movzx ecx, al
sub ecx, 4
je 0x1007cc23
sub ecx, 1
je 0x1007cc3d
sub ecx, 1
jne 0x1007cc3d
mov cl, byte [esi + 0x1c]
mov eax, dword [0x101d2908]
jmp 0x1007cc44
mov eax, dword [esi + 0x20]
or eax, dword [esi + 0x24]
je 0x1007cc34
mov eax, dword [0x101d2908]
mov cl, 1
jmp 0x1007cc44
mov eax, dword [0x101d2908]
xor cl, cl
jmp 0x1007cc44
mov eax, dword [0x101d2908]
xor cl, cl
mov byte [0x101d16f9], cl
test eax, eax
je 0x1007cca8
push 0xf
push str.Overlay.ShowFPS
push eax
call fcn.10038a60
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1007cca3
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x10]
call edx
movzx ecx, al
sub ecx, 4
je 0x1007cc89
sub ecx, 1
je 0x1007cca3
sub ecx, 1
jne 0x1007cca3
mov cl, byte [esi + 0x1c]
mov eax, dword [0x101d2908]
jmp 0x1007ccaa
mov eax, dword [esi + 0x20]
or eax, dword [esi + 0x24]
je 0x1007cc9a
mov eax, dword [0x101d2908]
mov cl, 1
jmp 0x1007ccaa
mov eax, dword [0x101d2908]
xor cl, cl
jmp 0x1007ccaa
mov eax, dword [0x101d2908]
xor cl, cl
mov byte [0x101d16fa], cl
test eax, eax
je 0x1007cd0e
push 0x18
push str.Overlay.ShowLocationName
push eax
call fcn.10038a60
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1007cd09
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x10]
call edx
movzx ecx, al
sub ecx, 4
je 0x1007ccef
sub ecx, 1
je 0x1007cd09
sub ecx, 1
jne 0x1007cd09
mov cl, byte [esi + 0x1c]
mov eax, dword [0x101d2908]
jmp 0x1007cd10
mov eax, dword [esi + 0x20]
or eax, dword [esi + 0x24]
je 0x1007cd00
mov eax, dword [0x101d2908]
mov cl, 1
jmp 0x1007cd10
mov eax, dword [0x101d2908]
xor cl, cl
jmp 0x1007cd10
mov eax, dword [0x101d2908]
xor cl, cl
mov byte [0x101d16fb], cl
test eax, eax
je 0x1007cd74
push 0x15
push str.Overlay.ShowModelInfo
push eax
call fcn.10038a60
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1007cd6f
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x10]
call edx
movzx ecx, al
sub ecx, 4
je 0x1007cd55
sub ecx, 1
je 0x1007cd6f
sub ecx, 1
jne 0x1007cd6f
mov cl, byte [esi + 0x1c]
mov eax, dword [0x101d2908]
jmp 0x1007cd76
mov eax, dword [esi + 0x20]
or eax, dword [esi + 0x24]
je 0x1007cd66
mov eax, dword [0x101d2908]
mov cl, 1
jmp 0x1007cd76
mov eax, dword [0x101d2908]
xor cl, cl
jmp 0x1007cd76
mov eax, dword [0x101d2908]
xor cl, cl
mov byte [0x101d2be8], cl
test eax, eax
je 0x1007cdda
push 0x14
push str.Overlay.ShowPlaytime
push eax
call fcn.10038a60
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1007cdd5
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x10]
call edx
movzx ecx, al
sub ecx, 4
je 0x1007cdbb
sub ecx, 1
je 0x1007cdd5
sub ecx, 1
jne 0x1007cdd5
mov cl, byte [esi + 0x1c]
mov eax, dword [0x101d2908]
jmp 0x1007cddc
mov eax, dword [esi + 0x20]
or eax, dword [esi + 0x24]
je 0x1007cdcc
mov eax, dword [0x101d2908]
mov cl, 1
jmp 0x1007cddc
mov eax, dword [0x101d2908]
xor cl, cl
jmp 0x1007cddc
mov eax, dword [0x101d2908]
xor cl, cl
mov byte [0x101d16fd], cl
test eax, eax
je 0x1007ce40
push 0x14
push str.Overlay.ShowPedTasks
push eax
call fcn.10038a60
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1007ce3b
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x10]
call edx
movzx ecx, al
sub ecx, 4
je 0x1007ce21
sub ecx, 1
je 0x1007ce3b
sub ecx, 1
jne 0x1007ce3b
mov cl, byte [esi + 0x1c]
mov eax, dword [0x101d2908]
jmp 0x1007ce42
mov eax, dword [esi + 0x20]
or eax, dword [esi + 0x24]
je 0x1007ce32
mov eax, dword [0x101d2908]
mov cl, 1
jmp 0x1007ce42
mov eax, dword [0x101d2908]
xor cl, cl
jmp 0x1007ce42
mov eax, dword [0x101d2908]
xor cl, cl
mov byte [0x101d16fe], cl
test eax, eax
je 0x1007cea6
push 0x13
push str.Overlay.Transparent
push eax
call fcn.10038a60
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1007cea1
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x10]
call edx
movzx ecx, al
sub ecx, 4
je 0x1007ce87
sub ecx, 1
je 0x1007cea1
sub ecx, 1
jne 0x1007cea1
mov cl, byte [esi + 0x1c]
mov eax, dword [0x101d2908]
jmp 0x1007cea8
mov eax, dword [esi + 0x20]
or eax, dword [esi + 0x24]
je 0x1007ce98
mov eax, dword [0x101d2908]
mov cl, 1
jmp 0x1007cea8
mov eax, dword [0x101d2908]
xor cl, cl
jmp 0x1007cea8
mov eax, dword [0x101d2908]
xor cl, cl
mov byte [0x101d16ff], cl
test eax, eax
je 0x1007cf0c
push 0x17
push str.Overlay.ShowMemoryUsage
push eax
call fcn.10038a60
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1007cf07
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x10]
call edx
movzx ecx, al
sub ecx, 4
je 0x1007ceed
sub ecx, 1
je 0x1007cf07
sub ecx, 1
jne 0x1007cf07
mov cl, byte [esi + 0x1c]
mov eax, dword [0x101d2908]
jmp 0x1007cf0e
mov eax, dword [esi + 0x20]
or eax, dword [esi + 0x24]
je 0x1007cefe
mov eax, dword [0x101d2908]
mov cl, 1
jmp 0x1007cf0e
mov eax, dword [0x101d2908]
xor cl, cl
jmp 0x1007cf0e
mov eax, dword [0x101d2908]
xor cl, cl
mov byte [0x101d16fc], cl
test eax, eax
je 0x1007cf72
push 0x19
push str.Overlay.ShowVehicleHealth
push eax
call fcn.10038a60
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1007cf6d
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x10]
call edx
movzx ecx, al
sub ecx, 4
je 0x1007cf53
sub ecx, 1
je 0x1007cf6d
sub ecx, 1
jne 0x1007cf6d
mov cl, byte [esi + 0x1c]
mov eax, dword [0x101d2908]
jmp 0x1007cf74
mov eax, dword [esi + 0x20]
or eax, dword [esi + 0x24]
je 0x1007cf64
mov eax, dword [0x101d2908]
mov cl, 1
jmp 0x1007cf74
mov eax, dword [0x101d2908]
xor cl, cl
jmp 0x1007cf74
mov eax, dword [0x101d2908]
xor cl, cl
mov byte [0x101d1700], cl
test eax, eax
je 0x1007cfc0
push 0x18
push str.Overlay.ShowVehicleSpeed
push eax
call fcn.10038a60
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1007cfc0
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x10]
call edx
movzx ecx, al
sub ecx, 4
je 0x1007cfb4
sub ecx, 1
je 0x1007cfc0
sub ecx, 1
jne 0x1007cfc0
mov al, byte [esi + 0x1c]
jmp 0x1007cfc2
mov eax, dword [esi + 0x20]
or eax, dword [esi + 0x24]
je 0x1007cfc0
mov al, 1
jmp 0x1007cfc2
xor al, al
mov byte [0x101d1701], al
mov ecx, 0x101d2908
push 0
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 0xffffffff
push eax
push str.Overlay.SelectedPosition
mov dword [ebp - 0x7c], 4
call fcn.10077b40
mov dword [0x101c3064], eax
mov ecx, 0x101d2908
push 0
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0
push eax
push str.Overlay.PosX
call fcn.10077b40
push 0
mov ecx, 0x101d2908
mov dword [ebp - 0x7c], 0
movd xmm0, eax
lea eax, [ebp - 0x7c]
cvtdq2ps xmm0, xmm0
push eax
push str.Overlay.PosY
movss dword [0x101d2bd8], xmm0
call fcn.10077b40
push 0
mov ecx, 0x101d2908
mov dword [ebp - 0x7c], 0x3f800000
movd xmm0, eax
lea eax, [ebp - 0x7c]
cvtdq2ps xmm0, xmm0
push eax
push str.Overlay.TextColor.Red
movss dword [0x101d2bdc], xmm0
call fcn.1001a6b0
push 0
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0x3f800000
push eax
fstp dword [0x101c3054]
push str.Overlay.TextColor.Green
mov ecx, 0x101d2908
call fcn.1001a6b0
push 0
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0x3f800000
push eax
fstp dword [0x101c3058]
push str.Overlay.TextColor.Blue
mov ecx, 0x101d2908
call fcn.1001a6b0
push 0
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0x3f800000
push eax
fstp dword [0x101c305c]
push str.Overlay.TextColor.Alpha
mov ecx, 0x101d2908
call fcn.1001a6b0
fstp dword [0x101c3060]
call fcn.10084cd0
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x70]
call fcn.101287a0
mulsd xmm0, qword [0x101880e8]
push 1
push 4
push 0x474bba
cvttsd2si eax, xmm0
mov dword [0x101d2be0], eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
call fcn.10018c40
add esp, 0xc
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], vtable.std::_Func_impl_no_alloc_class__public:_static_void___cdecl_Overlay::Init_void_::_2::_lambda_1___void__class_CEntity__.0
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], 0xb
call fcn.1007ca60
push 0
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [eax + 4]
push ecx
mov ecx, eax
call fcn.1007c6d0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1007d167
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10128533
mov esp, ebp
pop ebp
ret